diff options
author | Jedrzej Jagielski <[email protected]> | 2021-09-15 09:01:00 +0000 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-11-19 09:26:41 -0800 |
commit | 3b5bdd18eb76e7570d9bacbcab6828a9b26ae121 (patch) | |
tree | 83e2b8bd772c8ddd633c8baa69c00fd65ce88d08 /lib/test_overflow.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 <[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 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions