aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorDavid Thompson <[email protected]>2024-03-05 21:21:37 +0000
committerJakub Kicinski <[email protected]>2024-03-07 04:39:58 +0000
commitc2234161985212d28711c1030337515d3852db80 (patch)
tree8f6f599fcc3f633babddbcd8ef3f7c5c08c55319 /drivers/net/ethernet/intel/ice/ice_lib.c
parentnet: phy: qca807x: fix compilation when CONFIG_GPIOLIB is not set (diff)
downloadkernel-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