<div dir="ltr"><div dir="ltr">Hi Stephen/Long,<div>dpdk_netvsc_port_configure:1873 Configure port eth2/2. I am testing using TCP traffic (iperf3 tool) generated between pair of client and servers with DPDK app forward traffic between client and servers.</div><div>These are the config being passed for configuring netvsc:</div><div>lsc_intr=1</div><div>rxq/txq=2/2, </div><div>rss is enabled with rss_hf=0x0000000000000c30 </div><div>tx_ol=0x00000000000006 </div><div>rx_ol=0x00000000080007<br></div><div><br></div><div>Rsskey len is 64.</div><div><div style="color:rgb(51,51,51);background-color:rgb(245,245,245);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;line-height:18px;white-space:pre"><div> <span style="color:rgb(122,62,157)">struct</span> rte_eth_conf conf <span style="color:rgb(119,119,119)">=</span> <span style="color:rgb(119,119,119)">{</span></div><div> .intr_conf <span style="color:rgb(119,119,119)">=</span> <span style="color:rgb(119,119,119)">{</span></div><div> .lsc <span style="color:rgb(119,119,119)">=</span> <span style="color:rgb(119,119,119)">!</span><span style="color:rgb(122,62,157)">dpdk</span><span style="color:rgb(119,119,119)">.</span><span style="color:rgb(122,62,157)">lsc_intr_disable</span> <span style="color:rgb(119,119,119)">&&</span> <span style="color:rgb(119,119,119)">!</span><span style="color:rgb(122,62,157)">dpdk_if</span><span style="color:rgb(119,119,119)">-></span><span style="color:rgb(122,62,157)">lsc_intr_disable</span> <span style="color:rgb(119,119,119)">&&</span></div><div> <span style="color:rgb(119,119,119)">!!(</span><span style="color:rgb(122,62,157)">dev</span><span style="color:rgb(119,119,119)">-></span><span style="color:rgb(122,62,157)">data</span><span style="color:rgb(119,119,119)">-></span><span style="color:rgb(122,62,157)">dev_flags</span> <span style="color:rgb(119,119,119)">&</span> RTE_ETH_DEV_INTR_LSC<span style="color:rgb(119,119,119)">),</span></div><div> <span style="color:rgb(119,119,119)">},</span></div><div> .rxmode <span style="color:rgb(119,119,119)">=</span> <span style="color:rgb(119,119,119)">{</span></div><div> .mq_mode <span style="color:rgb(119,119,119)">=</span> RTE_ETH_MQ_RX_RSS<span style="color:rgb(119,119,119)">,</span></div><div> .offloads <span style="color:rgb(119,119,119)">=</span> RTE_ETH_RX_OFFLOAD_VLAN_STRIP <span style="color:rgb(119,119,119)">|</span> RTE_ETH_RX_OFFLOAD_IPV4_CKSUM <span style="color:rgb(119,119,119)">|</span></div><div> RTE_ETH_RX_OFFLOAD_RSS_HASH <span style="color:rgb(119,119,119)">|</span> RTE_ETH_RX_OFFLOAD_UDP_CKSUM<span style="color:rgb(119,119,119)">,</span></div><div> <span style="color:rgb(119,119,119)">},</span></div><div> .<span style="color:rgb(122,62,157)">rx_adv_conf</span><span style="color:rgb(119,119,119)">.</span><span style="color:rgb(122,62,157)">rss_conf</span> <span style="color:rgb(119,119,119)">=</span> <span style="color:rgb(119,119,119)">{</span></div><div> .rss_hf <span style="color:rgb(119,119,119)">=</span> RTE_ETH_RSS_NONFRAG_IPV4_UDP <span style="color:rgb(119,119,119)">|</span> RTE_ETH_RSS_NONFRAG_IPV4_TCP <span style="color:rgb(119,119,119)">|<br></span> RTE_ETH_RSS_NONFRAG_IPV6_TCP<span style="color:rgb(119,119,119)">,</span></div><div> .rss_key <span style="color:rgb(119,119,119)">=</span> conf_rss_key<span style="color:rgb(119,119,119)">,</span></div><div> .rss_key_len <span style="color:rgb(119,119,119)">=</span> rss_key_len<span style="color:rgb(119,119,119)">,</span></div><div> <span style="color:rgb(119,119,119)">},</span></div><div> .txmode <span style="color:rgb(119,119,119)">=</span> <span style="color:rgb(119,119,119)">{</span></div><div> .offloads <span style="color:rgb(119,119,119)">=</span> RTE_ETH_TX_OFFLOAD_UDP_CKSUM <span style="color:rgb(119,119,119)">|</span> RTE_ETH_TX_OFFLOAD_IPV4_CKSUM<span style="color:rgb(119,119,119)">,</span></div><div> <span style="color:rgb(119,119,119)">},</span></div></div></div></div><br><div class="gmail_quote"><div class="gmail_attr">Regards,</div><div class="gmail_attr">Nandini</div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">On Tue, Sep 3, 2024 at 5:03 PM Stephen Hemminger <<a href="mailto:stephen@networkplumber.org">stephen@networkplumber.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 3 Sep 2024 14:43:28 -0700<br>
Nandini Rangaswamy <<a href="mailto:nandini.rangaswamy@broadcom.com" target="_blank">nandini.rangaswamy@broadcom.com</a>> wrote:<br>
<br>
> Hi Stephen and Long,<br>
> I was going through one of the netvsc patches<br>
> <a href="https://mails.dpdk.org/archives/dev/2018-August/110559.html" rel="noreferrer" target="_blank">https://mails.dpdk.org/archives/dev/2018-August/110559.html</a> which mentioned<br>
> that netvsc and failsafe give the same performance in VF path whereas for<br>
> some exception path tests, about 22% performance gain in seen.<br>
> I ran some tests locally with my dpdk app integrated with netvsc PMD and<br>
> observed that netvsc does give nearly the same performance as failsafe in<br>
> the VF path.<br>
> Since the official document does not explicitly cite this, I would like to<br>
> confirm if this holds good.<br>
> Regards,<br>
> Nandini<br>
> <br>
<br>
Shouldn't be. What settings are you using.<br>
Both failsafe and netvsc just pass packets to VF if present.<br>
There is even more locks to go through with failsafe.<br>
<br>
Are you sure the test doesn't exercise something like checksumming which<br>
maybe different.<br>
</blockquote></div></div>
<br>
<span style="background-color:rgb(255,255,255)"><font size="2">This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.</font></span>