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-10-28 11:00:20 -07:00
2021-10-15 07:39:03 -07:00
2021-06-07 08:59:01 -07:00
2021-11-03 08:16:08 -07:00
2021-10-15 07:39:02 -07:00
2021-10-22 11:41:16 +01:00
2021-10-14 07:37:30 -07:00
2021-06-11 07:38:00 -07:00
2021-06-11 07:38:00 -07:00
2021-10-20 15:57:54 -07:00
2021-10-20 15:57:54 -07:00
2021-12-07 13:21:01 -08:00
2021-06-07 08:59:01 -07:00
2021-09-28 09:42:04 -07:00
2021-09-28 09:42:04 -07:00
2021-10-22 11:41:16 +01:00
2021-10-22 14:24:44 +01:00
2021-10-07 10:41:41 -07:00
2021-10-29 10:56:24 -07:00
2021-10-15 07:39:02 -07:00
2021-12-07 13:21:01 -08:00
2021-10-29 11:43:15 -07:00
2021-12-07 13:21:01 -08:00
2021-09-28 09:42:04 -07:00
2021-12-07 13:21:01 -08:00
2021-12-07 13:21:01 -08:00
2021-10-28 11:00:20 -07:00
2021-04-22 09:26:22 -07:00
2021-04-22 09:26:22 -07:00
2021-10-19 10:53:26 -07:00
2021-10-19 10:53:26 -07:00
2021-06-07 08:59:01 -07:00
2020-09-25 17:20:57 -07:00
2021-10-19 10:45:17 -07:00
2021-05-28 20:11:13 -07:00
2021-09-10 09:58:55 +01:00
2021-10-25 13:44:37 -07:00
2021-02-08 16:27:01 -08:00
2021-10-07 10:41:42 -07:00
2021-11-22 08:33:54 -08:00
2021-10-29 10:48:16 -07:00
2021-12-08 10:37:02 -08:00
2021-04-14 17:12:17 -07:00
2021-02-05 11:44:16 -08:00
2021-10-28 11:00:20 -07:00
2021-10-14 07:37:30 -07:00
2021-10-14 07:37:30 -07:00
2021-10-28 10:43:58 -07:00
2021-10-15 07:39:02 -07:00
2021-10-28 11:00:20 -07:00
2021-10-07 10:41:42 -07:00
2021-06-11 07:38:00 -07:00
2021-10-22 11:41:16 +01:00
2021-10-22 11:41:16 +01:00
2021-04-22 09:26:22 -07:00
2021-04-22 09:26:22 -07:00
2021-02-05 11:43:37 -08:00
2021-12-07 13:21:01 -08:00
2021-10-28 11:00:20 -07:00
2021-12-07 13:21:01 -08:00
2021-10-28 11:00:18 -07:00
2021-10-15 07:39:02 -07:00
2021-10-15 07:39:03 -07:00
2021-10-15 07:39:03 -07:00
2021-10-19 10:53:28 -07:00
2021-10-20 15:57:54 -07:00
2021-10-20 15:57:54 -07:00
2021-04-22 09:26:22 -07:00
2021-04-22 09:26:22 -07:00
2021-04-14 17:00:05 -07:00
2021-03-22 11:32:12 -07:00
2021-12-07 13:21:01 -08:00
2021-11-03 08:16:32 -07:00
2021-11-30 12:09:33 +00:00
2021-10-15 07:39:02 -07:00
2021-11-03 08:15:27 -07:00
2021-10-11 09:03:04 -07:00