<div dir="ltr"><div>hello,</div><div><br></div><div>I'm trying to capture packets using the following piece of code : <br></div><div><br></div><div>==========================================================</div><div>struct rte_eth_rxconf rxq_conf = dev_info.default_rxconf;<br>    rxq_conf.offloads = port_conf.rxmode.offloads;<br>        rte_eth_rx_queue_setup( 0, 0, num_of_pkts_per_queue, (unsigned int)sock, &rxq_conf, mem_pool );<br>   rte_eth_dev_start( 0 );<br>       while( 1 )<br>    {<br>             num_of_pkts_rcvd = rte_eth_rx_burst( 0, 0, mbuf, num_of_pkts_per_queue );<br>             fprintf( stderr, "num_of_pkts_rcvd: %u\n", num_of_pkts_rcvd );<br>      }<br></div><div>==========================================================<br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>It's always printing num_of_pkts_rcvd as 0.</div><div><br></div><div>Can someone help me understand what the issue is ....<br></div><div dir="ltr"><br>Thanks & Regards<br>--<br>Lokesh Chakka.</div></div></div></div></div></div></div></div></div></div></div></div></div>