[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e9830d60-d711-4fab-a4e8-329c5a3353f5@broadcom.com>
Date: Mon, 12 May 2025 16:35:50 +0200
From: Florian Fainelli <florian.fainelli@...adcom.com>
To: zakkemble@...il.com, Doug Berger <opendmb@...il.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@...adcom.com>, Andrew Lunn
<andrew+netdev@...n.ch>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: bcmgenet: tidy up stats, expose more stats in
ethtool
On 5/11/2025 11:40 PM, zakkemble@...il.com wrote:
> From: Zak Kemble <zakkemble@...il.com>
>
> This patch exposes more statistics counters in ethtool and tidies up the
> counters so that they are all per-queue. The netdev counters are now only
> updated synchronously in bcmgenet_get_stats instead of a mix of sync/async
> throughout the driver. Hardware discarded packets are now counted in their
> own missed stat instead of being lumped in with general errors.
>
> Signed-off-by: Zak Kemble <zakkemble@...il.com>
If you are making changes to the driver around statistics, I would
rather you modernize the driver to report statistics according to how it
should be done, that is following what bcmasp2 does. Thank you.
--
Florian
Powered by blists - more mailing lists