RE: [EXT] Re: [PATCH net v1] octeontx2-pf: Fix page pool frag allocation failure.

From: Ratheesh Kannoth
Date: Thu Oct 05 2023 - 22:56:31 EST


> From: Jakub Kicinski <kuba@xxxxxxxxxx>
> Subject: [EXT] Re: [PATCH net v1] octeontx2-pf: Fix page pool frag allocation
> failure.
> > + sz = PAGE_ALIGN(ALIGN(SKB_DATA_ALIGN(buf_size),
> OTX2_ALIGN));
> > + pp_params.order = get_order(sz);
>
> Surely get_order() rounds up by itself otherwise all callers would have to do
> the PAGE_ALIGN()...
ACK.