Re: [PATCH net v1 1/2] page_pool: expose max page pool ring size
From: Mina Almasry
Date: Wed Nov 05 2025 - 17:56:53 EST
On Wed, Nov 5, 2025 at 1:56 PM Jesper Dangaard Brouer <hawk@xxxxxxxxxx> wrote:
> > diff --git a/include/net/page_pool/types.h b/include/net/page_pool/types.h
> > index 1509a536cb85..5edba3122b10 100644
> > --- a/include/net/page_pool/types.h
> > +++ b/include/net/page_pool/types.h
> > @@ -58,6 +58,8 @@ struct pp_alloc_cache {
> > netmem_ref cache[PP_ALLOC_CACHE_SIZE];
> > };
> >
> > +#define PAGE_POOL_MAX_RING_SIZE 16384
> > +
>
> IIRC this was recently reduced to 16384 (from 32K), do you have a
> use-case for higher limits?
>
Yes, I noticed that. Increasing to 16384 resolved my issue, so I did
not feel the need to revert back to 32K.
We're expanding testing more and more and I may run into another issue
that asks that I re-increase the limit (maybe with a check that it's
indeed a ZC configuration, so no extra memory will be pinned), but for
now I did not find a justification for that.
--
Thanks,
Mina