<div dir="ltr">Hi Joshua,<div>I have modified the tx_only.c in testpmd to reflect the actual IP addresses of the LAN and WAN interfaces. I enabled verbose logs and verified that the packets originated from WAN port are reaching LAN port and vice-versa.</div><div><br></div><div>A snapshot of running testpmd with verbose logs enabled is shown below:</div><div><p style="margin:0in;font-family:Calibri;font-size:11pt">/opt/vc/bin/dpdk-testpmd
-l 1-3 -n 1 -a f030:00:02.0  -a
2334:00:02.0 -- --rxq=2 --txq=2  -i</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">EAL: Detected CPU
lcores: 8</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">EAL: Detected NUMA
nodes: 1</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">EAL: Detected static
linkage of DPDK</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">EAL: Multi-process
socket /var/run/dpdk/rte/mp_socket</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">EAL: Selected IOVA
mode 'PA'</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">EAL: VFIO support
initialized</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">EAL: Probe PCI
driver: mlx5_pci (15b3:1016) device: 2334:00:02.0 (socket -1)</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">mlx5_net: No
available register for sampler.</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">EAL: Probe PCI
driver: mlx5_pci (15b3:1016) device: f030:00:02.0 (socket -1)</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">mlx5_net: No
available register for sampler.</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">hn_vf_attach():
found matching VF port 0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">hn_vf_attach():
found matching VF port 1</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">TELEMETRY: No legacy
callbacks, legacy socket not created</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">Interactive-mode
selected</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">testpmd: create a
new mbuf pool <mb_pool_0>: n=326912, size=2560, socket=0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">testpmd: preferred
mempool ops selected: ring_mp_mc</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">Configuring Port 2
(socket 0)</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">Port 2:
00:0D:3A:42:F8:3C</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">Configuring Port 3
(socket 0)</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">Port 3:
00:0D:3A:42:FB:CD</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">Checking link
statuses...</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">Done</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">testpmd> set
verbose 3</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">Change verbose level
from 0 to 3</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">testpmd> start
tx_first</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">io packet forwarding
- ports=2 - cores=1 - streams=4 - NUMA support enabled, MP allocation mode:
native</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">Logical Core 2
(socket 0) forwards packets on 4 streams:</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">  RX P=2/Q=0 (socket 0) -> TX P=3/Q=0
(socket 0) peer=02:00:00:00:00:03</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">  RX P=3/Q=0 (socket 0) -> TX P=2/Q=0
(socket 0) peer=02:00:00:00:00:02</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">  RX P=2/Q=1 (socket 0) -> TX P=3/Q=1
(socket 0) peer=02:00:00:00:00:03</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">  RX P=3/Q=1 (socket 0) -> TX P=2/Q=1
(socket 0) peer=02:00:00:00:00:02</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt"> </p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">  io packet forwarding packets/burst=32</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">  nb forwarding cores=1 - nb forwarding ports=2</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">  port 2: RX queue number: 2 Tx queue number: 2</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">    Rx offloads=0x80000 Tx offloads=0x0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">    RX queue: 0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      RX desc=256 - RX free threshold=0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      RX threshold registers: pthresh=0
hthresh=0  wthresh=0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      RX Offloads=0x80000</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">    TX queue: 0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      TX desc=256 - TX free threshold=0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      TX threshold registers: pthresh=0
hthresh=0  wthresh=0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      TX offloads=0x0 - TX RS bit threshold=0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">  port 3: RX queue number: 2 Tx queue number: 2</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">    Rx offloads=0x80000 Tx offloads=0x0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">    RX queue: 0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      RX desc=256 - RX free threshold=0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      RX threshold registers: pthresh=0
hthresh=0  wthresh=0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      RX Offloads=0x80000</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">    TX queue: 0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      TX desc=256 - TX free threshold=0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      TX threshold registers: pthresh=0
hthresh=0  wthresh=0</p>

<p style="margin:0in;font-family:Calibri;font-size:11pt">      TX offloads=0x0 - TX RS bit threshold=0</p><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt">port 3/queue 1: sent
13 packets</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  src=00:0D:3A:42:F8:3C - dst=00:0D:3A:42:F8:3C
- pool=mb_pool_0 - type=0x0800 - length=64 - nb_segs=1 - RSS hash=0xef1c29ff -
RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4 L4_UDP  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - Send
queue=0x1</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  ol_flags: RTE_MBUF_F_TX_L4_NO_CKSUM</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  src=00:0D:3A:42:F8:3C - dst=00:0D:3A:42:F8:3C
- pool=mb_pool_0 - type=0x0800 - length=64 - nb_segs=1 - RSS hash=0xef1c29ff -
RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4 L4_UDP  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - Send
queue=0x1</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  ol_flags: RTE_MBUF_F_TX_L4_NO_CKSUM</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  src=00:0D:3A:42:F8:3C - dst=00:0D:3A:42:F8:3C
- pool=mb_pool_0 - type=0x0800 - length=64 - nb_segs=1 - RSS hash=0xef1c29ff -
RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4 L4_UDP  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - Send
queue=0x1</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  ol_flags: RTE_MBUF_F_TX_L4_NO_CKSUM</p><p style="margin:0in;font-family:Calibri;font-size:11pt">...........</p><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt">port 2/queue 1:
received 18 packets</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  src=00:0D:3A:42:F8:3C - dst=00:0D:3A:42:F8:3C
- pool=mb_pool_0 - type=0x0800 - length=64 - nb_segs=1 - RSS hash=0xef1c29ff -
RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4 L4_UDP  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - Receive
queue=0x1</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  ol_flags: RTE_MBUF_F_RX_RSS_HASH
RTE_MBUF_F_RX_L4_CKSUM_UNKNOWN RTE_MBUF_F_RX_IP_CKSUM_GOOD
RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  src=00:0D:3A:42:F8:3C - dst=00:0D:3A:42:F8:3C
- pool=mb_pool_0 - type=0x0800 - length=64 - nb_segs=1 - RSS hash=0xef1c29ff -
RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4 L4_UDP  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - Receive
queue=0x1</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  ol_flags: RTE_MBUF_F_RX_RSS_HASH
RTE_MBUF_F_RX_L4_CKSUM_UNKNOWN RTE_MBUF_F_RX_IP_CKSUM_GOOD
RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  src=00:0D:3A:42:F8:3C - dst=00:0D:3A:42:F8:3C
- pool=mb_pool_0 - type=0x0800 - length=64 - nb_segs=1 - RSS hash=0xef1c29ff -
RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4 L4_UDP  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - Receive
queue=0x1</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  ol_flags: RTE_MBUF_F_RX_RSS_HASH
RTE_MBUF_F_RX_L4_CKSUM_UNKNOWN RTE_MBUF_F_RX_IP_CKSUM_GOOD
RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN</p><p style="margin:0in;font-family:Calibri;font-size:11pt">  src=00:0D:3A:42:F8:3C - dst=00:0D:3A:42:F8:3C
- pool=mb_pool_0 - type=0x0800 - length=64 - nb_segs=1 - RSS hash=0xef1c29ff -
RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4 L4_UDP  - </p><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p></div><div>show port stats shows 0 dropped packets.</div><div>testpmd> show port stats all<br><br>  ######################## NIC statistics for port 2  ########################<br>  RX-packets: 89         RX-missed: 0          RX-bytes:  6126<br>  RX-errors: 0<br>  RX-nombuf:  0<br>  TX-packets: 69         TX-errors: 0          TX-bytes:  4526<br><br>  Throughput (since last show)<br>  Rx-pps:            0          Rx-bps:            0<br>  Tx-pps:            0          Tx-bps:            0<br>  ############################################################################<br><br>  ######################## NIC statistics for port 3  ########################<br>  RX-packets: 5          RX-missed: 0          RX-bytes:  430<br>  RX-errors: 0<br>  RX-nombuf:  0<br>  TX-packets: 153        TX-errors: 0          TX-bytes:  10222<br><br>  Throughput (since last show)<br>  Rx-pps:            0          Rx-bps:            0<br>  Tx-pps:            0          Tx-bps:            0<br>  ############################################################################<br>testpmd> stop<br>Telling cores to stop...<br>Waiting for lcores to finish...<br><br>  ------- Forward Stats for RX Port= 2/Queue= 0 -> TX Port= 3/Queue= 0 -------<br>  RX-packets: 5              TX-packets: 5              TX-dropped: 0<br><br>  ------- Forward Stats for RX Port= 3/Queue= 0 -> TX Port= 2/Queue= 0 -------<br>  RX-packets: 2              TX-packets: 2              TX-dropped: 0<br><br>  ------- Forward Stats for RX Port= 2/Queue= 1 -> TX Port= 3/Queue= 1 -------<br>  RX-packets: 11             TX-packets: 11             TX-dropped: 0<br><br>  ------- Forward Stats for RX Port= 3/Queue= 1 -> TX Port= 2/Queue= 1 -------<br>  RX-packets: 2              TX-packets: 2              TX-dropped: 0<br><br>  ---------------------- Forward statistics for port 2  ----------------------<br>  RX-packets: 16             RX-dropped: 0             RX-total: 16<br>  TX-packets: 4              TX-dropped: 0             TX-total: 4<br>  ----------------------------------------------------------------------------<br><br>  ---------------------- Forward statistics for port 3  ----------------------<br>  RX-packets: 4              RX-dropped: 0             RX-total: 4<br>  TX-packets: 16             TX-dropped: 0             TX-total: 16<br>  ----------------------------------------------------------------------------<br><br>  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++<br>  RX-packets: 20             RX-dropped: 0             RX-total: 20<br>  TX-packets: 20             TX-dropped: 0             TX-total: 20<br>  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br></div><div><br></div><div>Regards,</div><div>Nandini</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 5, 2024 at 10:39 AM Knight, Joshua <<a href="mailto:Joshua.Knight@netscout.com" target="_blank">Joshua.Knight@netscout.com</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"><div>





<div lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11pt">Have you also performed the modification of txonly.c that Microsoft recommends on that page?<br>
<br>
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:11pt">“When you're running the previous commands on a virtual machine, change
<i>IP_SRC_ADDR</i> and <i>IP_DST_ADDR</i> in app/test-pmd/txonly.c to match the actual IP address of the virtual machines before you compile. Otherwise, the packets are dropped before reaching the forwarder.”<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Keep in mind that in Azure you do not have a true L2 network between two interfaces even on the same subnet, it’s all routed via the subnet gateway (x.x.x.1, mac addr 12:34:56:78:9a:bc). I would not expect
 an L2 forwarding app to behave in the same way as a regular VM or hardware.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">I haven’t personally used testpmd in this way in Azure, but I’ve used dpdk-pktgen and it took some effort to get traffic to go to the right place.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Josh<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div id="m_3352765031030222552m_-6198724762548432611mail-editor-reference-message-container">
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal" style="margin-bottom:12pt"><b><span style="color:black">From:
</span></b><span style="color:black">Nandini Rangaswamy <<a href="mailto:nandini.rangaswamy@broadcom.com" target="_blank">nandini.rangaswamy@broadcom.com</a>><br>
<b>Date: </b>Tuesday, June 4, 2024 at 5:41</span><span style="font-family:Arial,sans-serif;color:black"> </span><span style="color:black">PM<br>
<b>To: </b><a href="mailto:users@dpdk.org" target="_blank">users@dpdk.org</a> <<a href="mailto:users@dpdk.org" target="_blank">users@dpdk.org</a>><br>
<b>Subject: </b>DPDK Netvsc - Observing very low throughput while running Testpmd<u></u><u></u></span></p>
</div>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;background:rgb(151,215,0)">
<tbody>
<tr>
<td style="padding:3.75pt">
<p class="MsoNormal" align="center" style="text-align:center">
<strong><span style="font-family:Arial,sans-serif;color:black">External Email:</span></strong><span style="font-family:Arial,sans-serif;color:black"> This message originated outside of NETSCOUT. Do not click links or open attachments unless you recognize
 the sender and know the content is safe.</span><span style="color:black"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<pre><span style="color:black">Hello,<u></u><u></u></span></pre>
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">I am trying to set up dpdk with netvsc as master pmd on Azure following<u></u><u></u></span></pre>
<pre><span style="color:black"><a href="https://urldefense.com/v3/__https:/learn.microsoft.com/en-us/azure/virtual-network/setup-dpdk?tabs=ubuntu__;!!Nzg7nt7_!DIO3zKw40G4AxE_-evQ3vl9Vxp7PnlZbGUeO13VIodyHztwPRtH-KWrulxZLFxiX8ju5ZLv_j7a0OwB861hb45HZEaLQ4VzvPQ$" target="_blank">https://learn.microsoft.com/en-us/azure/virtual-network/setup-dpdk?tabs=ubuntu</a><u></u><u></u></span></pre>
<pre><span style="color:black">and<u></u><u></u></span></pre>
<pre><span style="color:black"><a href="https://urldefense.com/v3/__https:/doc.dpdk.org/guides-22.11/nics/netvsc.html__;!!Nzg7nt7_!DIO3zKw40G4AxE_-evQ3vl9Vxp7PnlZbGUeO13VIodyHztwPRtH-KWrulxZLFxiX8ju5ZLv_j7a0OwB861hb45HZEaJPLi_Wcg$" target="_blank">https://doc.dpdk.org/guides-22.11/nics/netvsc.html</a>.<u></u><u></u></span></pre>
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">On the Azure VM, I have a LAN and a WAN interface with accelerated networking enabled.I have unbound both the VMBUS devices from the kernel and bound it to uio_hv_generic.The DPDK version is 22.11 running on openwrt 5.15.150.<u></u><u></u></span></pre>
<pre><span style="color:black">When I try running testpmd in io mode to send and receive traffic between LAN and WAN port, I notice very low throughput.  Please find the testpmd command and stats below:<u></u><u></u></span></pre>
<pre><span style="color:black">/opt/vc/bin/dpdk-testpmd -l 1-3 -n 1 -a f030:00:02.0  -a 2334:00:02.0 -- --rxq=1 --txq=1  -i<br>EAL: Detected CPU lcores: 8<br>EAL: Detected NUMA nodes: 1<br>EAL: Detected static linkage of DPDK<br>EAL: Multi-process socket /var/run/dpdk/rte/mp_socket<br>EAL: Selected IOVA mode 'PA'<br>EAL: Debug dataplane logs available - lower performance<br>EAL: VFIO support initialized<br>EAL: Probe PCI driver: mlx5_pci (15b3:1016) device: 2334:00:02.0 (socket -1)<br>mlx5_net: No available register for sampler.<br>EAL: Probe PCI driver: mlx5_pci (15b3:1016) device: f030:00:02.0 (socket -1)<br>mlx5_net: No available register for sampler.<br>hn_vf_attach(): found matching VF port 0<br>hn_vf_attach(): found matching VF port 1<br>TELEMETRY: No legacy callbacks, legacy socket not created<br>Interactive-mode selected<br>testpmd: create a new mbuf pool <mb_pool_0>: n=326912, size=2560, socket=0<br>testpmd: preferred mempool ops selected: ring_mp_mc<br>Configuring Port 2 (socket 0)<br>Port 2: 00:0D:3A:42:F8:3C<br>Configuring Port 3 (socket 0)<br>Port 3: 00:0D:3A:42:FB:CD<br>Checking link statuses...<br>Done<br>testpmd> start tx_first<br>io packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native<br>Logical Core 2 (socket 0) forwards packets on 2 streams:<br>  RX P=2/Q=0 (socket 0) -> TX P=3/Q=0 (socket 0) peer=02:00:00:00:00:03<br>  RX P=3/Q=0 (socket 0) -> TX P=2/Q=0 (socket 0) peer=02:00:00:00:00:02<br><br>  io packet forwarding packets/burst=32<br>  nb forwarding cores=1 - nb forwarding ports=2<br>  port 2: RX queue number: 1 Tx queue number: 1<br>    Rx offloads=0x0 Tx offloads=0x0<br>    RX queue: 0<br>      RX desc=256 - RX free threshold=0<br>      RX threshold registers: pthresh=0 hthresh=0  wthresh=0<br>      RX Offloads=0x0<br>    TX queue: 0<br>      TX desc=256 - TX free threshold=0<br>      TX threshold registers: pthresh=0 hthresh=0  wthresh=0<br>      TX offloads=0x0 - TX RS bit threshold=0<br>  port 3: RX queue number: 1 Tx queue number: 1<br>    Rx offloads=0x0 Tx offloads=0x0<br>    RX queue: 0<br>      RX desc=256 - RX free threshold=0<br>      RX threshold registers: pthresh=0 hthresh=0  wthresh=0<br>      RX Offloads=0x0<br>    TX queue: 0<br>      TX desc=256 - TX free threshold=0<br>      TX threshold registers: pthresh=0 hthresh=0  wthresh=0<br>      TX offloads=0x0 - TX RS bit threshold=0<br>testpmd> show port stats all<br><br>  ######################## NIC statistics for port 2  ########################<br>  RX-packets: 34         RX-missed: 0          RX-bytes:  2194<br>  RX-errors: 0<br>  RX-nombuf:  0<br>  TX-packets: 32         TX-errors: 0          TX-bytes:  2048<br><br>  Throughput (since last show)<br>  Rx-pps:            0          Rx-bps:            0<br>  Tx-pps:            0          Tx-bps:            0<br>  ############################################################################<br><br>  ######################## NIC statistics for port 3  ########################<br>  RX-packets: 1          RX-missed: 0          RX-bytes:  86<br>  RX-errors: 0<br>  RX-nombuf:  0<br>  TX-packets: 64         TX-errors: 0          TX-bytes:  4096<br><br>  Throughput (since last show)<br>  Rx-pps:            0          Rx-bps:            0<br>  Tx-pps:            0          Tx-bps:            0<br>  ############################################################################<br>testpmd> show port stats all<br><br>  ######################## NIC statistics for port 2  ########################<br>  RX-packets: 34         RX-missed: 0          RX-bytes:  2194<br>  RX-errors: 0<br>  RX-nombuf:  0<br>  TX-packets: 32         TX-errors: 0          TX-bytes:  2048<br><br>  Throughput (since last show)<br>  Rx-pps:            0          Rx-bps:            0<br>  Tx-pps:            0          Tx-bps:            0<br>  ############################################################################<br><br>  ######################## NIC statistics for port 3  ########################<br>  RX-packets: 1          RX-missed: 0          RX-bytes:  86<br>  RX-errors: 0<br>  RX-nombuf:  0<br>  TX-packets: 64         TX-errors: 0          TX-bytes:  4096<br><br>  Throughput (since last show)<br>  Rx-pps:            0          Rx-bps:            0<br>  Tx-pps:            0          Tx-bps:            0<br>  ############################################################################<br>testpmd> show port stats all<br><br>  ######################## NIC statistics for port 2  ########################<br>  RX-packets: 34         RX-missed: 0          RX-bytes:  2194<br>  RX-errors: 0<br>  RX-nombuf:  0<br>  TX-packets: 32         TX-errors: 0          TX-bytes:  2048<br><br>  Throughput (since last show)<br>  Rx-pps:            0          Rx-bps:            0<br>  Tx-pps:            0          Tx-bps:            0<br>  ############################################################################<br><br>  ######################## NIC statistics for port 3  ########################<br>  RX-packets: 1          RX-missed: 0          RX-bytes:  86<br>  RX-errors: 0<br>  RX-nombuf:  0<br>  TX-packets: 64         TX-errors: 0          TX-bytes:  4096<br><br>  Throughput (since last show)<br>  Rx-pps:            0          Rx-bps:            0<br>  Tx-pps:            0          Tx-bps:            0<br>  ############################################################################<br>testpmd> quit<br>Telling cores to stop...<br>Waiting for lcores to finish...<br><br>  ---------------------- Forward statistics for port 2  ----------------------<br>  RX-packets: 32             RX-dropped: 0             RX-total: 32<br>  TX-packets: 32             TX-dropped: 0             TX-total: 32<br>  ----------------------------------------------------------------------------<br><br>  ---------------------- Forward statistics for port 3  ----------------------<br>  RX-packets: 0              RX-dropped: 0             RX-total: 0<br>  TX-packets: 64             TX-dropped: 0             TX-total: 64<br>  ----------------------------------------------------------------------------<br><br>  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++<br>  RX-packets: 32             RX-dropped: 0             RX-total: 32<br>  TX-packets: 96             TX-dropped: 0             TX-total: 96<br>  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br><br>Done.<br><br>Stopping port 2...<br>Stopping ports...<br>Done<br><br>Stopping port 3...<br>Stopping ports...<br>Done<br><br>Shutting down port 2...<br>Closing ports...<br>Port 0 is closed<br>Port 2 is closed<br>Done<br><br>Shutting down port 3...<br>Closing ports...<br>Port 1 is closed<br>Port 3 is closed<br>Done<br><br>Bye...<u></u><u></u></span></pre>
<pre><span style="color:black">If I try with 2 queues , the throughput only slightly improves. I expected to see larger values.<u></u><u></u></span></pre>
<pre><span style="color:black">After enabling debug logs i observe that<u></u><u></u></span></pre>
<pre><span style="color:black">1. Both the VMbus devices are being probed and matching VF devices found<u></u><u></u></span></pre>
<pre><span style="color:black">2. VF devices are being configured with Rx and Tx queue setup.<u></u><u></u></span></pre>
<pre><span><span style="color:black">Any ideas what I might be doing wrong?</span></span><span style="color:black"><u></u><u></u></span></pre>
<pre><span><span style="color:black">Regards,</span></span><span style="color:black"><u></u><u></u></span></pre>
<pre><span><span style="color:black">Nandini</span></span><span style="color:black"><u></u><u></u></span></pre>
</div>
<p class="MsoNormal"><br>
<span style="font-size:10pt;color:black;background:white">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.</span> <u></u><u></u></p>
</div>
</div>
</div>
</div>

</div></blockquote></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>