Hi,

We have a OVS-DPDK (version 2.5) setup on our host running ubuntu 14.04. We followed:
https://github.com/openvswitch/ovs/blob/branch-2.5/INSTALL.DPDK.md
We were able to install and start the OVS, create bridge, create dpdk0 and dpdkvhostuser interface using commands as below:

$OVS_DIR/utilities/ovs-vsctl add-br mybridge -- set bridge mybridge datapath_type=netdev $OVS_DIR/utilities/ovs-vsctl add-port mybridge dpdk0 -- set Interface dpdk0 type=dpdk $OVS_DIR/utilities/ovs-vsctl add-port mybridge vhostu1 -- set Interface vhostu1 type=dpdkvhostuser $OVS_DIR/utilities/ovs-vsctl add-port mybridge vhostu2 -- set Interface vhostu2 type=dpdkvhostuser

We added the interfaces to our VMs using qemu command line as follows:

<qemu:commandline>
    <qemu:arg value='-chardev'/>
<qemu:arg value='socket,id=mychr0,path=/usr/local/var/run/openvswitch/vhostu1'/>
    <qemu:arg value='-netdev'/>
    <qemu:arg value='vhost-user,id=mydev0,chardev=mychr0,vhostforce=on'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='virtio-net-pci,mac=00:00:00:00:00:01,netdev=mydev0'/>
    <qemu:arg value='-m'/>
    <qemu:arg value='4096'/>
    <qemu:arg value='-object'/>
<qemu:arg value='memory-backend-file,id=mem0,size=4096M,mem-path=/hugepages,share=on'/>
  </qemu:commandline>

However, the VMs are unable to communicate with each other. We observe that the ping request does not go out of the VM itself. Please help us on this.


Thanks,

Priyanka
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to