netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] net: fec: add xdp and page pool statistics
@ 2022-11-15 20:49 Shenwei Wang
  2022-11-15 20:49 ` [PATCH v5 1/3] net: page_pool: export page_pool_stats definition Shenwei Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Shenwei Wang @ 2022-11-15 20:49 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Jesper Dangaard Brouer, Ilias Apalodimas, Alexei Starovoitov,
	Daniel Borkmann, John Fastabend, netdev, linux-kernel, imx,
	Shenwei Wang

Changes in V5:
 - split the patch into two: one for xdp statistics and one for page
   pool
 - fix the bug to zero xdp_stats array
 - use empty 'page_pool_stats' when CONFIG_PAGE_POOL_STATS is disabled.

Changes in V4:
 - Using u64 to record the XDP statistics
 - Changing strncpy to strscpy
 - Remove the "PAGE_POOL_STATS" select per Alexander's feedback
 - Export the page_pool_stats definition in the page_pool.h

 Changes in v3:
 - change memcpy to strncpy to fix the warning reported by Paolo Abeni
 - fix the compile errors on powerpc

 Changes in v2:
 - clean up and restructure the codes per Andrew Lunn's review comments
 - clear the statistics when the adaptor is down

Shenwei Wang (3):
  net: page_pool: export page_pool_stats definition
  net: fec: add xdp statistics
  net: fec: add page pool statistics

 drivers/net/ethernet/freescale/fec.h      | 15 ++++
 drivers/net/ethernet/freescale/fec_main.c | 96 +++++++++++++++++++++--
 include/net/page_pool.h                   |  2 +
 3 files changed, 107 insertions(+), 6 deletions(-)

--
2.34.1


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

end of thread, other threads:[~2022-11-17  1:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-15 20:49 [PATCH v5 0/3] net: fec: add xdp and page pool statistics Shenwei Wang
2022-11-15 20:49 ` [PATCH v5 1/3] net: page_pool: export page_pool_stats definition Shenwei Wang
2022-11-15 20:49 ` [PATCH v5 2/3] net: fec: add xdp statistics Shenwei Wang
2022-11-16 16:02   ` Alexander Lobakin
2022-11-17  1:15     ` [EXT] " Shenwei Wang
2022-11-15 20:49 ` [PATCH v5 3/3] net: fec: add page pool statistics Shenwei Wang
2022-11-16 16:47 ` [PATCH v5 0/3] net: fec: add xdp and " Jakub Kicinski
2022-11-16 16:49   ` [EXT] " Shenwei Wang

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