a bug in r8169_rxtx.c in dpdk 25.07 version
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.
Quoted 5 lines · On Tue, 16 Sep 2025 11:36:14 +0800 (CST) deleleaf <[email protected]> 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.