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

From: Jakub Kicinski
Date: Thu Oct 05 2023 - 12:28:29 EST


On Thu, 5 Oct 2023 07:44:34 +0530 Ratheesh Kannoth wrote:
> + 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()...
--
pw-bot: cr