summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRobin Jarry <rjarry@redhat.com>2022-04-27 10:15:25 +0200
committerIlya Maximets <i.maximets@ovn.org>2022-11-02 16:46:00 +0100
commit97873af3734a9300f5eb29f664513edc839cf88a (patch)
tree89f249a36a904def16c6a25dfcd3f391380a736e /Documentation
parentffcb6f115fe5e00be3ca8fb9a940a3224e687e23 (diff)
downloadopenvswitch-97873af3734a9300f5eb29f664513edc839cf88a.tar.gz
Documentation: Use new syntax for dpdk port representors.
Since DPDK 21.05, the representor identifier now handles a relative VF offset. The legacy representor ID seems only valid in certain cases (first dpdk port). Link: https://github.com/DPDK/dpdk/commit/cebf7f17159a8 Signed-off-by: Robin Jarry <rjarry@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/topics/dpdk/phy.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/topics/dpdk/phy.rst b/Documentation/topics/dpdk/phy.rst
index 937f4c40e..8fc34a378 100644
--- a/Documentation/topics/dpdk/phy.rst
+++ b/Documentation/topics/dpdk/phy.rst
@@ -267,7 +267,7 @@ Representors are multi devices created on top of one PF.
For more information, refer to the `DPDK documentation`__.
-__ https://doc.dpdk.org/guides-21.11/prog_guide/switch_representation.html
+__ https://doc.dpdk.org/guides-21.11/prog_guide/switch_representation.html#port-representors
Prior to port representors there was a one-to-one relationship between the PF
and the eth device. With port representors the relationship becomes one PF to
@@ -287,18 +287,18 @@ address in devargs. For an existing bridge called ``br0`` and PCI address
When configuring a VF-based port, DPDK uses an extended devargs syntax which
has the following format::
- BDBF,representor=[<representor id>]
+ BDBF,representor=<representor identifier>
This syntax shows that a representor is an enumerated eth device (with
-a representor ID) which uses the PF PCI address.
-The following commands add representors 3 and 5 using PCI device address
+a representor identifier) which uses the PF PCI address.
+The following commands add representors of VF 3 and 5 using PCI device address
``0000:08:00.0``::
$ ovs-vsctl add-port br0 dpdk-rep3 -- set Interface dpdk-rep3 type=dpdk \
- options:dpdk-devargs=0000:08:00.0,representor=[3]
+ options:dpdk-devargs=0000:08:00.0,representor=vf3
$ ovs-vsctl add-port br0 dpdk-rep5 -- set Interface dpdk-rep5 type=dpdk \
- options:dpdk-devargs=0000:08:00.0,representor=[5]
+ options:dpdk-devargs=0000:08:00.0,representor=vf5
.. important::