[ovs-dev] [PATCH] netdev-dpdk: fix MAC address in port addr example

Marcelo Ricardo Leitner marcelo.leitner at gmail.com
Mon Apr 9 17:20:50 UTC 2018

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

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 at gmail.com>
 Documentation/howto/dpdk.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/howto/dpdk.rst b/Documentation/howto/dpdk.rst
index 79b626c76d0dd45381bd75ab867b7815ca941208..69e692f40d500cf65d59d1979e07afa6f99cf903 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.

More information about the dev mailing list