DPDK usage discussions
 help / color / mirror / Atom feed
* rte_eth_tx_burst giving error
@ 2024-12-16 11:56 Lokesh Chakka
  2024-12-16 16:58 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Lokesh Chakka @ 2024-12-16 11:56 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 748 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1339 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rte_eth_tx_burst giving error
  2024-12-16 11:56 rte_eth_tx_burst giving error Lokesh Chakka
@ 2024-12-16 16:58 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2024-12-16 16:58 UTC (permalink / raw)
  To: Lokesh Chakka; +Cc: users

On Mon, 16 Dec 2024 17:26:20 +0530
Lokesh Chakka <lvenkatakumarchakka@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-16 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-16 11:56 rte_eth_tx_burst giving error Lokesh Chakka
2024-12-16 16:58 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).