ixgbe: add improvement for MDD response functionality
authorSlawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Tue, 1 Mar 2022 11:40:09 +0000 (11:40 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 8 Mar 2022 15:41:18 +0000 (07:41 -0800)
commit008ca35f6e87be1d60b6af3d1ae247c6d5c2531d
tree0d8cd8fb9654769714e39362e695008de9a739e7
parent366fd1000995d4cf64e1a61a0d78a051550b9841
ixgbe: add improvement for MDD response functionality

The 82599 PF driver disable VF driver after a special MDD event occurs.
Adds the option for administrators to control whether VFs are
automatically disabled after several MDD events.
The automatically disabling is now the default mode for 82599 PF driver,
as it is more reliable.

This addresses CVE-2021-33061.

Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c