//host server client
./dpdk-testpmd -l 9-10 -n 4 --file-prefix=vhost --vdev ‘net_vhost0,iface=/tmp/sock0,queues=1’ – -i
./dpdk-testpmd -l 5-6 -n 4 --no-pci --single-file-segments --file-prefix=virtio-user --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,queues=1 – -i
//创建virtio port
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-extra=“–no-pci --single-file-segments --file-prefix=virtio-user --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,queues=1,packed_vq=1”
//添加virtio port
ovs-vsctl add-port br-ext net_virtio_user0 – set Interface net_virtio_user0 type=dpdk options:dpdk-devargs=net_virtio_user,mac=00:11:22:33:44:10,path=/tmp/sock0,queues=1
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)