<div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt" id="gmail-docs-internal-guid-2bd88aa8-7fff-11ca-8673-0c851d0890cb"><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Hi Team,</span></p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">I have a dual port 10Gbps</span><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> "X710 SFP + 1572"</span><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> NIC card, created 2 VFs on both the ports.</span></p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">dpdk l2fwd application is able to achieve throughput of ~9Gbps when using VFs on same port i.e. VF0 receives the external traffic and sends out on VF1 belonging to the same port (flow in green)</span></p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><span style="border:medium none;display:inline-block;overflow:hidden;width:624px;height:299px"><img src="https://lh3.googleusercontent.com/-FPYCaeXLZUDFwt6bLADiuvrInlnIkzNmtThPRAz-0XKS31UKqayXOa_5-B9pu8gnX6m2IcsT1n2VUn7S8S7qciaB5P_zLmU8u40MMVlKn4yJLzeIcHtYK16cKUnXb5VnRTaqZEQB-PUZpyeLgO8zYXiGCxf9iI5B6icfxDHhFBcMRyE46NvnPfUnA" style="margin-left: 0px; margin-top: 0px;" width="624" height="299"></span></span></p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">However when l2fwd (app1) receives the external traffic on one port and sends it to another application(another instance of l2fwd) on different port, the throughput drops down to 3.4Gbps, i.e. VF0 receives the external traffic and sends it to VF2 on a different port (flow in red)..</span></p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">DPDK application(app1) on VF0 is able to send the traffic but the application(app2) is not able to receive all the traffic ; it can only receive max of 3.4Gbps. There is a packet loss when inter VF communication happens. But no error stats in dpdk are increased.</span></p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Is this happening at PCI level ?</span></p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Please help me understand the potential problem and suggest any pointers on how to proceed further.</span></p><p dir="ltr" style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p><p style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Thanks,</span></p><p style="line-height:1.38;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:11.5pt;font-family:Arial;color:rgb(35,38,41);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Somesh<br></span></p></div></div>