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(-) -- 2.25.1