[dpdk-users] issues with dpdk-pdump

Srinivas Kotamarti srinivas_kotamarti at affirmednetworks.com
Thu Oct 18 23:34:52 CEST 2018


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


More information about the users mailing list