[ovs-dev] [Dpdk-ovs] OVS DPDK Bridge Packet loss

Gray, Mark D mark.d.gray at intel.com
Wed Jul 1 13:55:17 UTC 2015


> 
> I'm not using vhost at present. But using macvtap devices. Below screen shot
> for your reference and following are the details on host.
> 
>> 
> [root at artha utilities]# ifconfig macvtap2
> macvtap2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>         inet6 fe80::5054:ff:fec7:ed4f  prefixlen 64  scopeid 0x20<link>
>         ether 52:54:00:c7:ed:4f  txqueuelen 500  (Ethernet)
>         RX packets 272  bytes 17248 (16.8 KiB)
>         RX errors 0  dropped 0  overruns 0  frame 0
>         TX packets 12  bytes 898 (898.0 B)
>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> 
> [root at artha utilities]# ifconfig pktovs
> pktovs: flags=323<UP,BROADCAST,RUNNING,PROMISC>  mtu 1500
>         inet 10.54.218.81  netmask 255.255.255.0  broadcast 10.54.218.255
>         inet6 fe80::e611:5bff:fe98:993  prefixlen 64  scopeid 0x20<link>
>         ether e4:11:5b:98:09:93  txqueuelen 500  (Ethernet)
>         RX packets 224  bytes 14562 (14.2 KiB)
>         RX errors 0  dropped 131  overruns 0  frame 0
>         TX packets 39  bytes 2894 (2.8 KiB)
>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> 
> I created vhost-user ports using following cmds.
> 
> ./ovs-vsctl --no-wait add-br pktovs -- set Bridge pktovs
> datapath_type=netdev ./ovs-vsctl add-port pktovs dpdk1 -- set Interface
> dpdk1 type=dpdk ./ovs-vsctl add-port pktovs dpdkvhost1 -- set Interface
> dpdkvhost1 type=dpdkvhostuser
> 
The gui might not have those options you would need to use the qemu command line.

This file has loads of instructions and the section in the link below shows
the changes needed to the Qemu command line

https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md#dpdk-vhost-user-vm-configuration


More information about the dev mailing list