Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [net-next, v2 0/2] ice: Accumulate statistics over reset
@ 2022-10-10 19:22 Benjamin Mikailenko
  2022-10-10 19:22 ` [Intel-wired-lan] [net-next, v2 1/2] ice: Accumulate HW and Netdev " Benjamin Mikailenko
  2022-10-10 19:22 ` [Intel-wired-lan] [net-next, v2 2/2] ice: Accumulate ring " Benjamin Mikailenko
  0 siblings, 2 replies; 7+ messages in thread
From: Benjamin Mikailenko @ 2022-10-10 19:22 UTC (permalink / raw)
  To: intel-wired-lan; +Cc: Benjamin Mikailenko

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

_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-14 22:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-10 19:22 [Intel-wired-lan] [net-next, v2 0/2] ice: Accumulate statistics over reset Benjamin Mikailenko
2022-10-10 19:22 ` [Intel-wired-lan] [net-next, v2 1/2] ice: Accumulate HW and Netdev " Benjamin Mikailenko
2022-10-12 13:37   ` G, GurucharanX
2022-10-10 19:22 ` [Intel-wired-lan] [net-next, v2 2/2] ice: Accumulate ring " Benjamin Mikailenko
2022-10-12 13:38   ` G, GurucharanX
2022-10-14 22:33   ` Jacob Keller
2022-10-14 22:44   ` Jacob Keller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox