diff options
| author | Paul Greenwalt <[email protected]> | 2020-02-13 13:31:16 -0800 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2020-02-19 12:56:34 -0800 |
| commit | 9d5c5a5290d4d7ae65dcd05e7b986fde4c679ff0 (patch) | |
| tree | 68e4398c03528557578225e137394bbf655ead9f /tools/perf/scripts/python/stackcollapse.py | |
| parent | a29a912d448dbc9912705377195bf6418da5897f (diff) | |
ice: update malicious driver detection event handling
Update the PF VFs MDD event message to rate limit once per second and
report the total number Rx|Tx event count. Add support to print pending
MDD events that occur during the rate limit. The use of net_ratelimit did
not allow for per VF Rx|Tx granularity.
Additional PF MDD log messages are guarded by netif_msg_[rx|tx]_err().
Since VF RX MDD events disable the queue, add ethtool private flag
mdd-auto-reset-vf to configure VF reset to re-enable the queue.
Disable anti-spoof detection interrupt to prevent spurious events
during a function reset.
To avoid race condition do not make PF MDD register reads conditional
on global MDD result.
Signed-off-by: Paul Greenwalt <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions