Re: [PATCH net-next 2/2] net/mlx5e: Clamp page_pool size to max

From
Dragos Tatulea <dtatulea@nvidia.com>
Date
2025-09-23 15:12:40
Also in
linux-rdma, lkml
Reply to
Jakub Kicinski, 2025-09-23
On Tue, Sep 23, 2025 at 07:23:56AM -0700, Jakub Kicinski wrote:
On Mon, 22 Sep 2025 12:18:35 +0300 Tariq Toukan wrote:
quoted
When the user configures a large ring size (8K) and a large MTU (9000)
in HW-GRO mode, the queue will fail to allocate due to the size of the
page_pool going above the limit.
Please do some testing. A PP cache of 32k is just silly, you should
probably use a smaller limit.
You mean clamping the pool_size to a certain limit so that the page_pool
ring size doesn't cover a full RQ when the RQ ring size is too large?

Thanks,
Dragos
Thread (12 messages) 12 messages, 6 authors, last reply 2025-10-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help