Dear,

I'm the new for using DPDK.
I met the problem while trying to use pdump to capture the packet from my
own application, but it bumps into some error as below. Do you have any
suggestions?

[oai@localhost pdump]$ sudo ./dpdk-pdump -- --pdump
'port=0,queue=*,tx-dev=/tmp/tx.pcap,rx-dev=/tmp/rx.pcap' EAL: Detected 72
lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket
/var/run/dpdk/rte/mp_socket_10018_2d422b12bdfd4 EAL: failed to send to
(/var/run/dpdk/rte/mp_socket) due to Connection refused EAL: Fail to send
request /var/run/dpdk/rte/mp_socket:bus_vdev_mp vdev_scan(): Failed to
request vdev from primary EAL: Selected IOVA mode 'VA' EAL: Probing VFIO
support... EAL: failed to send to (/var/run/dpdk/rte/mp_socket) due to
Connection refused EAL: Fail to send request
/var/run/dpdk/rte/mp_socket:eal_vfio_mp_sync EAL: cannot request default
container fd EAL: VFIO support could not be initialized EAL: Could not map
memory from primary process EAL: FATAL: Cannot init memory EAL: Cannot init
memory PANIC in main(): Cannot init EAL 4: [./dpdk-pdump() [0x480929]] 3:
[/lib64/libc.so.6(__libc_start_main+0xf5) [0x7ffff6aa2555]] 2:
[./dpdk-pdump(main+0x52e) [0x480f1e]] 1: [./dpdk-pdump(__rte_panic+0xe0)
[0xe0f600]] Aborted

P.S.
The DPDK version in our lab is for 19.11.
After modifying CONFIG_RTE_LIBRTE_PMD_PCAP=y & CONFIG_RTE_LIBRTE_PDUMP=y,I
try to use ICC for the compilation.
Also, I already add function rte_pdump_init() in my application.

Best Regards,
Shu-hua, Liao

Reply via email to