Hi Ian, We are using libvirt. I just checked by following the steps. But still we are facing the same issue. Attaching the XML. Thank you. Regards Anirudh From: "Stokes, Ian" <[email protected]<mailto:[email protected]>> Date: Thursday, March 8, 2018 at 8:02 PM To: Anirudh Chanagiri <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Cc: Pillalamarri Bala Venkata Ramana <[email protected]<mailto:[email protected]>>, Siddharth Mundle <[email protected]<mailto:[email protected]>>, "Corredor, Alejandro" <[email protected]<mailto:[email protected]>> Subject: RE: [ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface.
Thanks, I didn’t spot anything out of place in the logs. Are you using QEMU or Libvirt to start the VM? If Qemu could you share the command used to launch the VM, if it’s libvirt can you confirm you’ve followed the steps for http://docs.openvswitch.org/en/latest/topics/dpdk/vhost-user/#adding-vhost-user-ports-to-the-guest-libvirt and share the xml your using for the VM. Thanks Ian From: Anirudh Chanagiri [mailto:[email protected]] Sent: Wednesday, March 7, 2018 6:21 AM To: Stokes, Ian <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Cc: Ramana Pillalamarri <[email protected]<mailto:[email protected]>>; Siddharth Mundle <[email protected]<mailto:[email protected]>>; Corredor, Alejandro <[email protected]<mailto:[email protected]>> Subject: Re: [ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface. 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. Regards Anirudh From: "Stokes, Ian" <[email protected]<mailto:[email protected]>> Date: Tuesday, March 6, 2018 at 6:15 PM To: Anirudh Chanagiri <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Cc: Pillalamarri Bala Venkata Ramana <[email protected]<mailto:[email protected]>>, Siddharth Mundle <[email protected]<mailto:[email protected]>>, "Corredor, Alejandro" <[email protected]<mailto:[email protected]>> 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. Thanks Ian From:[email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Anirudh Chanagiri Sent: Thursday, February 22, 2018 5:31 AM To: [email protected]<mailto:[email protected]> Cc: Ramana Pillalamarri <[email protected]<mailto:[email protected]>>; Siddharth Mundle <[email protected]<mailto:[email protected]>>; Corredor, Alejandro <[email protected]<mailto:[email protected]>> 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. Regards, Anirudh
vm1-dpdk.xml
Description: vm1-dpdk.xml
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
