[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210120205914.4d382e23@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Wed, 20 Jan 2021 20:59:14 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Kevin Hao <haokexin@...il.com>
Cc: sundeep.lkml@...il.com, davem@...emloft.net,
netdev@...r.kernel.org, gakula@...vell.com, hkelam@...vell.com,
Subbaraya Sundeep <sbhatta@...vell.com>,
Sunil Goutham <sgoutham@...vell.com>
Subject: Re: [PATCH] Revert "octeontx2-pf: Use the napi_alloc_frag() to
alloc the pool buffers"
On Thu, 21 Jan 2021 12:20:35 +0800 Kevin Hao wrote:
> Hmm, why not?
> buf = napi_alloc_frag(pool->rbsize + 128);
> buf = PTR_ALIGN(buf, 128);
I'd keep the aligning in the driver until there are more users
needing this but yes, I agree, aligning the page frag buffers
seems like a much better fix.
Powered by blists - more mailing lists