Files
linux/drivers/net/ethernet/intel/ice
Jesse Brandeburg 1a0f25a52e ice: safer stats processing
The driver was zeroing live stats that could be fetched by
ndo_get_stats64 at any time. This could result in inconsistent
statistics, and the telltale sign was when reading stats frequently from
/proc/net/dev, the stats would go backwards.

Fix by collecting stats into a local, and delaying when we write to the
structure so it's not incremental.

Fixes: fcea6f3da5 ("ice: Add stats and ethtool support")
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-12-08 10:37:02 -08:00
..
2021-09-28 09:42:04 -07:00
2021-09-28 09:42:04 -07:00
2021-10-22 14:24:44 +01:00
2021-12-07 13:21:01 -08:00
2021-05-28 20:11:13 -07:00
2021-10-07 10:41:42 -07:00
2021-11-22 08:33:54 -08:00
2021-12-08 10:37:02 -08:00
2021-04-14 17:12:17 -07:00
2021-12-07 13:21:01 -08:00
2021-12-07 13:21:01 -08:00
2021-10-28 11:00:18 -07:00
2021-11-03 08:15:27 -07:00