mbox series

[v4,0/2] net: fec: add xdp and page pool statistics

Message ID 20221115155744.193789-1-shenwei.wang@nxp.com (mailing list archive)
Headers show
Series net: fec: add xdp and page pool statistics | expand

Message

Shenwei Wang Nov. 15, 2022, 3:57 p.m. UTC
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 (2):
  net: page_pool: export page_pool_stats definition
  net: fec: add xdp and page pool statistics

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

--
2.34.1

Comments

Saeed Mahameed Nov. 15, 2022, 5:57 p.m. UTC | #1
On 15 Nov 09:57, Shenwei Wang wrote:
> 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
>

Reviewed-by: Saeed Mahameed <saeed@kernel.org>