mirror_ubuntu-kernels/drivers/net/ethernet/intel
Benjamin Mikailenko 2fd5e433cd ice: Accumulate HW and Netdev statistics over reset
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.

To ensure this doesn't happen, keep accumulating stats over reset.

1. Remove function calls which reset hardware and netdev statistics.
2. Do not rollover statistics in ice_stat_update40 during reset.

Signed-off-by: Benjamin Mikailenko <benjamin.mikailenko@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2022-11-23 08:59:43 -08:00
..
e1000 e1000: Remove unnecessary use of kmap_atomic() 2022-11-02 11:09:13 -07:00
e1000e e1000e: Remove unnecessary use of kmap_atomic() 2022-11-02 11:09:13 -07:00
fm10k net: Remove the obsolte u64_stats_fetch_*_irq() users (drivers). 2022-10-28 20:13:54 -07:00
i40e i40e: Add appropriate error message logged for incorrect duplex setting 2022-11-02 09:26:18 -07:00
iavf Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-11-10 17:43:53 -08:00
ice ice: Accumulate HW and Netdev statistics over reset 2022-11-23 08:59:43 -08:00
igb igb: Proactively round up to kmalloc bucket size 2022-11-04 11:09:57 -07:00
igbvf net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
igc igc: Correct the launchtime offset 2022-11-02 11:38:22 -07:00
ixgb net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
ixgbe ixgbe: Remove unneeded semicolon 2022-11-04 11:09:57 -07:00
ixgbevf ixgbevf: Add error messages on vlan error 2022-11-04 11:09:57 -07:00
e100.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
Kconfig ice: support crosstimestamping on E822 devices if supported 2021-12-21 09:11:40 -08:00
Makefile