<div dir="ltr"><div>hello,</div><div><br></div><div>Here is a small piece of code :</div><div><br></div><div>while( condition )</div><div>{</div><div>
<pre>     if( rte_eth_tx_burst( port_id, 0, mbuf, num_of_pkts_per_queue ) != num_of_pkts_per_queue )
        {
                fprintf( stderr, "%d %s\n", rte_errno, rte_strerror(rte_errno) );
                rte_exit( EXIT_FAILURE, "%s %d rte_eth_tx_burst port id: %u\n", __func__, __LINE__, port_id );//second iteration failing.
        }
        fprintf( stderr, "%s %d port: %u packet: %c sent %u packets\n", __func__, __LINE__, port_id, argv[3][0], num_of_pkts_per_queue );//printing once
        for( pkt_count=0; pkt_count<num_of_pkts_per_queue; pkt_count++ )
        {//want to send same data again...!!!
                mbuf[pkt_count]->pkt_len = mbuf[pkt_count]->data_len = dev_info.max_mtu;</pre>

</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 dir="ltr">
<pre>     }</pre>

}<br><br></div><div>Can someone help me understand how to reuse the packets again to send the same data ?<br></div><div dir="ltr"><br></div><div dir="ltr">Thanks & Regards<br>--<br>Lokesh Chakka.</div></div></div></div></div></div></div></div></div></div></div></div></div>