DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] issues with dpdk-pdump
@ 2018-10-18 21:34 Srinivas Kotamarti
  2018-10-20 12:55 ` Rami Rosen
  2018-10-22  5:39 ` Gowrishankar Muthukrishnan
  0 siblings, 2 replies; 5+ messages in thread
From: Srinivas Kotamarti @ 2018-10-18 21:34 UTC (permalink / raw)
  To: users

Hello,

I want to use dpdk-pdump for packet capture. As explained in the http://doc.dpdk.org/guides/tools/pdump.html http://doc.dpdk.org/guides/prog_guide/pdump_lib.html I have compiled the DPDK with CONFIG_RTE_LIBRTE_PMD_PCAP=y and  modified my application to initialize the pdump PMD by calling the rte_pdump_init()

I am invoking the dpdk-pdump as follows

/opt/thoroughbred/dpdk/tools/dpdk-pdump --  --pdump 'port=0, queue=*, rx-dev=/boot/partitions/storage/tosfp-pt-dpdk-untrack-fail-00rxtx.01none.02none.03none.pcapng, tx-dev=/boot/partitions/storage/tosfp-pt-dpdk-untrack-fail-00rxtx.01none.02none.03none.pcapng' &

It crashes with the following trace

EAL: Detected 7 lcore(s)
EAL: Detected 1 NUMA nodes
PANIC in rte_eal_config_attach():
Cannot open '/var/run/.rte_config' for rte_mem_config
6: [/opt/thoroughbred/dpdk/tools/dpdk-pdump() [0x464e51]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f801e50eb45]]
4: [/opt/thoroughbred/dpdk/tools/dpdk-pdump(main+0xeb) [0x45d43b]]
3: [/opt/thoroughbred/dpdk/tools/dpdk-pdump(rte_eal_init+0xde7) [0x4d2527]]
2: [/opt/thoroughbred/dpdk/tools/dpdk-pdump(__rte_panic+0xba) [0x45524d]]
1: [/opt/thoroughbred/dpdk/tools/dpdk-pdump(rte_dump_stack+0x18) [0x4dc928]]


What am I doing wrong?

Thanks

--Srinias

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

end of thread, other threads:[~2018-10-24  5:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-18 21:34 [dpdk-users] issues with dpdk-pdump Srinivas Kotamarti
2018-10-20 12:55 ` Rami Rosen
2018-10-22 20:49   ` Srinivas Kotamarti
2018-10-24  5:11     ` Rami Rosen
2018-10-22  5:39 ` Gowrishankar Muthukrishnan

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