* [dpdk-dev] Intel DPDK drops packets in burst mode on I350
@ 2014-04-12 9:03 sabu kurian
0 siblings, 0 replies; only message in thread
From: sabu kurian @ 2014-04-12 9:03 UTC (permalink / raw)
To: dev
I350 fails to sent packets in burst mode.
However it is possible to sent 1 packet at a time using the hardware.
I350 is being listed under the 'Supported NIC's' page on
http://dpdk.org/doc/nics
This is the code I used
ret = rte_eth_tx_burst(port_ids[lcore_id], 0, m_pool, burst_size);
If I give a burst_size of 1. It works fine.
When I set it to 64 or 128, it fails.
I have allocated packets using
struct rte_mbuf *m_pool[burst_size];
for(j=0;j<burst_size;j++)
{
m_pool[j] = rte_pktmbuf_alloc(pktmbuf_pool);
}
all the mbufs were set to have
m_pool->pkt.nb_segs = 1;
m_pool->pkt.next = NULL;
m_pool->pkt.pkt_len = (uint16_t)74;
m_pool->pkt.data_len = (uint16_t)74;
Where am I going wrong ? But the same code works perfectly inside a VM
Any help would be appreciated.
Thanks and Regards
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-12 9:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-12 9:03 [dpdk-dev] Intel DPDK drops packets in burst mode on I350 sabu kurian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).