netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [iwl-next v3 0/4] ixgbe: support Malicious Driver Detection (MDD)
@ 2025-02-17  9:06 Michal Swiatkowski
  2025-02-17  9:06 ` [iwl-next v3 1/4] ixgbe: add MDD support Michal Swiatkowski
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Michal Swiatkowski @ 2025-02-17  9:06 UTC (permalink / raw)
  To: intel-wired-lan
  Cc: netdev, marcin.szycik, jedrzej.jagielski, przemyslaw.kitszel,
	piotr.kwapulinski, anthony.l.nguyen, dawid.osuchowski, horms,
	pmenzel

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.swiatkowski@linux.intel.com/
[1] https://lore.kernel.org/netdev/20250207104343.2791001-1-michal.swiatkowski@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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-06-27  9:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17  9:06 [iwl-next v3 0/4] ixgbe: support Malicious Driver Detection (MDD) Michal Swiatkowski
2025-02-17  9:06 ` [iwl-next v3 1/4] ixgbe: add MDD support Michal Swiatkowski
2025-02-18 19:36   ` Simon Horman
2025-06-27  9:47     ` [Intel-wired-lan] " Romanowski, Rafal
2025-02-17  9:06 ` [iwl-next v3 2/4] ixgbe: check for MDD events Michal Swiatkowski
2025-02-18 19:36   ` Simon Horman
2025-06-27  9:48     ` [Intel-wired-lan] " Romanowski, Rafal
2025-02-17  9:06 ` [iwl-next v3 3/4] ixgbe: add Tx hang detection unhandled MDD Michal Swiatkowski
2025-02-18 19:36   ` Simon Horman
2025-06-27  9:49     ` [Intel-wired-lan] " Romanowski, Rafal
2025-02-17  9:06 ` [iwl-next v3 4/4] ixgbe: turn off MDD while modifying SRRCTL Michal Swiatkowski
2025-02-18 19:36   ` Simon Horman
2025-06-27  9:49     ` [Intel-wired-lan] " Romanowski, Rafal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).