Skip to content

net: gianfar: 64-bit statistics and rx_missed_errors counter

Esben Haabendal lkml netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6net: gianfar: Convert to ndo_get_stats64 interfacedrivers/net/ethernet/freescale/gianfar.c+7 -180 repliesApplied
2/6net: gianfar: Extend statistics counters to 64-bitdrivers/net/ethernet/freescale/gianfar.h+5 -50 repliesApplied
3/6net: gianfar: Clear CAR registersdrivers/net/ethernet/freescale/gianfar.c+3 -00 repliesApplied
4/6net: gianfar: Avoid 16 bytes of memsetdrivers/net/ethernet/freescale/gianfar.c+1 -10 repliesApplied
5/6net: gianfar: Add definitions for CAR1 and CAM1 register bitsdrivers/net/ethernet/freescale/gianfar.h+54 -00 repliesApplied
6/6net: gianfar: Implement rx_missed_errors counterdrivers/net/ethernet/freescale/gianfar.c drivers/net/ethernet/freescale/gianfar.h+57 -30 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] net: gianfar: 64-bit statistics and rx_missed_errors counter

This series replaces the legacy 32-bit statistics to proper 64-bit ditto, and implements rx_missed_errors counter on top of that.

The device supports a 16-bit RDRP counter, and a related carry bit and interrupt, which allows implementation of a robust 64-bit counter.

Esben Haabendal (6):
net: gianfar: Convert to ndo_get_stats64 interface
net: gianfar: Extend statistics counters to 64-bit
net: gianfar: Clear CAR registers
net: gianfar: Avoid 16 bytes of memset
net: gianfar: Add definitions for CAR1 and CAM1 register bits
net: gianfar: Implement rx_missed_errors counter

 drivers/net/ethernet/freescale/gianfar.c | 76 +++++++++++++++++-------
 drivers/net/ethernet/freescale/gianfar.h | 74 +++++++++++++++++++++--
 2 files changed, 125 insertions(+), 25 deletions(-)
Signature · 1 line
2.32.0