Hi Cliff,

Please find the output of meson command.

Thanks,
Animesh Tripathi

On Thu, Jul 7, 2022 at 8:17 PM Cliff Burdick <shaklee3@gmail.com> wrote:
Please paste the output of the meson command. Are you running as root?


On Thu, Jul 7, 2022, 06:13 animesh tripathi <anitrip.444@gmail.com> wrote:
Hi Team,

I have to run dpdk on mellanox nic. I have compiled dpdk 21.08 with the following commands: 

meson --prefix=$(pwd)/build build
ninja -C build
ninja -C build install
ldconfig

While running the application I am getting following error:

EAL: Detected 24 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Auto-detected process type: PRIMARY
EAL: Detected static linkage of DPDK
EAL: failed to parse device "0000:b5:00.1"
EAL: Unable to parse device '0000:b5:00.1'
PANIC in nr_dpdk_init():
Cannot init EAL: No such device
6: [./a() [0x444179]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f08e0f2e0b3]]
4: [./a(main+0x428) [0x4431f8]]
3: [./a(nr_dpdk_init+0x268) [0x509bd8]]
2: [./a(__rte_panic+0xcd) [0x43c55e]]
1: [./a(rte_dump_stack+0x32) [0x539ed2]]

Also I cannot find mlx5 compiled libs in the dpdk build folder. Please help me in resolving this issue.

Thanks,
Animesh Tripathi