Messages in this thread | | | From | Ratheesh Kannoth <> | Subject | RE: [EXT] Re: [PATCH net v1] octeontx2-pf: Fix page pool frag allocation failure. | Date | Fri, 6 Oct 2023 02:55:38 +0000 |
| |
> From: Jakub Kicinski <kuba@kernel.org> > 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.
| |