diff options
| author | Jedrzej Jagielski <[email protected]> | 2021-09-15 09:01:00 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-11-19 17:26:41 +0000 |
| commit | 3b5bdd18eb76e7570d9bacbcab6828a9b26ae121 (patch) | |
| tree | 83e2b8bd772c8ddd633c8baa69c00fd65ce88d08 /net/unix/af_unix.c | |
| parent | iavf: Fix deadlock occurrence during resetting VF interface (diff) | |
| download | kernel-3b5bdd18eb76e7570d9bacbcab6828a9b26ae121.tar.gz kernel-3b5bdd18eb76e7570d9bacbcab6828a9b26ae121.zip | |
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 <[email protected]>
Signed-off-by: Jedrzej Jagielski <[email protected]>
Tested-by: Konrad Jankowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
