Skip to content

net: add functionality to net core byte/packet counters and use it in r8169

Heiner Kallweit netdev 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4net: core: add dev_sw_netstats_tx_addinclude/linux/netdevice.h+12 -00 replies
2/4net: core: add devm_netdev_alloc_pcpu_statsinclude/linux/netdevice.h+14 -00 replies
3/4r8169: use struct pcpu_sw_netstats for rx/tx packet/byte countersdrivers/net/ethernet/realtek/r8169_main.c+8 -30 replies
4/4r8169: remove no longer needed private rx/tx packet/byte countersdrivers/net/ethernet/realtek/r8169_main.c+0 -340 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 0/4] net: add functionality to net core byte/packet counters and use it in r8169

This series adds missing functionality to the net core handling of byte/packet counters and statistics. The extensions are then used to remove private rx/tx byte/packet counters in r8169 driver.

Heiner Kallweit (4):
net: core: add dev_sw_netstats_tx_add
net: core: add devm_netdev_alloc_pcpu_stats
r8169: use struct pcpu_sw_netstats for rx/tx packet/byte counters
r8169: remove no longer needed private rx/tx packet/byte counters

 drivers/net/ethernet/realtek/r8169_main.c | 45 ++++-------------------
 include/linux/netdevice.h                 | 26 +++++++++++++
 2 files changed, 34 insertions(+), 37 deletions(-)
Signature · 1 line
2.29.1