diff options
author | Paul Greenwalt <paul.greenwalt@intel.com> | 2020-02-14 00:31:16 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-02-19 23:56:34 +0300 |
commit | 9d5c5a5290d4d7ae65dcd05e7b986fde4c679ff0 (patch) | |
tree | 68e4398c03528557578225e137394bbf655ead9f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a29a912d448dbc9912705377195bf6418da5897f (diff) | |
download | linux-9d5c5a5290d4d7ae65dcd05e7b986fde4c679ff0.tar.xz |
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 <paul.greenwalt@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions