Skip to content

net: bcmgenet: 64bit stats and expose more stats in ethtool

Zak Kemble lkml netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyApplied 3/3
  2. v23 patches 2 repliesSuperseded
  3. v13 patches 2 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: bcmgenet: switch to use 64bit statisticsdrivers/net/ethernet/broadcom/genet/bcmgenet.c drivers/net/ethernet/broadcom/genet/bcmgenet.h+187 -880 repliesApplied
2/3net: bcmgenet: count hw discarded packets in missed statdrivers/net/ethernet/broadcom/genet/bcmgenet.c drivers/net/ethernet/broadcom/genet/bcmgenet.h+5 -20 repliesApplied
3/3net: bcmgenet: expose more stats in ethtooldrivers/net/ethernet/broadcom/genet/bcmgenet.c drivers/net/ethernet/broadcom/genet/bcmgenet.h+34 -30 repliesApplied

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchFlorian Fainelli
SeriesT-b R-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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/[email protected]

v2:
- Hopefully better readability
- Fold singular stat updates
- https://lore.kernel.org/all/[email protected]

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(-)
Signature · 1 line
2.39.5