a bug in r8169_rxtx.c in dpdk 25.07 version

Stephen Hemminger stephen at networkplumber.org
Tue Sep 16 15:47:50 CEST 2025


On Tue, 16 Sep 2025 11:36:14 +0800 (CST)
deleleaf <deleleaf at 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.


More information about the dev mailing list