Hi, This patchset is adding support for MDD (malicious driver detection) for ixgbe driver. It can catch the error on VF side and reset malicious VF.
An MDD event can be triggered for example by sending from VF a TSO packet with segment number set to 0. Add checking for Tx hang in case of MDD is unhandled. It will prevent VF from staying in Tx hang state. v2 --> v3: [2] * improve patch 1 commit message based on Paul comment v1 --> v2: [1] (All from Simon review, thanks) * change wqbr variable type in patch 1 to fix -Warray-bounds build * fix indend to be done by space to follow existing style (patch 3) * move e_warn() to be in one line because it fit (patch 3) [2] https://lore.kernel.org/netdev/20250212075724.3352715-1-michal.swiatkow...@linux.intel.com/ [1] https://lore.kernel.org/netdev/20250207104343.2791001-1-michal.swiatkow...@linux.intel.com/ Don Skidmore (1): ixgbe: check for MDD events Paul Greenwalt (1): ixgbe: add MDD support Radoslaw Tyl (1): ixgbe: turn off MDD while modifying SRRCTL Slawomir Mrozowicz (1): ixgbe: add Tx hang detection unhandled MDD drivers/net/ethernet/intel/ixgbe/ixgbe.h | 5 + .../net/ethernet/intel/ixgbe/ixgbe_sriov.h | 1 + drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 42 +++- drivers/net/ethernet/intel/ixgbe/ixgbe_x550.h | 5 + drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c | 4 + drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c | 3 +- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 223 ++++++++++++++++-- .../net/ethernet/intel/ixgbe/ixgbe_sriov.c | 50 ++++ drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 120 ++++++++++ 9 files changed, 430 insertions(+), 23 deletions(-) -- 2.42.0