lkml.org 
[lkml]   [2023]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [EXT] Re: [PATCH net v1] octeontx2-pf: Fix page pool frag allocation failure.
Date
> 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.

\
 
 \ /
  Last update: 2023-10-06 04:56    [W:0.031 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site