lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ