[Intel-wired-lan] [PATCH S39 02/15] ice: update malicious driver detection event handling
Bowers, AndrewX
andrewx.bowers at intel.com
Thu Jan 30 22:37:14 UTC 2020
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Monday, January 27, 2020 12:59 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S39 02/15] ice: update malicious driver
> detection event handling
>
> From: Paul Greenwalt <paul.greenwalt at intel.com>
>
> 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 at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice.h | 4 +
> drivers/net/ethernet/intel/ice/ice_ethtool.c | 1 +
> .../net/ethernet/intel/ice/ice_hw_autogen.h | 2 +
> drivers/net/ethernet/intel/ice/ice_main.c | 126 ++++++++++--------
> .../net/ethernet/intel/ice/ice_virtchnl_pf.c | 54 +++++++-
> .../net/ethernet/intel/ice/ice_virtchnl_pf.h | 20 ++-
> 6 files changed, 148 insertions(+), 59 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list