<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: 'Times New Roman', sans-serif;">
<div>
<div>
<div style="color: rgb(127, 0, 127);">Hi Ian,</div>
<div style="color: rgb(127, 0, 127);">Thanks a ton for looking into this.</div>
<div style="color: rgb(127, 0, 127);"><br>
</div>
<div style="color: rgb(127, 0, 127);">Yes we still have the issue.</div>
<div style="color: rgb(127, 0, 127);">Attached the ovs log,&nbsp;</div>
<div style="color: rgb(127, 0, 127);"><br>
</div>
<div style="color: rgb(127, 0, 127);">The QEMU version is&nbsp;</div>
<div>
<div style="color: rgb(127, 0, 127);">qemu-system-x86_64 --version</div>
<div><span style="background-color: rgb(255, 255, 0);"><font color="#ff0000">QEMU emulator version 2.10.1(Debian 1:2.10&#43;dfsg-0ubuntu3.5)</font></span></div>
<div style="color: rgb(127, 0, 127);">Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers</div>
</div>
<div style="color: rgb(127, 0, 127);"><br>
</div>
<div style="color: rgb(127, 0, 127);">Also we have put in all the steps we followed to create bridges and port in the attached file dpdk_cmd.&nbsp;</div>
<div style="color: rgb(127, 0, 127);">There was a suggestion from someone in the &nbsp;community to try compiling a stable version from source, we did that but that but ran into some issues with that.</div>
<div style="color: rgb(127, 0, 127);"><br>
</div>
<div style="color: rgb(127, 0, 127);">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.&nbsp;</div>
<div style="color: rgb(127, 0, 127);">That’s why have attached the dpdk_cmd file so that any config related issues could be identified.</div>
<div style="color: rgb(127, 0, 127);">Regards</div>
<div style="color: rgb(127, 0, 127);">Anirudh&nbsp;</div>
<div style="color: rgb(127, 0, 127);"><br>
</div>
<div style="color: rgb(127, 0, 127);">
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
</div>
<div style="color: rgb(127, 0, 127);"><br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="color: rgb(127, 0, 127);">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>&quot;Stokes, Ian&quot; &lt;<a href="mailto:ian.stokes@intel.com">ian.stokes@intel.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Tuesday, March 6, 2018 at 6:15 PM<br>
<span style="font-weight:bold">To: </span>Anirudh Chanagiri &lt;<a href="mailto:Anirudh.Chanagiri@riverbed.com">Anirudh.Chanagiri@riverbed.com</a>&gt;, &quot;<a href="mailto:discuss@openvswitch.org">discuss@openvswitch.org</a>&quot; &lt;<a href="mailto:discuss@openvswitch.org">discuss@openvswitch.org</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>Pillalamarri Bala Venkata Ramana &lt;<a href="mailto:Ramana.Pillalamarri@riverbed.com">Ramana.Pillalamarri@riverbed.com</a>&gt;, Siddharth Mundle &lt;<a href="mailto:Siddharth.Mundle@riverbed.com">Siddharth.Mundle@riverbed.com</a>&gt;,
 &quot;Corredor, Alejandro&quot; &lt;<a href="mailto:alejandro.corredor@intel.com">alejandro.corredor@intel.com</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>RE: [ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface.<br>
</div>
<div><br>
</div>
<span style="mso-bookmark:_MailOriginalBody">
<div xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Hi Anirudh,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Is this still an issue for you?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">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 &nbsp;using vhostuser.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">If this is still an issue could your provide the OVS logs for you system when the problem occurs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Ian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><a name="_____replyseparator"></a><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">
<a href="mailto:ovs-discuss-bounces@openvswitch.org">ovs-discuss-bounces@openvswitch.org</a> [<a href="mailto:ovs-discuss-bounces@openvswitch.org">mailto:ovs-discuss-bounces@openvswitch.org</a>]
<b>On Behalf Of </b>Anirudh Chanagiri<br>
<b>Sent:</b> Thursday, February 22, 2018 5:31 AM<br>
<b>To:</b> <a href="mailto:bugs@openvswitch.org">bugs@openvswitch.org</a><br>
<b>Cc:</b> Ramana Pillalamarri &lt;<a href="mailto:Ramana.Pillalamarri@riverbed.com">Ramana.Pillalamarri@riverbed.com</a>&gt;; Siddharth Mundle &lt;<a href="mailto:Siddharth.Mundle@riverbed.com">Siddharth.Mundle@riverbed.com</a>&gt;; Corredor, Alejandro &lt;<a href="mailto:alejandro.corredor@intel.com">alejandro.corredor@intel.com</a>&gt;<br>
<b>Subject:</b> [ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">Hello everyone,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">We are having some &nbsp;issues using ovs-dpdk with vhostuser interface,&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">Seeking your help on the same.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:#7F007F">Description of the issue :</span></b><span style="font-size:10.5pt;color:#7F007F"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.5pt;color:#7F007F">Setup Details:</span></b><span style="font-size:10.5pt;color:#7F007F"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1. &nbsp;Host is &nbsp;an Ubuntu 17.04.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">&nbsp; 2. &nbsp;We have created an open OVS switch with 2 arms &nbsp;, 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.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">&nbsp;&nbsp;3. &nbsp;Inside the Ubuntu VM , we are
</span><span style="font-size:10.5pt;color:red;background:yellow">not running</span><span style="font-size:10.5pt;color:#7F007F"> &nbsp;any DPDK based application.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">&nbsp; 4. &nbsp;We just want to check the connectivity of the guest VM to the outside world using DPDK-OVS<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.5pt;color:#7F007F">Version details</span></b><span style="font-size:10.5pt;color:#7F007F">:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">1. &nbsp;Open v switch version.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">ovs-vswitchd --version ovs-vswitchd (Open vSwitch) 2.8.0&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">2. Guest Ubuntu 16.04, &nbsp;Kernel version&nbsp;4.4.0-62-generic<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">3. &nbsp;Host &nbsp;Ubuntu 17.04, Kernel version 4.13.0-32-generic&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">4. DPDK version&nbsp;17.05.2<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">&nbsp; &nbsp; &nbsp; &nbsp;<b>Problem description:</b><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">We are unable to have connectivity to/from the VM &nbsp;using OVS-DPDK vhostuser interface.&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">1. &nbsp;If we assign an ip to the OVS bridge and try pinging it, even that doesn’t work.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">2. &nbsp;If use a tun/tap interface instead of dpdkvhostuser interface the connectivity works fine. So the issue is specific to dpdkvhostuser interface.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">Seeking your help to resolve the same.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">Attaching the output of some useful commands and a setup diagram.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">Regards,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F">Anirudh<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#7F007F"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</span></span>
</body>
</html>