[Intel-wired-lan] [net-next, v2 0/2] ice: Accumulate statistics over reset
Benjamin Mikailenko
benjamin.mikailenko at intel.com
Mon Oct 10 19:22:21 UTC 2022
Resets happen with or without user interaction. For example, incidents
such as TX hang or a reconfiguration of parameters will result in a reset.
During reset, hardware and software statistics were set to zero. This
created an issue for the user where a reset happens in the background,
statistics set to zero, and the user checks statistics expecting them to
be populated.
Accumulate statistics over reset so the above doesn't happen.
Change is divided in two patches:
1. Accumulate HW and netdev statistics over reset
2. Accumulate ring statistics over reset
Benjamin Mikailenko (2):
ice: Accumulate HW and Netdev statistics over reset
ice: Accumulate ring statistics over reset
drivers/net/ethernet/intel/ice/ice.h | 7 +
drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 3 +
drivers/net/ethernet/intel/ice/ice_ethtool.c | 12 +-
drivers/net/ethernet/intel/ice/ice_lib.c | 263 +++++++++++++++++-
drivers/net/ethernet/intel/ice/ice_main.c | 78 ++++--
drivers/net/ethernet/intel/ice/ice_repr.c | 10 +-
drivers/net/ethernet/intel/ice/ice_txrx.c | 40 ++-
drivers/net/ethernet/intel/ice/ice_txrx.h | 18 +-
drivers/net/ethernet/intel/ice/ice_txrx_lib.c | 2 +-
drivers/net/ethernet/intel/ice/ice_xsk.c | 25 +-
10 files changed, 396 insertions(+), 62 deletions(-)
--
2.34.3
More information about the Intel-wired-lan
mailing list