mbox series

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

Message ID e25761cc-60c2-92fe-f7df-b8c55cf12ec7@gmail.com
Headers show
Series net: add functionality to net core byte/packet counters and use it in r8169 | expand

Message

Heiner Kallweit Oct. 15, 2020, 3:47 p.m. UTC
This series adds missing functionality to the net core handling of
byte/packet counters and statistics. The extensions are used then
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                 | 27 ++++++++++++++
 net/devres.c                              |  6 +++
 3 files changed, 41 insertions(+), 37 deletions(-)

Comments

Jakub Kicinski Oct. 15, 2020, 7:56 p.m. UTC | #1
On Thu, 15 Oct 2020 17:47:32 +0200 Heiner Kallweit wrote:
> This series adds missing functionality to the net core handling of

> byte/packet counters and statistics. The extensions are used then

> to remove private rx/tx byte/packet counters in r8169 driver.


As much as I was hoping to apply this, it looks like it's still not
through my build testing :( 

So let's play it safe and come back to it in a week and a half.