[dpdk-dev] seg fault in InterVM communication using virtio

Priyanka ppnaik at cse.iitb.ac.in
Mon Feb 20 11:30:12 CET 2017


Hi All,

We have 2 VM running on qemu-kvm hypervisor. We have provided vNIC to 
the VMs using macvtap device and virtio as the device model in bridge 
mode. We are running DPDK applications (udp client and server) on the 
VMs. We observe that the inter-VM communication is not happening using 
drivers i.e igb_uio and uio_pci_generic. We were able to communicate 
between the VMs properly using SRIOV. But we were not getting 
performance as expected so we switched to virtio. But using virtio the 
DPDK communication hangs after sending 128 packets. We also observe a 
seg fault in the dmesg of the VM.

Please provide us some guideline to do the inter-VM communication using 
virtio. Are we correct if we are using rte_eth_tx/rx_burst to send and 
receive packets from the vNIC.

Thanks,

Priyanka


More information about the dev mailing list