This series fixes several issues encountered when hotplugging SF
devices and their representors at runtime.

Patch 1 fixes ROCE disable for auxiliary (SF) devices by using the
correct devlink attributes (auxiliary bus + device name) instead of
incorrectly targeting the parent PF.

Patch 2 ensures switch info is queried during auxiliary probe so that
SF representors are properly identified and vport metadata is initialized.

Patch 3 fixes vport action flag selection for hotplugged representors
to use the proxy port's FDB mode rather than the representor's.

v1: https://mails.dpdk.org/archives/dev/2026-January/330009.html

Changes since v1:
- Attempt to disable ROCE on the SF auxiliary device when hotplugging SF 
representors
- Fixes for vport metadata querying during hotplug

Max Tottenham (3):
  common/mlx5: fix ROCE disable for auxiliary SF devices
  net/mlx5: fix vport metadata for auxiliary bus devices
  net/mlx5: fix vport action flags for hotplugged representors

 drivers/common/mlx5/linux/mlx5_common_os.c | 37 ++++++++---
 drivers/common/mlx5/linux/mlx5_nl.c        | 72 ++++++++++++----------
 drivers/common/mlx5/linux/mlx5_nl.h        |  8 +--
 drivers/net/mlx5/linux/mlx5_os.c           | 15 +++++
 drivers/net/mlx5/mlx5_flow_hw.c            |  2 +-
 5 files changed, 85 insertions(+), 49 deletions(-)

--
2.52.0

Reply via email to