netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] net: add functionality to net core byte/packet counters and use it in r8169
@ 2020-10-15 15:47 Heiner Kallweit
  2020-10-15 15:48 ` [PATCH net-next 1/4] net: core: add dev_sw_netstats_tx_add Heiner Kallweit
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Heiner Kallweit @ 2020-10-15 15:47 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski, Realtek linux nic maintainers
  Cc: netdev@vger.kernel.org

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

-- 
2.28.0


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH net-next 0/4] net: add functionality to net core byte/packet counters and use it in r8169
@ 2020-10-29 17:28 Heiner Kallweit
  2020-10-29 17:34 ` [PATCH net-next 4/4] r8169: remove no longer needed private rx/tx packet/byte counters Heiner Kallweit
  0 siblings, 1 reply; 7+ messages in thread
From: Heiner Kallweit @ 2020-10-29 17:28 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski, Realtek linux nic maintainers
  Cc: netdev@vger.kernel.org

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

-- 
2.29.1


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

end of thread, other threads:[~2020-10-29 17:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-15 15:47 [PATCH net-next 0/4] net: add functionality to net core byte/packet counters and use it in r8169 Heiner Kallweit
2020-10-15 15:48 ` [PATCH net-next 1/4] net: core: add dev_sw_netstats_tx_add Heiner Kallweit
2020-10-15 15:49 ` [PATCH net-next 2/4] net: core: add devm_netdev_alloc_pcpu_stats Heiner Kallweit
2020-10-15 15:50 ` [PATCH net-next 3/4] r8169: use struct pcpu_sw_netstats for rx/tx packet/byte counters Heiner Kallweit
2020-10-15 15:51 ` [PATCH net-next 4/4] r8169: remove no longer needed private " Heiner Kallweit
2020-10-15 19:56 ` [PATCH net-next 0/4] net: add functionality to net core byte/packet counters and use it in r8169 Jakub Kicinski
  -- strict thread matches above, loose matches on Subject: below --
2020-10-29 17:28 Heiner Kallweit
2020-10-29 17:34 ` [PATCH net-next 4/4] r8169: remove no longer needed private rx/tx packet/byte counters Heiner Kallweit

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