Skip to content

page_pool cleanups

Jonathan Lemon netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10net/mlx5e: RX, Remove RX page-cachedrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en_main.c drivers/net/ethernet/mellanox/mlx5/core/en_rx.c+4 -925 replies
2/10net/mlx5e: RX, Manage RX pages only via page pool APIdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c drivers/net/ethernet/mellanox/mlx5/core/en_rx.c+23 -360 replies
3/10net/mlx5e: RX, Internal DMA mapping in page_pooldrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c drivers/net/ethernet/mellanox/mlx5/core/en_main.c +1 more+3 -203 replies
4/10page_pool: Add API to update numa node and flush page cachesinclude/net/page_pool.h net/core/page_pool.c+21 -53 replies
5/10net/mlx5e: Rx, Update page pool numa node when changeddrivers/net/ethernet/mellanox/mlx5/core/en_rx.c+3 -00 replies
6/10page_pool: Add page_pool_keep_pageinclude/net/page_pool.h net/core/page_pool.c+23 -180 replies
7/10page_pool: allow configurable linear cache sizeinclude/net/page_pool.h net/core/page_pool.c+54 -452 replies
8/10page_pool: Add statisticsinclude/net/page_pool.h net/core/page_pool.c+65 -113 replies
9/10net/mlx5: Add page_pool stats to the Mellanox driverdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en_main.c drivers/net/ethernet/mellanox/mlx5/core/en_stats.c +1 more+35 -252 replies
10/10page_pool: Cleanup and rename page_pool functions.include/net/page_pool.h net/core/page_pool.c+102 -1150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10 net-next] page_pool cleanups

This patch combines work from various people:
- part of Tariq's work to move the DMA mapping from the mlx5 driver into the page pool. This does not include later patches which remove the dma address from the driver, as this conflicts with AF_XDP.

- Saeed's changes to check the numa node before including the page in the pool, and flushing the pool on a node change.

- Statistics and cleanup for page pool.

Jonathan Lemon (5):
page_pool: Add page_pool_keep_page
page_pool: allow configurable linear cache size
page_pool: Add statistics
net/mlx5: Add page_pool stats to the Mellanox driver
page_pool: Cleanup and rename page_pool functions.

Saeed Mahameed (2):
page_pool: Add API to update numa node and flush page caches net/mlx5e: Rx, Update page pool numa node when changed

Tariq Toukan (3):
net/mlx5e: RX, Remove RX page-cache net/mlx5e: RX, Manage RX pages only via page pool API net/mlx5e: RX, Internal DMA mapping in page_pool

 drivers/net/ethernet/mellanox/mlx5/core/en.h  |  18 +-
 .../net/ethernet/mellanox/mlx5/core/en/xdp.c  |  12 +-
 .../net/ethernet/mellanox/mlx5/core/en_main.c |  19 +-
 .../net/ethernet/mellanox/mlx5/core/en_rx.c   | 128 ++--------
 .../ethernet/mellanox/mlx5/core/en_stats.c    |  39 ++--
 .../ethernet/mellanox/mlx5/core/en_stats.h    |  19 +-
 include/net/page_pool.h                       | 216 +++++++++--------
 net/core/page_pool.c                          | 221 +++++++++++-------
 8 files changed, 319 insertions(+), 353 deletions(-)
Signature · 1 line
2.17.1