[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250306072459.658ca8eb@kernel.org>
Date: Thu, 6 Mar 2025 07:24:59 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Taehee Yoo <ap420073@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org,
michael.chan@...adcom.com, pavan.chebbi@...adcom.com,
przemyslaw.kitszel@...el.com
Subject: Re: [PATCH net-next v3 00/10] eth: bnxt: maintain basic pkt/byte
counters in SW
On Thu, 6 Mar 2025 19:54:22 +0900 Taehee Yoo wrote:
> It seems that the driver is supposed to return qstats even if interface
> is down. So, I think bnxt driver needs to store the sw_stats when the
> interface is down.
I think the driver already stores the stats on close and will report
them in "base" values. So all we need in per-queue callbacks is to
return early, when the interface is down?
Powered by blists - more mailing lists