rte_eth_tx_burst giving error

Stephen Hemminger stephen at networkplumber.org
Mon Dec 16 17:58:41 CET 2024


On Mon, 16 Dec 2024 17:26:20 +0530
Lokesh Chakka <lvenkatakumarchakka at gmail.com> wrote:

> hi,
> 
> please refer to the small piece of code at
> 
> https://bitbucket.org/chakkadotlokesh/learning_dpdk/src/main/pmd_tx.c
> 
> This code is functioning fine in dpdk 23.11
> But giving following error in 24.11
> 
> ================================================================
> Thread 106 received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fa8d8ff1640 (LWP 14264)]
> 0x000000000041a4de in rte_eth_tx_burst (port_id=0, queue_id=0,
> tx_pkts=0x17f8b3180, nb_pkts=4096) at /usr/include/dpdk/rte_ethdev.h:6425
> 6425     * callback is called with the unsent packets as a parameter. If no
> callback
> ================================================================
> 
> Can someone help me understand what might be wrong?
> 
> 
> Thanks & Regards
> --
> Lokesh Chakka.

Do a debug build (with -Dbuildtype=debug) and run it under gdb.
You might also want to enable ETHDEV_DEBUG and MBUF_DEBUG in rte_config.h


More information about the users mailing list