All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 net-next 0/2] net: mvneta: add support for page_pool_get_stats
@ 2022-04-11 15:11 Lorenzo Bianconi
  2022-04-11 15:11 ` [PATCH v4 net-next 1/2] net: page_pool: introduce ethtool stats Lorenzo Bianconi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Lorenzo Bianconi @ 2022-04-11 15:11 UTC (permalink / raw)
  To: netdev
  Cc: lorenzo.bianconi, davem, kuba, pabeni, thomas.petazzoni,
	ilias.apalodimas, jbrouer, andrew, jdamato

Introduce page_pool stats ethtool APIs in order to avoid driver duplicated
code.

Changes since v3:
- get rid of wrong for loop in page_pool_ethtool_stats_get()
- add API stubs when page_pool_stats are not compiled in

Changes since v2:
- remove enum list of page_pool stats in page_pool.h
- remove leftover change in mvneta.c for ethtool_stats array allocation

Changes since v1:
- move stats accounting to page_pool code
- move stats string management to page_pool code

Lorenzo Bianconi (2):
  net: page_pool: introduce ethtool stats
  net: mvneta: add support for page_pool_get_stats

 drivers/net/ethernet/marvell/Kconfig  |  1 +
 drivers/net/ethernet/marvell/mvneta.c | 20 ++++++++-
 include/net/page_pool.h               | 21 +++++++++
 net/core/page_pool.c                  | 63 ++++++++++++++++++++++++++-
 4 files changed, 103 insertions(+), 2 deletions(-)

-- 
2.35.1


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

end of thread, other threads:[~2022-04-11 21:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-11 15:11 [PATCH v4 net-next 0/2] net: mvneta: add support for page_pool_get_stats Lorenzo Bianconi
2022-04-11 15:11 ` [PATCH v4 net-next 1/2] net: page_pool: introduce ethtool stats Lorenzo Bianconi
2022-04-11 15:11 ` [PATCH v4 net-next 2/2] net: mvneta: add support for page_pool_get_stats Lorenzo Bianconi
2022-04-11 20:35 ` [PATCH v4 net-next 0/2] " Jakub Kicinski
2022-04-11 21:12   ` Lorenzo Bianconi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.