[vpp-dev] virtio interface can't send packet

2020-06-23 Thread Chan Wai
Dear all, I tried using testpmd(virio-user) <--> (vhost-user)testpmd, this topology works well. these are my test command: sudo ./testpmd -l 0-1 -n 4 --socket-mem 1024,1024 --no-pci --vdev 'eth_vhost0,iface=/tmp/sock0' --file-prefix=host --single-file-segments -- -i sudo ./testpmd -l 6-7 -n 4 --so

Re: [vpp-dev] virtio interface can't send packet #vpp

2020-06-22 Thread chanwai1219
[Edited Message Follows] Dear Ben & all, I did some more debug for this issue. This time I use 1G huge page, and the topology is also vpp(virtio-user) <--> (Vhost-user)testpmd. Both are based on dpdk1908. startup.conf > > > > heapsize 2G > > > > unix { > > > > nodaemon > > > > inter

Re: [vpp-dev] virtio interface can't send packet #vpp

2020-06-22 Thread Benoit Ganne (bganne) via lists.fd.io
Hi Wai, > I would like to contribute a patch for this issue if I could solve this > issue. But I'm not familiar with the detail of the virtio/vhost protocol. > It's appreciated if you could point out a direction for me to dig more > deeper. Unfortunately I can't help much. What I'd recommend is t

Re: [vpp-dev] virtio interface can't send packet #vpp

2020-06-22 Thread chanwai1219
Dear Ben, I would like to contribute a patch for this issue if I could solve this issue. But I'm not familiar with the detail of the virtio/vhost protocol. It's appreciated if you could point out a direction for me to dig more deeper. I also tried memif interface, vpp and testpmd combination wor

Re: [vpp-dev] virtio interface can't send packet #vpp

2020-06-22 Thread Benoit Ganne (bganne) via lists.fd.io
> I am using VPP(virtio-user) and TestPMD/Openvswitch(Vhost-user) on my > physical host. [...] > Per Steven's suggestion, the only way I can try is the Memif interface? Ha yes I missed that. Memif is probably the way to go here, but we also accept patches 😉 ben -=-=-=-=-=-=-=-=-=-=-=- Links: You

Re: [vpp-dev] virtio interface can't send packet #vpp

2020-06-22 Thread chanwai1219
Dear Ben, Thanks for reply. I am using VPP(virtio-user) and TestPMD/Openvswitch(Vhost-user) on my physical host. The " vppctl create interface virtio " command needs a PCI address for input. The testpmd/openvswitch only create a socket for communication between frontend and backend. It seems t

Re: [vpp-dev] virtio interface can't send packet #vpp

2020-06-22 Thread Benoit Ganne (bganne) via lists.fd.io
: [vpp-dev] virtio interface can't send packet #vpp > > Dear all, > I tried using testpmd(virio-user) <--> (vhost-user)testpmd, this topology > works well. > these are my test command: > sudo ./testpmd -l 0-1 -n 4 --socket-mem 1024,1024 --no-pci --vdev > 'eth_vho

[vpp-dev] virtio interface can't send packet #vpp

2020-06-19 Thread chanwai1219
Dear all, I tried using testpmd(virio-user) <--> (vhost-user) testpmd, this topology works well. these are my test command: sudo ./testpmd -l 0-1 -n 4 --socket-mem 1024,1024 --no-pci --vdev 'eth_vhost0,iface=/tmp/sock0' --file-prefix=host --single-file-segments -- -i sudo ./testpmd -l 6-7 -n 4 --