<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Cliff,<div><br></div><div>The earlier error is resolved now. It was some compilation problem. Now I am getting some other error:</div><div><br></div><div><div>EAL: Detected 24 lcore(s)</div><div>EAL: Detected 1 NUMA nodes</div><div>EAL: Auto-detected process type: PRIMARY</div><div>EAL: Detected static linkage of DPDK</div><div>EAL: Multi-process socket /var/run/dpdk/nr_dpdk/mp_socket</div><div>EAL: Selected IOVA mode 'PA'</div><div>EAL: VFIO support initialized</div><div>TELEMETRY: No legacy callbacks, legacy socket not created</div><div>EAL: Driver cannot attach the device (0000:b5:00.1)</div><div>EAL: Failed to attach device on primary process</div><div>PANIC in nr_dpdk_init():</div><div>Network port doesn't exist.6: [./a() [0xbba5aa]]</div><div>5: [/usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f7d0fae40b3]]</div><div>4: [./a(main+0x428) [0x7476e8]]</div><div>3: [./a() [0x55b885]]</div><div>2: [./a(__rte_panic+0xcd) [0x7409a7]]</div><div>1: [./a(rte_dump_stack+0x32) [0x13a47a2]]\</div></div><div><br></div><div>These are the mellanox drivers installed on my machine:</div><div><div>mlx5_ib 393216 0</div><div>mlx5_core 1552384 1 mlx5_ib</div><div>mlxdevm 172032 1 mlx5_core</div><div>auxiliary 16384 2 mlx5_ib,mlx5_core</div><div>ib_uverbs 135168 2 rdma_ucm,mlx5_ib</div><div>tls 73728 1 mlx5_core</div><div>mlxfw 32768 1 mlx5_core</div><div>psample 20480 1 mlx5_core</div><div>ib_core 319488 9 rdma_cm,ib_ipoib,nvidia_peermem,iw_cm,ib_umad,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm</div><div>mlx_compat 65536 12 rdma_cm,ib_ipoib,mlxdevm,iw_cm,auxiliary,ib_umad,ib_core,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm,mlx5_core</div><div>pci_hyperv_intf 16384 1 mlx5_core</div></div><div><br></div><div>Can you please help me in resolving this error.</div><div><br></div><div>Thanks,</div><div>Animesh Tripathi</div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 8, 2022 at 11:42 AM animesh tripathi <<a href="mailto:anitrip.444@gmail.com">anitrip.444@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi Cliff,<div dir="auto"><br></div><div dir="auto">Yes I am running as root</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Animesh Tripathi </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 8, 2022, 10:29 AM animesh tripathi <<a href="mailto:anitrip.444@gmail.com" target="_blank">anitrip.444@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Cliff,<div><br></div><div>Please find the output of meson command.</div><div><br></div><div>Thanks,</div><div>Animesh Tripathi</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 7, 2022 at 8:17 PM Cliff Burdick <<a href="mailto:shaklee3@gmail.com" rel="noreferrer" target="_blank">shaklee3@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Please paste the output of the meson command. Are you running as root?<div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 7, 2022, 06:13 animesh tripathi <<a href="mailto:anitrip.444@gmail.com" rel="noreferrer" target="_blank">anitrip.444@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Team,<div><br></div><div>I have to run dpdk on mellanox nic. I have compiled dpdk 21.08 with the following commands: </div><div><br></div><div><div>meson --prefix=$(pwd)/build build</div><div>ninja -C build</div><div>ninja -C build install</div><div>ldconfig</div></div><div><br></div><div>While running the application I am getting following error:</div><div><br></div><div><div>EAL: Detected 24 lcore(s)</div><div>EAL: Detected 1 NUMA nodes</div><div>EAL: Auto-detected process type: PRIMARY</div><div>EAL: Detected static linkage of DPDK</div><div>EAL: failed to parse device "0000:b5:00.1"</div><div>EAL: Unable to parse device '0000:b5:00.1'</div><div>PANIC in nr_dpdk_init():</div><div>Cannot init EAL: No such device</div><div>6: [./a() [0x444179]]</div><div>5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f08e0f2e0b3]]</div><div>4: [./a(main+0x428) [0x4431f8]]</div><div>3: [./a(nr_dpdk_init+0x268) [0x509bd8]]</div><div>2: [./a(__rte_panic+0xcd) [0x43c55e]]</div><div>1: [./a(rte_dump_stack+0x32) [0x539ed2]]</div></div><div><br></div><div>Also I cannot find mlx5 compiled libs in the dpdk build folder. Please help me in resolving this issue.</div><div><br></div><div>Thanks,</div><div>Animesh Tripathi</div></div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>