DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Still rte_pktmbuf_alloc problems
@ 2014-04-06 16:23 Meir Tseitlin
  0 siblings, 0 replies; only message in thread
From: Meir Tseitlin @ 2014-04-06 16:23 UTC (permalink / raw)
  To: dev

I am modifying l2fwd example to inject additional packets.

I am successfully allocating mbufs with rte_pktmbuf_alloc, but weird
problems started to occur (feels likes concurrency  problems).

I enabled DEBUGs in config file and now my application started crashing on:
PANIC in rte_mbuf_sanity_check:

bad ref cnt
11: [/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fdea828d3fd]]
10: [/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7fdea8560e9a]]
9: [./recorder(eal_thread_loop+0x175) [0x48c3a5]]
8: [./recorder() [0x411349]]
7: [./recorder() [0x4111ba]]
6: [./recorder(l2fwd_send_burst+0x55) [0x4131a5]]
5: [./recorder() [0x495f39]]
4: [./recorder() [0x4952e0]]
3: [./recorder(rte_mbuf_sanity_check+0xa7) [0x47ef07]]
2: [./recorder(__rte_panic+0xc9) [0x4104ca]]
1: [./recorder(rte_dump_stack+0x23) [0x48e703]]
Aborted (core dumped)


Maybe I am allocating mbufs from incorrect core?

But which core should I use? (Other packets are allocated automatically by
PMD)

Thanks

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-06 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-06 16:23 [dpdk-dev] Still rte_pktmbuf_alloc problems Meir Tseitlin

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