All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Dimon Zhao <dimon.zhao@nebula-matrix.com>
Cc: dev@dpdk.org, stable@dpdk.org,
	Kyo Liu <kyo.liu@nebula-matrix.com>,
	Leon Yu <leon.yu@nebula-matrix.com>,
	Sam Chen <sam.chen@nebula-matrix.com>
Subject: Re: [PATCH v1 1/1] net/nbl: fix queue count issue on port restart
Date: Tue, 3 Mar 2026 06:38:15 -0800	[thread overview]
Message-ID: <20260303063815.2bb8500c@phoenix.local> (raw)
In-Reply-To: <20260228021211.71166-2-dimon.zhao@nebula-matrix.com>

On Fri, 27 Feb 2026 18:12:11 -0800
Dimon Zhao <dimon.zhao@nebula-matrix.com> 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: stable@dpdk.org
> 
> Signed-off-by: Dimon Zhao <dimon.zhao@nebula-matrix.com>
> ---

Applied to next-net

      reply	other threads:[~2026-03-03 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260303063815.2bb8500c@phoenix.local \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=dimon.zhao@nebula-matrix.com \
    --cc=kyo.liu@nebula-matrix.com \
    --cc=leon.yu@nebula-matrix.com \
    --cc=sam.chen@nebula-matrix.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.