summaryrefslogtreecommitdiff
path: root/Documentation/intro
diff options
context:
space:
mode:
authorCian Ferriter <cian.ferriter@intel.com>2021-08-27 16:15:01 +0100
committerIlya Maximets <i.maximets@ovn.org>2021-09-16 00:59:23 +0200
commitd0020c5e8769582ff949cdfff2e7c393fe7b6688 (patch)
tree0b8839c670c7d560d4c5ab254ba8904021a475fa /Documentation/intro
parent16e5b51f2d2dcc2447e8b6a06b51089d97b86511 (diff)
downloadopenvswitch-d0020c5e8769582ff949cdfff2e7c393fe7b6688.tar.gz
docs: Recommend the use of dpdkvhostuserclient ports.
dpdkvhostuser ports are deprecated, but are still being recommended to users through the documentation. Fix this. Signed-off-by: Cian Ferriter <cian.ferriter@intel.com> Acked-by: Kevin Traynor <ktraynor@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation/intro')
-rw-r--r--Documentation/intro/install/afxdp.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/intro/install/afxdp.rst b/Documentation/intro/install/afxdp.rst
index 47149cc73..6ee69a15f 100644
--- a/Documentation/intro/install/afxdp.rst
+++ b/Documentation/intro/install/afxdp.rst
@@ -404,14 +404,15 @@ Create a vhost-user port from OVS::
ovs-vsctl -- add-br br0 -- set Bridge br0 datapath_type=netdev \
other_config:pmd-cpu-mask=0xfff
ovs-vsctl add-port br0 vhost-user-1 \
- -- set Interface vhost-user-1 type=dpdkvhostuser
+ -- set Interface vhost-user-1 type=dpdkvhostuserclient \
+ options:vhost-server-path=/tmp/vhost-user-1
Start VM using vhost-user mode::
qemu-system-x86_64 -hda ubuntu1810.qcow \
-m 4096 \
-cpu host,+x2apic -enable-kvm \
- -chardev socket,id=char1,path=/usr/local/var/run/openvswitch/vhost-user-1 \
+ -chardev socket,id=char1,path=/tmp/vhost-user-1,server \
-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce,queues=4 \
-device virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1,mq=on,vectors=10 \
-object memory-backend-file,id=mem,size=4096M,mem-path=/dev/hugepages,share=on \