On Fri, 27 Feb 2026 18:12:11 -0800
Dimon Zhao <[email protected]> wrote:

> Remove tx_ring_num and rx_ring_num from struct nbl_txrx_mgt to fix
> an issue where these counts keep increasing during port stop/start cycles.
> 
> The counts were incremented in tx_queue_setup/rx_queue_setup, but never
> decremented. This causes incorrect queue counts after multiple port
> restarts. Since the actual queue counts are already available via
> eth_dev->data->nb_tx_queues and nb_rx_queues, use those instead.
> 
> Update nbl_res_txrx_get_xstats() to use eth_dev->data->nb_rx_queues.
> 
> Fixes: 661c0ccf2512 ("net/nbl: support statistics")
> Cc: [email protected]
> 
> Signed-off-by: Dimon Zhao <[email protected]>
> ---

Applied to next-net

Reply via email to