<div dir="ltr"><div>hi,</div><div><br></div><div>I've done the build with "meson setup build --buildtype=debug". <br></div><div>I'm seeing a lot function names if I do "file build/lib/librte_eal.so"</div><div>version I'm working on is dpdk-stable-24.11.1</div><div><br></div><div>Inside, the code I've set rte_log_set_global_level(RTE_LOG_DEBUG);</div><div>while compiling the code, I've included "-lrte_eal -lrte_log -lrte_mbuf -lrte_ethdev -lrte_me    mpool -mssse3" libraries.</div><div>Still I'm seeing only generic EAL Logs. <br></div><div><br></div><div>while executing, I'am using the command "sudo pmd_tx_rx -l 0-3 -n 4 --log-level=8"</div><div><br></div><div>still I'am always seeing only the following lines :</div><div><br></div><div><div>==========================================================</div>EAL: Detected CPU lcores: 16<br>EAL: Detected NUMA nodes: 1<br>EAL: Detected shared linkage of DPDK<br>EAL: Multi-process socket /var/run/dpdk/rte/mp_socket<br>EAL: Selected IOVA mode 'VA'<br>EAL: VFIO support initialized<br>EAL: Using IOMMU type 1 (Type 1)<br>ICE_INIT: ice_load_pkg_type(): Active package is: 1.3.39.1, ICE OS Default Package (single VLAN mode)<br>ICE_INIT: ice_load_pkg_type(): Active package is: 1.3.39.1, ICE OS Default Package (single VLAN mode)<br>tx_all_threads_function 188 pkt size: 1500<br>ICE_DRIVER: ice_set_rx_function(): Using AVX2 Vector Rx (port 0).</div><div>==========================================================</div><div><br></div><div>could you please let me know if any more debug flags to be provided....</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><br>Thanks & Regards<br>--<br>Lokesh Chakka.</div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Feb 17, 2025 at 9:28 PM Stephen Hemminger <<a href="mailto:stephen@networkplumber.org">stephen@networkplumber.org</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">On Mon, 17 Feb 2025 18:36:07 +0530<br>
Lokesh Chakka <<a href="mailto:lvenkatakumarchakka@gmail.com" target="_blank">lvenkatakumarchakka@gmail.com</a>> wrote:<br>
<br>
> Hello,<br>
> <br>
> I've written a few pieces of code for sending and receiving packets.<br>
> Here is the link for the same.<br>
> <br>
> If I try running only pmd_tx.c or only pmd_rx.c, I'm not seeing any crashes.<br>
> But if the same code is copied into dpdk_tx_rx.c, I'm seeing a consistent<br>
> crash.<br>
> <br>
> Can someone help me understand what I'm doing wrong?<br>
> <br>
> <br>
> Thanks & Regards<br>
> --<br>
> Lokesh Chakka.<br>
<br>
This is all your own code, so it is up to you to debug it.<br>
Did you try running in debugger (gdb) and/or enabling some of the debug<br>
flags in the DPDK build. The debug flags will cause more of the code paths<br>
to validate arguments.<br>
</blockquote></div>