Skip to content

net: page_pool: Expose size limit

Tariq Toukan linux-rdma lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: page_pool: Expose internal limitinclude/net/page_pool/types.h net/core/page_pool.c+3 -11 reply
2/2net/mlx5e: Clamp page_pool size to maxdrivers/net/ethernet/mellanox/mlx5/core/en_main.c+2 -07 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDawid OsuchowskiIlias Apalodimas
SeriesR-b
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] net: page_pool: Expose size limit

Hi,

This small series by Dragos has two patches.

Patch #1 exposes the page_pool internal size limit so that drivers can check against it before creating a page_pool.

Patch #2 adds usage of the exposed limit in mlx5e driver.

Regards,
Tariq

Dragos Tatulea (2):
net: page_pool: Expose internal limit
net/mlx5e: Clamp page_pool size to max

 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 2 ++
 include/net/page_pool/types.h                     | 2 ++
 net/core/page_pool.c                              | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)

base-commit: 312e6f7676e63bbb9b81e5c68e580a9f776cc6f0

Signature · 1 line
2.31.1