lkml.org 
[lkml]   [2023]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [EXT] Re: [PATCH net] octeontx2-pf: Set page pool size
Date
> From: Jakub Kicinski <kuba@kernel.org>
> Sent: Thursday, August 10, 2023 11:30 PM
> To: Alexander Lobakin <aleksander.lobakin@intel.com>
> > 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

\
 
 \ /
  Last update: 2023-08-11 03:57    [W:2.458 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site