ACK: [SRU][J:linux-bluefield][PATCH v1 0/1] mlxbf_gige: pause frame counter support

Bartlomiej Zolnierkiewicz bartlomiej.zolnierkiewicz at canonical.com
Thu Feb 29 13:18:36 UTC 2024


Acked-by: Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz at canonical.com>

On Tue, Feb 27, 2024 at 6:12 PM David Thompson <davthompson at nvidia.com> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/2055086
>
> SRU Justification:
>
> [Impact]
>
> The BlueField-2 and BlueField-3 silicon designs include a
> provision for reporting pause frame counters, but the driver
> (mlxbf_gige) does not have software support yet.
>
> [Fix]
>
> The fix is to update the mlxbf_gige driver to support the
> "get_pause_stats()" callback, which enables display of
> pause frame counters via "ethtool -I -a ooob_net0".
> The support of this callback was added to Linux kernel 5.9.0
>
> [Test Case]
>
> * Reboot BF platform, and configure oob_net0 interface
> * Issue command "ethtool -I -a oob_net0" to display pause frame counters
> * Send in multiple streams of traffic to oob_net0 interface, e.g. from
>   two or three simultaneous SCP operations
> * Re-issue "ethtool -I -a oob_net0" and note difference in output
>
> [Regression Potential]
>
> The changed logic extends the ethtool support, so low risk for any problem.
>
> David Thompson (1):
>   UBUNTU: SAUCE: mlxbf_gige: add support to display pause frame counters
>
>  .../mellanox/mlxbf_gige/mlxbf_gige_ethtool.c  | 39 +++++++++++++++++++
>  .../mellanox/mlxbf_gige/mlxbf_gige_regs.h     | 22 +++++++++++
>  2 files changed, 61 insertions(+)
>



More information about the kernel-team mailing list