summaryrefslogtreecommitdiff
path: root/Documentation/howto
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>2018-04-09 14:20:50 -0300
committerIan Stokes <ian.stokes@intel.com>2018-04-21 16:59:45 +0100
commitde1034b0a8925bd0c7d70ad437525d22eb015146 (patch)
treec45abc3da2510f57b710359fb56fee2c85eeebd5 /Documentation/howto
parentf82b3b6a2f4d024ce671b1e3b11aa92d29f2564d (diff)
downloadopenvswitch-de1034b0a8925bd0c7d70ad437525d22eb015146.tar.gz
netdev-dpdk: fix MAC address in port addr example
The MAC address is always 6-bytes long, never 7. The extra :01 and :02 doesn't belong in there as it doesn't mean selecting one port or another. Instead, use an incrementing MAC address, which is what usually happens on such cards. See-also: http://www.dpdk.org/ml/archives/dev/2018-April/094976.html Fixes: 5e7588186839 ("netdev-dpdk: fix port addition for ports sharing same PCI id") Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: Ian Stokes <ian.stokes@intel.com>
Diffstat (limited to 'Documentation/howto')
-rw-r--r--Documentation/howto/dpdk.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/howto/dpdk.rst b/Documentation/howto/dpdk.rst
index 79b626c76..69e692f40 100644
--- a/Documentation/howto/dpdk.rst
+++ b/Documentation/howto/dpdk.rst
@@ -53,9 +53,9 @@ with multiple ports. Using a PCI device like above won't work. Instead, below
usage is suggested::
$ ovs-vsctl add-port br0 dpdk-p0 -- set Interface dpdk-p0 type=dpdk \
- options:dpdk-devargs="class=eth,mac=00:11:22:33:44:55:01"
+ options:dpdk-devargs="class=eth,mac=00:11:22:33:44:55"
$ ovs-vsctl add-port br0 dpdk-p1 -- set Interface dpdk-p1 type=dpdk \
- options:dpdk-devargs="class=eth,mac=00:11:22:33:44:55:02"
+ options:dpdk-devargs="class=eth,mac=00:11:22:33:44:56"
Note: such syntax won't support hotplug. The hotplug is supposed to work with
future DPDK release, v18.05.