[PATCH v3 0/3] net: bcmgenet: 64bit stats and expose more stats in ethtool
From: Zak Kemble
Date: Mon May 19 2025 - 07:34:19 EST
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@xxxxxxxxx
v2:
- Hopefully better readability
- Fold singular stat updates
- https://lore.kernel.org/all/20250515145142.1415-1-zakkemble@xxxxxxxxx
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