Re: [PATCH net-next v2] page_pool: Clamp pool size to max 16K pages
From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-09-30 10:30:13
Also in:
lkml
From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-09-30 10:30:13
Also in:
lkml
Hello: This patch was applied to netdev/net-next.git (main) by Paolo Abeni [off-list ref]: On Fri, 26 Sep 2025 16:16:05 +0300 you wrote:
page_pool_init() returns E2BIG when the page_pool size goes above 32K pages. As some drivers are configuring the page_pool size according to the MTU and ring size, there are cases where this limit is exceeded and the queue creation fails. The page_pool size doesn't have to cover a full queue, especially for larger ring size. So clamp the size instead of returning an error. Do this in the core to avoid having each driver do the clamping. [...]
Here is the summary with links:
- [net-next,v2] page_pool: Clamp pool size to max 16K pages
https://git.kernel.org/netdev/net-next/c/a1b501a8c6a8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html