summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiara Loftus <ciara.loftus@intel.com>2017-06-06 16:26:18 +0100
committerBen Pfaff <blp@ovn.org>2017-06-07 13:48:44 -0700
commitb132189d8456f38f3ee139f126d680901a9ee9a8 (patch)
tree75a94076faea30f9b0293fc1ce599bdd7649ee96
parent2357e695a50468eefdbbbdfd26ae042c11a69686 (diff)
downloadopenvswitch-b132189d8456f38f3ee139f126d680901a9ee9a8.tar.gz
docs: Update dpdk vdev naming instructions.
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Stephen Finucane <stephen@that.guru>
-rw-r--r--Documentation/howto/dpdk.rst2
-rw-r--r--vswitchd/vswitch.xml9
2 files changed, 6 insertions, 5 deletions
diff --git a/Documentation/howto/dpdk.rst b/Documentation/howto/dpdk.rst
index f3c7aff1f..93248b47f 100644
--- a/Documentation/howto/dpdk.rst
+++ b/Documentation/howto/dpdk.rst
@@ -361,7 +361,7 @@ Virtual DPDK devices which do not have PCI addresses can be added using a
different format for 'dpdk-devargs'.
Typically, the format expected is 'eth_<driver_name><x>' where 'x' is a
-number between 0 and RTE_MAX_ETHPORTS -1 (31).
+unique identifier of your choice for the given port.
For example to add a dpdk port that uses the 'null' DPDK PMD driver::
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 892f83923..d219bfd68 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -2485,10 +2485,11 @@
Specifies the PCI address associated with the port for physical
devices, or the virtual driver to be used for the port when a virtual
PMD is intended to be used. For the latter, the argument string
- typically takes the form of eth_&lt;driver_name&gt;&lt;x&gt; where
- 'driver_name' is a valid virtual DPDK PMD driver name and where 'x'
- lies in the range of 0 to RTE_MAX_ETHPORTS-1.
- Only supported by the dpdk port type.
+ typically takes the form of
+ <code>eth_<var>driver_name</var><var>x</var></code>, where
+ <var>driver_name</var> is a valid virtual DPDK PMD driver name and
+ <var>x</var> is a unique identifier of your choice for the given
+ port. Only supported by the dpdk port type.
</p>
</column>