diff options
| author | David Thompson <[email protected]> | 2024-03-05 21:21:37 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-03-07 04:39:58 +0000 |
| commit | c2234161985212d28711c1030337515d3852db80 (patch) | |
| tree | 8f6f599fcc3f633babddbcd8ef3f7c5c08c55319 /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | net: phy: qca807x: fix compilation when CONFIG_GPIOLIB is not set (diff) | |
| download | kernel-c2234161985212d28711c1030337515d3852db80.tar.gz kernel-c2234161985212d28711c1030337515d3852db80.zip | |
mlxbf_gige: add support to display pause frame counters
This patch updates the mlxbf_gige driver to support the
"get_pause_stats()" callback, which enables display of
pause frame counters via "ethtool -I -a oob_net0".
The pause frame counters are only enabled if the "counters_en"
bit is asserted in the LLU general config register. The driver
will only report stats, and thus overwrite the default stats
state of ETHTOOL_STAT_NOT_SET, if "counters_en" is asserted.
Reviewed-by: Asmaa Mnebhi <[email protected]>
Signed-off-by: David Thompson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions
