aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_flex_pipe.c
diff options
context:
space:
mode:
authorPaul Greenwalt <paul.greenwalt@intel.com>2020-02-13 13:31:16 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2020-02-19 12:56:34 -0800
commit9d5c5a5290d4d7ae65dcd05e7b986fde4c679ff0 (patch)
tree68e4398c03528557578225e137394bbf655ead9f /drivers/net/ethernet/intel/ice/ice_flex_pipe.c
parentice: Validate config for SW DCB map (diff)
downloadlinux-dev-9d5c5a5290d4d7ae65dcd05e7b986fde4c679ff0.tar.xz
linux-dev-9d5c5a5290d4d7ae65dcd05e7b986fde4c679ff0.zip
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 'drivers/net/ethernet/intel/ice/ice_flex_pipe.c')
0 files changed, 0 insertions, 0 deletions