[ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface.

Anirudh Chanagiri Anirudh.Chanagiri at riverbed.com
Wed Mar 7 06:21:20 UTC 2018

Hi Ian,
Thanks a ton for looking into this.

Yes we still have the issue.
Attached the ovs log,

The QEMU version is
qemu-system-x86_64 --version
QEMU emulator version 2.10.1(Debian 1:2.10+dfsg-0ubuntu3.5)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

Also we have put in all the steps we followed to create bridges and port in the attached file dpdk_cmd.
There was a suggestion from someone in the  community to try compiling a stable version from source, we did that but that but ran into some issues with that.

My guess is we are missing some configuration which we are not able to figure out, since we encountered the same problems with different kernel/ DPDK/OVS versions.
That’s why have attached the dpdk_cmd file so that any config related issues could be identified.

From: "Stokes, Ian" <ian.stokes at intel.com<mailto:ian.stokes at intel.com>>
Date: Tuesday, March 6, 2018 at 6:15 PM
To: Anirudh Chanagiri <Anirudh.Chanagiri at riverbed.com<mailto:Anirudh.Chanagiri at riverbed.com>>, "discuss at openvswitch.org<mailto:discuss at openvswitch.org>" <discuss at openvswitch.org<mailto:discuss at openvswitch.org>>
Cc: Pillalamarri Bala Venkata Ramana <Ramana.Pillalamarri at riverbed.com<mailto:Ramana.Pillalamarri at riverbed.com>>, Siddharth Mundle <Siddharth.Mundle at riverbed.com<mailto:Siddharth.Mundle at riverbed.com>>, "Corredor, Alejandro" <alejandro.corredor at intel.com<mailto:alejandro.corredor at intel.com>>
Subject: RE: [ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface.

Hi Anirudh,

Is this still an issue for you?

I tried recreating the issue on my own system following your setup steps but I did not encounter any issue, I was able to ping both the OVS bridge and external VMs  using vhostuser.

If this is still an issue could your provide the OVS logs for you system when the problem occurs.

Also the version of QEMU you are using in the host along with any setup steps you perform in the guest would be useful for debugging.


From: ovs-discuss-bounces at openvswitch.org<mailto:ovs-discuss-bounces at openvswitch.org> [mailto:ovs-discuss-bounces at openvswitch.org] On Behalf Of Anirudh Chanagiri
Sent: Thursday, February 22, 2018 5:31 AM
To: bugs at openvswitch.org<mailto:bugs at openvswitch.org>
Cc: Ramana Pillalamarri <Ramana.Pillalamarri at riverbed.com<mailto:Ramana.Pillalamarri at riverbed.com>>; Siddharth Mundle <Siddharth.Mundle at riverbed.com<mailto:Siddharth.Mundle at riverbed.com>>; Corredor, Alejandro <alejandro.corredor at intel.com<mailto:alejandro.corredor at intel.com>>
Subject: [ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface.

Hello everyone,
We are having some  issues using ovs-dpdk with vhostuser interface,
Seeking your help on the same.

Description of the issue :

Setup Details:
                  1.  Host is  an Ubuntu 17.04.
  2.  We have created an open OVS switch with 2 arms  , one arm of the switch is physical interface which is given to DPDK driver and the the other arm is the dpdkvhostuser interface, which is given to an ubuntu 16.04 VM.
  3.  Inside the Ubuntu VM , we are not running  any DPDK based application.
  4.  We just want to check the connectivity of the guest VM to the outside world using DPDK-OVS

Version details:
1.  Open v switch version.
ovs-vswitchd --version ovs-vswitchd (Open vSwitch) 2.8.0
2. Guest Ubuntu 16.04,  Kernel version 4.4.0-62-generic
3.  Host  Ubuntu 17.04, Kernel version 4.13.0-32-generic
4. DPDK version 17.05.2

       Problem description:
We are unable to have connectivity to/from the VM  using OVS-DPDK vhostuser interface.

1.  If we assign an ip to the OVS bridge and try pinging it, even that doesn’t work.
2.  If use a tun/tap interface instead of dpdkvhostuser interface the connectivity works fine. So the issue is specific to dpdkvhostuser interface.

Seeking your help to resolve the same.
Attaching the output of some useful commands and a setup diagram.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180307/6b4ce314/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovs-vswitchd.log
Type: application/octet-stream
Size: 44054 bytes
Desc: ovs-vswitchd.log
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180307/6b4ce314/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dpdk_cmd
Type: application/octet-stream
Size: 1691 bytes
Desc: dpdk_cmd
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180307/6b4ce314/attachment-0003.obj>

More information about the discuss mailing list