[lkml]   [2021]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[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(-)


 \ /
  Last update: 2021-06-17 11:50    [W:0.038 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site