RE: [EXT] Re: [PATCH net] octeontx2-pf: Set page pool size

From: Ratheesh Kannoth
Date: Thu Aug 10 2023 - 21:56:04 EST


> From: Jakub Kicinski <kuba@xxxxxxxxxx>
> Sent: Thursday, August 10, 2023 11:30 PM
> To: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx>
> > min(numptrs, OTX2_PAGE_POOL_MAX_SZ)
>
> And someone needs to tell me why the 2k was chosen as a value that
> uniquely fits this device but not other devices..

Would i move this macro ( min(numptrs, PAGE_POOL_MAX_SZ) ) to page_pool_init() ?

-Ratheesh