Re: [net PATCH v3] octeontx2-pf: consider both Rx and Tx packet stats for adaptive interrupt coalescing

From: Wojciech Drewek
Date: Fri Dec 01 2023 - 05:45:01 EST




On 01.12.2023 06:33, Suman Ghosh wrote:
> From: Naveen Mamindlapalli <naveenm@xxxxxxxxxxx>
>
> The current adaptive interrupt coalescing code updates only rx
> packet stats for dim algorithm. This patch also updates tx packet
> stats which will be useful when there is only tx traffic.
> Also moved configuring hardware adaptive interrupt setting to
> driver dim callback.
>
> Fixes: 6e144b47f560 ("octeontx2-pf: Add support for adaptive interrupt coalescing")
> Signed-off-by: Naveen Mamindlapalli <naveenm@xxxxxxxxxxx>
> Signed-off-by: Suman Ghosh <sumang@xxxxxxxxxxx>
> ---

Reviewed-by: Wojciech Drewek <wojciech.drewek@xxxxxxxxx>

> v3 changes:
> - Updated signed-off-by signature.
>
> v2 changes:
> - Missed adding the fixes tag in v1. Added the same in v2.
>
> .../ethernet/marvell/octeontx2/nic/otx2_pf.c | 9 +++++++++
> .../marvell/octeontx2/nic/otx2_txrx.c | 20 +++++++++----------
> 2 files changed, 19 insertions(+), 10 deletions(-)
>