<div dir="ltr"><div class="gmail-nH gmail-aHU" style="color:rgb(32,33,36);font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="gmail-nH gmail-hx" style="background-color:transparent;color:rgb(34,34,34);min-width:502px;padding:0px"><div class="gmail-nH" role="list"><div class="gmail-h7 gmail-ie gmail-nH gmail-oy8Mbf" role="listitem" aria-expanded="true" tabindex="-1" style="clear:both;padding-bottom:0px;max-width:100000px;outline:none"><div class="gmail-Bk" style="margin-bottom:0px;border-width:0px;border-top-style:solid;border-right-style:initial;border-bottom-style:initial;border-left-style:initial;border-top-color:rgb(239,239,239);border-right-color:initial;border-left-color:initial;border-bottom-color:initial;border-radius:0px;float:left;width:1402.02px"><div class="gmail-G3 gmail-G2" style="padding-top:0px;background-color:transparent;border-right:0px;border-bottom:0px rgba(100,121,143,0.12);border-left:0px;border-top:none;border-radius:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><div><div id="gmail-:2et"><div class="gmail-adn gmail-ads" style="border-left:none;padding:0px;display:flex"><div class="gmail-gs" style="margin:0px;padding:0px 0px 20px;width:1330.03px"><div class="gmail-"><div id="gmail-:2dz" class="gmail-ii gmail-gt" style="direction:ltr;margin:8px 0px 0px;padding:0px;font-size:0.875rem"><div id="gmail-:2ef" class="gmail-a3s gmail-aiL" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif;overflow:hidden"><div dir="ltr">Hi Team,<div><br></div><div>I am trying to set-up 8 Tx-Queues (but only 1 Rx-Queue) and burst traffic out of different Tx-Queues from the same cpu core on an ixgbe nic (10G). Although transmitted packets reach the peer, reading the statistics indicates only the Tx-q[0] has non-zero packets and bytes count, the rest of the Tx-q[1] to Tx-q[7] all have zero packets and bytes count. </div><div><br></div><div>I am following the below sequence. </div><div><br></div><div>1. configuration<br>rte_eth_dev_configure(port-id, 1 /* only 1 rx-q */, 8 /* tx-queues */, &dev_conf /* memset of 0 on this dev_conf done */);<br><br>2. tx queue set-up<br>struct rte_eth_dev_info dev_info;<br>rte_eth_dev_info_get(port-id, &dev_info);<br><br>struct rte_eth_txconf tx_conf;<br>memcpy(&tx_conf, &dev_info.default_txconf, sizeof tx_conf);<br>for(i=0; i<8; i++) {<br>rte_eth_tx_queue_setup(port-id, i /* queue-id */, 1024 /* num_of_txdesc */, numa_node, &tx_conf;)<br>}<br><br>3. rx queue set-up<br>rte_eth_rx_queue_setup(port-id, 0, 1024 /* num_of_rxdesc */, &rx_conf, mbuf_pool);<br><br>4. start the port<br>rte_eth_dev_start(port-id);<br><br>5. call the below tx burst function with different queue-id (range 0 to 7) every-time for every burst of new packets to be transmitted<br>rte_eth_tx_burst(port-id, queue-id, pkts_burst, nb_pkts_burst);<br><br>6. read stats using rte_eth_xstats_get and verified that only the first tx-q has non-zero packets and bytes count, rest of the tx-q's have 0 packets and bytes count.<br></div><div><br></div><div>What could be wrong here? Appreciate any help. </div><div><br></div><div>Thanks & Regards,</div><div>Rajasekhar</div></div><div class="gmail-yj6qo"></div><div class="gmail-adL"></div></div></div><div class="gmail-hi" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px;padding:0px;width:auto;background:rgb(242,242,242);margin:0px"></div></div></div><div class="gmail-ajx" style="clear:both"></div></div><div class="gmail-gA gmail-gt gmail-acV" style="font-size:0.875rem;padding:0px;width:auto;border-bottom-left-radius:0px;border-bottom-right-radius:0px;border-top:none;margin:0px;background:transparent"><div class="gmail-gB gmail-xu" style="border-top:0px;padding:0px"><div class="gmail-ip gmail-iq" style="clear:both;margin:0px;padding:16px 0px;border-top:none"><div id="gmail-:2e0"><table class="gmail-cf gmail-wS" role="presentation" style="border-collapse:collapse"><tbody><tr><td class="gmail-amq" style="padding:0px 16px;vertical-align:top;width:44px"><img id="gmail-:16h_11" name=":16h" src="https://lh3.googleusercontent.com/a/AEdFTp6cYuPzH6SOsRLGNslKmqzOwftLC_ergHZZ6wf3=s40-p-mo" class="gmail-ajn gmail-bofPge" style="display: block; width: 40px; height: 40px; border-radius: 50%;"></td><td class="gmail-amr" style="padding:0px;width:1330.03px"><div class="gmail-nr gmail-wR" style="box-sizing:border-box;border-radius:1px;padding:0px;border:none;margin:0px"><div class="gmail-amn" style="color:inherit;height:auto;padding:0px;display:flex;line-height:20px"><span id="gmail-:2dn" role="link" tabindex="0" class="gmail-ams gmail-bkH" style="border:1px solid rgb(116,119,117);display:inline-flex;font-size:0.875rem;background:none;border-radius:18px;box-sizing:border-box;color:rgb(68,71,70);height:36px;outline:none;padding:0px 16px 0px 12px;min-width:104px;margin-right:8px">Reply</span><span id="gmail-:2es" role="link" tabindex="0" class="gmail-ams gmail-bkG" style="border:1px solid rgb(116,119,117);display:inline-flex;font-size:0.875rem;background:none;border-radius:18px;box-sizing:border-box;color:rgb(68,71,70);height:36px;outline:none;padding:0px 16px 0px 12px;min-width:104px;margin-right:8px">Forward</span></div></div></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div><div class="gmail-nH"></div><div class="gmail-nH"></div></div></div><div class="gmail-nH" style="color:rgb(32,33,36);font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><br class="gmail-Apple-interchange-newline"></div></div>