public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
* [PATCH v1 0/1] NBL fix queue count issue on port restart
@ 2026-02-28  2:12 Dimon Zhao
  2026-02-28  2:12 ` [PATCH v1 1/1] net/nbl: " Dimon Zhao
  0 siblings, 1 reply; 3+ messages in thread
From: Dimon Zhao @ 2026-02-28  2:12 UTC (permalink / raw)
  To: dev; +Cc: Dimon Zhao

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.

Dimon Zhao (1):
  net/nbl: fix queue count issue on port restart

 drivers/net/nbl/nbl_hw/nbl_resource.h | 2 --
 drivers/net/nbl/nbl_hw/nbl_txrx.c     | 6 ++----
 2 files changed, 2 insertions(+), 6 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-03-03 14:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-28  2:12 [PATCH v1 0/1] NBL fix queue count issue on port restart Dimon Zhao
2026-02-28  2:12 ` [PATCH v1 1/1] net/nbl: " Dimon Zhao
2026-03-03 14:38   ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox