diff options
author | Jedrzej Jagielski <jedrzej.jagielski@intel.com> | 2021-09-15 09:01:00 +0000 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-11-19 09:26:41 -0800 |
commit | 3b5bdd18eb76e7570d9bacbcab6828a9b26ae121 (patch) | |
tree | 83e2b8bd772c8ddd633c8baa69c00fd65ce88d08 /net/unix/af_unix.c | |
parent | 0cc318d2e8408bc0ffb4662a0c3e5e57005ac6ff (diff) |
iavf: Fix refreshing iavf adapter stats on ethtool request
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.
Fixes: b476b0030e61 ("iavf: Move commands processing to the separate function")
Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions