diff options
author | Andre Guedes <[email protected]> | 2020-04-24 13:16:15 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2020-05-22 18:21:51 -0700 |
commit | 4bdf89e85ed3881e8c40510ebad918dded9e5831 (patch) | |
tree | 5f9126344d798b0f752bfbf290c81e9528108477 /tools/perf/scripts/python/check-perf-trace.py | |
parent | b500350a36ae6e83a03931723b787b771f411817 (diff) |
igc: Fix NFC rule overwrite cases
When the 'loc' argument is passed in ethtool, the input rule overwrites
any rule present in that location. In this situation we must disable the
old rule otherwise it is left enabled in hardware. This patch fixes
the issue by always calling igc_disable_nfc_rule() when deleting the
old rule, no matter the value of 'input' argument.
Signed-off-by: Andre Guedes <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions