Hi,
I was able to get the ports working using the below docker command,
testpmd commands..
- docker run -it -v /tmp/sock1.sock:/var/run/usvhost1 -v
/tmp/sock2.sock:/var/run/usvhost2 -v /dev/hugepages/:/dev/hugepages
dpdk_app_l2fwd
- ./bin/testpmd -l 16-17 -n 4 --log-level=8 --socket-mem=1024,
I find that changing the vdev in the l2fwd command line to virtio_user
helps..
shiv@shiv-lenovo-v310:~/work/docker$ docker run -it -v
/tmp/sock1.sock:/tmp/sock1.sock -v /mnt/huge_vhost/:/mnt/huge_vhost
dpdk_app_l2fwd l2fwd -c 0x4 -n 4 -m 1024 --no-pci --vdev=*virtio_user0*
,path=/tmp/sock1.sock
Hi Shiv,
Not sure about vhost interfaces, but should be doable with tap/veth
pairs. Refer to below links:
https://wiki.fd.io/view/VPP/Configure_VPP_TAP_Interfaces_For_Container_Routing
https://wiki.fd.io/view/VPP/Configure_VPP_As_A_Router_Between_Namespaces
I had used veth pairs to communicate