[Intel-wired-lan] [PATCH net v2] iavf: Fix refreshing iavf adapter stats on ethtool request
Nguyen, Anthony L
anthony.l.nguyen at intel.com
Thu Sep 9 20:44:11 UTC 2021
On Tue, 2021-09-07 at 12:53 +0000, Jedrzej Jagielski wrote:
> Currently iavf adapter statistics are refreshed only in a
> watchdog task, triggered approximately every two seconds,
> which causes some ethtool requests to return outdated values.
> Add explicit statistics refresh when requested by ethtool -S.
I responded to the v1 on accident, please see the comments on that one.
> Fixes: b476b0030e61 ("iavf: Move commands processing to the separate
> Signed-off-by: Jan Sokolowski <jan.sokolowski at intel.com>
> Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski at intel.com>
As was mentioned by Paul on a previous patch, please include a
> drivers/net/ethernet/intel/iavf/iavf.h | 2 ++
> drivers/net/ethernet/intel/iavf/iavf_ethtool.c | 3 +++
> drivers/net/ethernet/intel/iavf/iavf_main.c | 18
> 3 files changed, 23 insertions(+)
More information about the Intel-wired-lan