[dpdk-dev] rte_pktmbuf_alloc fails

Meir Tseitlin mirots at gmail.com
Tue Apr 1 13:08:26 CEST 2014


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


More information about the dev mailing list