linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] net: gianfar: 64-bit statistics and rx_missed_errors counter
@ 2021-06-17  9:49 Esben Haabendal
  2021-06-17  9:49 ` [PATCH 1/6] net: gianfar: Convert to ndo_get_stats64 interface Esben Haabendal
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Esben Haabendal @ 2021-06-17  9:49 UTC (permalink / raw)
  To: netdev; +Cc: linux-kernel, Rasmus Villemoes

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(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-06-17 19:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17  9:49 [PATCH 0/6] net: gianfar: 64-bit statistics and rx_missed_errors counter Esben Haabendal
2021-06-17  9:49 ` [PATCH 1/6] net: gianfar: Convert to ndo_get_stats64 interface Esben Haabendal
2021-06-17  9:49 ` [PATCH 2/6] net: gianfar: Extend statistics counters to 64-bit Esben Haabendal
2021-06-17  9:49 ` [PATCH 3/6] net: gianfar: Clear CAR registers Esben Haabendal
2021-06-17  9:49 ` [PATCH 4/6] net: gianfar: Avoid 16 bytes of memset Esben Haabendal
2021-06-17  9:49 ` [PATCH 5/6] net: gianfar: Add definitions for CAR1 and CAM1 register bits Esben Haabendal
2021-06-17  9:49 ` [PATCH 6/6] net: gianfar: Implement rx_missed_errors counter Esben Haabendal
2021-06-17 19:20 ` [PATCH 0/6] net: gianfar: 64-bit statistics and " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).