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