Skip to content

net/mlx5: add Multiport E-Switch support

Dariusz Sosnowski dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8net/mlx5/hws: fix leak in FT managementdrivers/net/mlx5/hws/mlx5dr_matcher.c+10 -310 replies
2/8common/mlx5: fix controller index parsingdrivers/common/mlx5/linux/mlx5_common_os.c+3 -20 replies
3/8common/mlx5: add Netlink check for Multiport E-Switchdrivers/common/mlx5/linux/mlx5_nl.c drivers/common/mlx5/linux/mlx5_nl.h drivers/common/mlx5/version.map+77 -00 replies
4/8net/mlx5: add sysfs check for Multiport E-Switchdrivers/net/mlx5/linux/mlx5_os.c+69 -02 replies
5/8net/mlx5: add checking Multiport E-Switch statedrivers/net/mlx5/linux/mlx5_os.c+50 -10 replies
6/8net/mlx5: support port probing of Multiport E-Switch devicedoc/guides/nics/mlx5.rst doc/guides/rel_notes/release_23_11.rst drivers/common/mlx5/mlx5_common.h +5 more+464 -380 replies
7/8net/mlx5: sort port spawn data with uplink ports firstdrivers/net/mlx5/linux/mlx5_os.c+7 -10 replies
8/8net/mlx5: add support for vport match selectiondoc/guides/nics/mlx5.rst drivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h +2 more+40 -20 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchViacheslav Ovsiienko
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] net/mlx5: add Multiport E-Switch support

This patchset adds support for probing ports of a Multiport E-Switch device to mlx5 PMD.

Multiport E-Switch is a configuration of NVIDIA ConnectX/BlueField HCAs where all connected entities (i.e. physical ports, VFs and SFs) share the same switch domain.
In this mode, applications are allowed to create transfer flow rules which explicitly match on the physical port on which traffic arrives and/or on VFs and SFs, regardless of the root PF.
On top of that, forwarding to any of these entities is allowed. Notably, applications are allowed to explicitly forward traffic to any of the physical ports of the HCA.

Bing Zhao (1):
net/mlx5: add support for vport match selection

Dariusz Sosnowski (6):
common/mlx5: fix controller index parsing common/mlx5: add Netlink check for Multiport E-Switch net/mlx5: add sysfs check for Multiport E-Switch net/mlx5: add checking Multiport E-Switch state net/mlx5: support port probing of Multiport E-Switch device net/mlx5: sort port spawn data with uplink ports first

Itamar Gozlan (1):
net/mlx5/hws: fix leak in FT management

 doc/guides/nics/mlx5.rst                   | 157 +++++++++
 doc/guides/rel_notes/release_23_11.rst     |   1 +
 drivers/common/mlx5/linux/mlx5_common_os.c |   5 +-
 drivers/common/mlx5/linux/mlx5_nl.c        |  70 ++++
 drivers/common/mlx5/linux/mlx5_nl.h        |   5 +
 drivers/common/mlx5/mlx5_common.h          |   1 +
 drivers/common/mlx5/version.map            |   2 +
 drivers/net/mlx5/hws/mlx5dr_matcher.c      |  41 +--
 drivers/net/mlx5/linux/mlx5_os.c           | 379 +++++++++++++++++++--
 drivers/net/mlx5/mlx5.c                    |  17 +
 drivers/net/mlx5/mlx5.h                    |  41 +++
 drivers/net/mlx5/mlx5_ethdev.c             |  53 ++-
 drivers/net/mlx5/mlx5_flow_dv.c            |   2 +-
 drivers/net/mlx5/mlx5_flow_hw.c            |   4 +-
 drivers/net/mlx5/mlx5_mac.c                |   8 +-
 drivers/net/mlx5/mlx5_trigger.c            |   5 +-
 16 files changed, 718 insertions(+), 73 deletions(-)
Signature · 1 line
2.25.1