Skip to contentSkip to conversation

doc: update the doc for support multi-host lag probe

PATCH In review Jiawei Wang 3 participants 3 messages Sep 30, 2025 – Nov 16, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: update the doc for support multi-host lag probe

On the ConnectX-7 Multi-Host Setup, the PF index is not continuous, user need to query the PF index based on the return value of the related sysfs entries:
cat /sys/class/net/*/phys_port_name

Example output is 0 and 2 for PF1 and PF2, then use 0 and 2 of PF index::
-a <Primary_PCI_BDF>,representor=pf[0,2]vf[0-2]

---
 doc/guides/nics/mlx5.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
doc/guides/nics/mlx5.rst +10 -0
index 20056f61d6..4aeb5b49da 100644
@@ -744,6 +744,16 @@ for an additional list of options shared with other mlx5 drivers.
 
     <Primary_PCI_BDF>,representor=pf[0,1]vf[0-2]
 
+  To probe VF port representors 0 through 2 on both PFs of bonding device on
+  ConnectX-7 Multi-Host Setup, the PF index is not continuous, user need to
+  query the PF index based on the return value of the related sysfs entries::
+
+    cat /sys/class/net/*/phys_port_name
+
+  Example output is 0 and 2 for PF1 and PF2, then use [0,2] for PF index::
+
+    <Primary_PCI_BDF>,representor=pf[0,2]vf[0-2]
+
 - ``repr_matching_en`` parameter [int]
 
   - 0. If representor matching is disabled, then there will be no implicit
Signature · 1 line
2.18.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Jiawei Wang

On the ConnectX-7 Multi-Host Setup, the PF index is not continuous, user need to query the PF index based on the return value of the related sysfs entries:
cat /sys/class/net/*/phys_port_name

Example output is 0 and 2 for PF1 and PF2, then use 0 and 2 of PF index::

   -a <Primary_PCI_BDF>,representor=pf[0,2]vf[0-2]

Best regards,
Dariusz Sosnowski

#2 lore raw
In reply to Jiawei Wang

Hi,

Quoted 9 lines · Jiawei Wang

On the ConnectX-7 Multi-Host Setup, the PF index is not continuous, user need to query the PF index based on the return value of the related sysfs entries:
cat /sys/class/net/*/phys_port_name

Example output is 0 and 2 for PF1 and PF2, then use 0 and 2 of PF index::

    -a <Primary_PCI_BDF>,representor=pf[0,2]vf[0-2]

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh