DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] rte_pktmbuf_alloc fails
@ 2014-04-01 11:08 Meir Tseitlin
  2014-04-01 11:53 ` Meir Tseitlin
  0 siblings, 1 reply; 7+ messages in thread
From: Meir Tseitlin @ 2014-04-01 11:08 UTC (permalink / raw)
  To: dev

Hi,

I modified l2fwd example to "inject" additional Ethernet packets into the
flow by allocating them with rte_pktmbuf_alloc.

I do succeed to call rte_pktmbuf_alloc when none (or almost none) packets
where forwarded since application start, but it fails when application is
busy handling traffic (even light traffic).

Following Intel developers guide suggestion about thread safety, I am
calling this function within the same CPU core I am about to send the
packet.

Any ideas?

Thanks
Meir Tseitlin

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-05-22 15:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-01 11:08 [dpdk-dev] rte_pktmbuf_alloc fails Meir Tseitlin
2014-04-01 11:53 ` Meir Tseitlin
2014-04-07  7:26   ` Olivier MATZ
2014-04-07  8:53     ` Ananyev, Konstantin
2014-04-17 15:00       ` Thomas Monjalon
2014-05-22 15:47         ` Thomas Monjalon
2014-05-22 15:51           ` Ananyev, Konstantin

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).