Skip to content

Create OvS DPDK bridge with vhostuser ports

Harsh Gondaliya edited this page Sep 7, 2019 · 3 revisions

After you have installed, configured and started OvS with DPDK datapath, these commands can be executed to create an OvS-DPDK bridge with two vhostuser ports:

  1. Create OvS-DPDK bridge
    root@SDCLAB04:/usr/local/src/ovs-dpdk-with-tso# ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev

  2. Create two vhostuser ports for the OvS-DPDK bridge
    root@SDCLAB04:/usr/local/src/ovs-dpdk-with-tso# ovs-vsctl add-port br0 vhost-user1 -- set Interface vhost-user1 type=dpdkvhostuser

    root@SDCLAB04:/usr/local/src/ovs-dpdk-with-tso# ovs-vsctl add-port br0 vhost-user2 -- set Interface vhost-user2 type=dpdkvhostuser

Now move on the steps at Create VMs using KVM-QEMU page.