Trying to use dpdp-pdump to capture packet:
dpdk-pdump – --pdump ‘port=0,queue=*,rx-dev=/tmp/a’
EAL: Detected 12 lcore(s)
EAL: Probing VFIO support…
EAL: PCI device 0000:08:00.0 on NUMA socket 0
EAL: probe driver: 15b3:1015 net_mlx5
PMD: mlx5.c:419: mlx5_pci_probe(): PCI information matches, using device “mlx5_0” (SR-IOV: false, MPS: true)
PMD: mlx5.c:442: mlx5_pci_probe(): 1 port(s) detected
PMD: mlx5.c:590: mlx5_pci_probe(): port 1 MAC address is 24:8a:07:8b:25:30
PMD: mlx5.c:638: mlx5_pci_probe(): no private data for port 0
EAL: Error - exiting with code: 1
Cause: Requested device 0000:08:00.0 cannot be used
0000:08:00.0 is one of the Mellanox 10G [the first 2 is 10G Dual-port]:
Network devices using kernel driver
===================================
0000:08:00.0 ‘MT27710 Family [ConnectX-4 Lx]’ if=enp8s0f0 drv=mlx5_core unused=igb_uio
0000:08:00.1 ‘MT27710 Family [ConnectX-4 Lx]’ if=enp8s0f1 drv=mlx5_core unused=igb_uio
0000:0a:00.0 ‘MT27710 Family [ConnectX-4 Lx]’ if=enp10s0 drv=mlx5_core unused=igb_uio
testpmd would also cause segmentation fault