diff options
author | Jesse Brandeburg <[email protected]> | 2021-09-20 12:30:13 -0700 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-10-19 10:45:16 -0700 |
commit | d16a4f45f3a3afcb56910a7242cc621c071e80e4 (patch) | |
tree | 5e4a449728d3bf9cdc8f525636ad48a8556bcd69 /tools/perf/scripts/python/stat-cpi.py | |
parent | d8eb7ad5e46c65d57fa72571cf2ccca7da1e7196 (diff) |
ice: fix rate limit update after coalesce change
If the adaptive settings are changed with
ethtool -C ethx adaptive-rx off adaptive-tx off
then the interrupt rate limit should be maintained as a user set value,
but only if BOTH adaptive settings are off. Fix a bug where the rate
limit that was being used in adaptive mode was staying set in the
register but was not reported correctly by ethtool -c ethx. Due to long
lines include a small refactor of q_vector variable.
Fixes: b8b4772377dd ("ice: refactor interrupt moderation writes")
Signed-off-by: Jesse Brandeburg <[email protected]>
Tested-by: Gurucharan G <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions