DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] doc: update the doc for support multi-host lag probe
@ 2025-09-30 12:02 Jiawei Wang
  0 siblings, 0 replies; only message in thread
From: Jiawei Wang @ 2025-09-30 12:02 UTC (permalink / raw)
  To: bingz, dsosnowski, thomas, Viacheslav Ovsiienko, Ori Kam,
	Suanming Mou, Matan Azrad
  Cc: dev, rasland

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]

Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com>
---
 doc/guides/nics/mlx5.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 20056f61d6..4aeb5b49da 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -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
-- 
2.18.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-09-30 12:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-30 12:02 [PATCH] doc: update the doc for support multi-host lag probe Jiawei Wang

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).