[PATCH v3 0/3] net: bcmgenet: 64bit stats and expose more stats in ethtool

Zak Kemble posted 3 patches 7 months ago
.../net/ethernet/broadcom/genet/bcmgenet.c    | 277 ++++++++++++------
.../net/ethernet/broadcom/genet/bcmgenet.h    |  32 +-
2 files changed, 221 insertions(+), 88 deletions(-)
[PATCH v3 0/3] net: bcmgenet: 64bit stats and expose more stats in ethtool
Posted by Zak Kemble 7 months ago
Hi, this patchset updates the bcmgenet driver with new 64bit statistics via
ndo_get_stats64 and rtnl_link_stats64, now reports hardware discarded
packets in the rx_missed_errors stat and exposes more stats in ethtool.

v1:
- https://lore.kernel.org/all/20250513144107.1989-1-zakkemble@gmail.com

v2:
- Hopefully better readability
- Fold singular stat updates
- https://lore.kernel.org/all/20250515145142.1415-1-zakkemble@gmail.com

v3:
- Fix up coding style
- Move addition of new counters out of 64bit conversion patch

Zak Kemble (3):
  net: bcmgenet: switch to use 64bit statistics
  net: bcmgenet: count hw discarded packets in missed stat
  net: bcmgenet: expose more stats in ethtool

 .../net/ethernet/broadcom/genet/bcmgenet.c    | 277 ++++++++++++------
 .../net/ethernet/broadcom/genet/bcmgenet.h    |  32 +-
 2 files changed, 221 insertions(+), 88 deletions(-)

-- 
2.39.5
Re: [PATCH v3 0/3] net: bcmgenet: 64bit stats and expose more stats in ethtool
Posted by Florian Fainelli 7 months ago
On 5/19/25 04:32, Zak Kemble wrote:
> Hi, this patchset updates the bcmgenet driver with new 64bit statistics via
> ndo_get_stats64 and rtnl_link_stats64, now reports hardware discarded
> packets in the rx_missed_errors stat and exposes more stats in ethtool.

For this series:

Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>

Thanks Zak!
-- 
Florian