* a bug in r8169_rxtx.c in dpdk 25.07 version
@ 2025-09-16 3:36 deleleaf
2025-09-16 13:47 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: deleleaf @ 2025-09-16 3:36 UTC (permalink / raw)
To: dev
[-- Attachment #1.1: Type: text/plain, Size: 365 bytes --]
hi ,
I try to driver a nic ('RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller 8168') ,
when I use 'rte_eth_dev_configure' which tx port set to 0, then running 'rte_eth_dev_start' may crash !
because at this time 'tx_queues' is null, but still access with 'dev->data->tx_queue' at r8169_rxtx.c:1102.
detail stack info picture in the attachment.
[-- Attachment #1.2: Type: text/html, Size: 666 bytes --]
[-- Attachment #2: wechat_2025-09-16_113440_242.png --]
[-- Type: image/png, Size: 135710 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: a bug in r8169_rxtx.c in dpdk 25.07 version
2025-09-16 3:36 a bug in r8169_rxtx.c in dpdk 25.07 version deleleaf
@ 2025-09-16 13:47 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2025-09-16 13:47 UTC (permalink / raw)
To: deleleaf; +Cc: dev
On Tue, 16 Sep 2025 11:36:14 +0800 (CST)
deleleaf <deleleaf@126.com> wrote:
> hi ,
> I try to driver a nic ('RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller 8168') ,
> when I use 'rte_eth_dev_configure' which tx port set to 0, then running 'rte_eth_dev_start' may crash !
> because at this time 'tx_queues' is null, but still access with 'dev->data->tx_queue' at r8169_rxtx.c:1102.
> detail stack info picture in the attachment.
A small program (or using testpmd) to reproduce would help.
An application needs call rte_eth_tx_queue_setup() on the transmit queue.
See any of the examples like examples/l3fwd to see the startup order.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-16 13:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-16 3:36 a bug in r8169_rxtx.c in dpdk 25.07 version deleleaf
2025-09-16 13:47 ` 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).