<html 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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@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]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">FYI, I have also created a patchsets with rebased TSO and MBuf patches &nbsp;on recent master.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">It also contains some fixes to tests.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Please have a look at ovs-dev mailing list:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><a href="https://mail.openvswitch.org/pipermail/ovs-dev/2019-September/362528.html">https://mail.openvswitch.org/pipermail/ovs-dev/2019-September/362528.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">https://mail.openvswitch.org/pipermail/ovs-dev/2019-September/362544.html<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">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Michal Obrembski<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></a></p>
<p class="MsoNormal"><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"> ovs-discuss-bounces@openvswitch.org [mailto:ovs-discuss-bounces@openvswitch.org]
<b>On Behalf Of </b>Harsh Gondaliya<br>
<b>Sent:</b> Sunday, September 8, 2019 4:59 AM<br>
<b>To:</b> Stokes, Ian &lt;ian.stokes@intel.com&gt;<br>
<b>Cc:</b> Fanny Wakizaka &lt;fanny.wakizaka@zpesystems.com&gt;; ovs-discuss@openvswitch.org; Murali Veluru &lt;murali.veluru@zpesystems.com&gt;<br>
<b>Subject:</b> Re: [ovs-discuss] TSO changes with OVS-DPDK for higher throughput<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Hi Ian,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">In May this year, through mailing list you had sent me pointers to patches to enable Multi-Segment mbuf &amp; TSO. Yes, the patches apply to the adb3f0b (&quot;python: Avoid flake8 warning for unused variables.&quot;) commit. It took me some time to
 figure out that DPDK 18.11.2 stable version needs to be used for this version of OvS code.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">I have just created a repository&nbsp;<a href="https://github.com/harshgondaliya/ovs-dpdk-with-tso">https://github.com/harshgondaliya/ovs-dpdk-with-tso</a>&nbsp;having a patched version of OvS code and the compatible DPDK package. It includes a&nbsp;
 wiki that explains in detail&nbsp;<span style="font-size:10.5pt;font-family:&quot;Arial&quot;,sans-serif">―&nbsp;</span>how to setup OvS-DPDK bridge, how to configure VMs to connect to OvS-DPDK bridge. It will help new users like me to get started quickly with using OvS-DPDK
 for Inter-VM communication.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks. Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Harsh Gondaliya<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">On Tue, Jun 25, 2019 at 6:22 PM Ian Stokes &lt;<a href="mailto:ian.stokes@intel.com">ian.stokes@intel.com</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">On 6/25/2019 12:30 PM, Murali Veluru wrote:<br>
&gt; Thank Ian Stokes,<br>
&gt; <br>
&gt; It is very helpful for us. I was trying to apply these patches on <br>
&gt; openvswitch-2.11.1 repository, it was failing.<br>
&gt; <br>
&gt; Some of the files are not found.<br>
&gt; <br>
&gt; Could you, please let me know suitable version of ovs, where these <br>
&gt; patches will get apply successfully.<br>
<br>
Hi Murali,<br>
<br>
the commit these patches can be applied to are listed in the cover <br>
letter for the patchsets.<br>
<br>
I believe you want to check out the following commit from the ovs master <br>
branch (this commit was pre 2.11 release)<br>
<br>
adb3f0b (&quot;python: Avoid flake8 warning for unused variables.&quot;)<br>
<br>
You should then be able to apply the mutliseg patchset on top of this <br>
commit (Multiseg is a pre-requirement for enabling TSO, see link below)<br>
<br>
<a href="https://patchwork.ozlabs.org/project/openvswitch/list/?series=85802&amp;state=*" target="_blank">https://patchwork.ozlabs.org/project/openvswitch/list/?series=85802&amp;state=*</a><br>
<br>
Once these are applied you should be able to apply the TSO enablement <br>
patchset then (see link below).<br>
<br>
<a href="https://patchwork.ozlabs.org/project/openvswitch/list/?series=85807&amp;state=*" target="_blank">https://patchwork.ozlabs.org/project/openvswitch/list/?series=85807&amp;state=*</a><br>
<br>
When using the commit as outlined above do these apply for you?<br>
<br>
Regards<br>
Ian<br>
&gt; <br>
&gt; Along with which &nbsp;version of DPDK need to use for compilation?<br>
&gt; <br>
&gt; Regards<br>
&gt; <br>
&gt; Murali<br>
&gt; <br>
&gt; ------------------------------------------------------------------------<br>
&gt; *From:* Ian Stokes &lt;<a href="mailto:ian.stokes@intel.com" target="_blank">ian.stokes@intel.com</a>&gt;<br>
&gt; *Sent:* Monday, June 24, 2019 10:56:34 PM<br>
&gt; *To:* Murali Veluru; <a href="mailto:ovs-discuss@openvswitch.org" target="_blank">
ovs-discuss@openvswitch.org</a><br>
&gt; *Subject:* Re: [ovs-discuss] TSO changes with OVS-DPDK for higher <br>
&gt; throughput<br>
&gt; On 6/24/2019 1:03 PM, Murali Veluru wrote:<br>
&gt;&gt; Hi All,<br>
&gt;&gt; <br>
&gt;&gt; I am testing ovs-dpdk performance test with the help of IPERF.<br>
&gt;&gt; <br>
&gt;&gt; I created VM using qemu command.<br>
&gt;&gt; <br>
&gt;&gt; I assigned IP 10.0.1.16 to VM and other device IP is 10.0.1.18 (Dev2). I <br>
&gt;&gt; am able to ping and able to run IPERF.<br>
&gt;&gt; <br>
&gt;&gt; It is giving average output ~3.5G form VM to DEV2 on 10G physical <br>
&gt;&gt; interface. form DEV2 to VM it is 5.7G throughput.<br>
&gt;&gt; <br>
&gt;&gt; I used below version.<br>
&gt;&gt; <br>
&gt;&gt; DPDK: dpdk-18.11.1.tar.xz<br>
&gt;&gt; <br>
&gt;&gt; OVS: openvswitch-2.11.1<br>
&gt;&gt; <br>
&gt;&gt;&nbsp; From Intel document I found TSO changes but it was for 2.6 version. <br>
&gt;&gt; somehow I managed to apply on openvswitch-2.11.1 file.<br>
&gt;&gt; <br>
&gt;&gt; With TSO disable I am able to do ssh other IP address of DEV2. After <br>
&gt;&gt; enable TSO with the help of qemu command IPERF and SSH is getting hanged.<br>
&gt;&gt; <br>
&gt;&gt; <a href="https://mail.openvswitch.org/pipermail/ovs-dev/2018-August/350834.html" target="_blank">
https://mail.openvswitch.org/pipermail/ovs-dev/2018-August/350834.html</a><br>
&gt;&gt; <br>
&gt;&gt; Is openvswitch-2.11.1 supports TSO enable by default?<br>
&gt; <br>
&gt; Hi,<br>
&gt; <br>
&gt; TSO is not available in OVS 2.11. There were patches submitted for that<br>
&gt; release but unfortunately it did not make it upstream due to some<br>
&gt; regression performance concerns for non TSO usecases. Intel is currently<br>
&gt; planning to review rework the patchset to address the issues and will be<br>
&gt; releasing a new patchset in the coming months.<br>
&gt; <br>
&gt; In the mean time if you wish to test TSO with the previous patchset that<br>
&gt; was available you can follow the mails and patches outlined in the<br>
&gt; following link (it was related to a similar question)<br>
&gt; <br>
&gt; <a href="https://mail.openvswitch.org/pipermail/ovs-discuss/2019-May/048671.html" target="_blank">
https://mail.openvswitch.org/pipermail/ovs-discuss/2019-May/048671.html</a><br>
&gt; <br>
&gt; It's complete with documentation on setup and usage so should be able to<br>
&gt; get you going.<br>
&gt; <br>
&gt; Regards<br>
&gt; Ian<br>
&gt;&gt; <br>
&gt;&gt; Is any patch availble for openvswitch-2.11.1 for TSO changes?<br>
&gt;&gt; <br>
&gt;&gt; Is qemu related changes are required for TSO enable?<br>
&gt;&gt; <br>
&gt;&gt; I used below changes using qemu command.<br>
&gt;&gt; <br>
&gt;&gt; csum=on,gso=on,host_tso4=on,host_tso6=on,host_ecn=on,host_ufo=on,guest_tso4=on,guest_csum=on,guest_tso6=on,guest_ecn=on,guest_ufo=on<br>
&gt;&gt; <br>
&gt;&gt; Thaks lot.<br>
&gt;&gt; <br>
&gt;&gt; Regards<br>
&gt;&gt; <br>
&gt;&gt; Murali<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; discuss mailing list<br>
&gt;&gt; <a href="mailto:discuss@openvswitch.org" target="_blank">discuss@openvswitch.org</a><br>
&gt;&gt; <a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss" target="_blank">
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</a><br>
&gt;&gt; <br>
&gt; <br>
<br>
_______________________________________________<br>
discuss mailing list<br>
<a href="mailto:discuss@openvswitch.org" target="_blank">discuss@openvswitch.org</a><br>
<a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss" target="_blank">https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>