Re: [PATCH net-next,v4] net: mana: Force full-page RX buffers via ethtool private flag
From: Dipayaan Roy
Date: Tue Apr 07 2026 - 15:30:02 EST
On Mon, Apr 06, 2026 at 10:51:36AM -0700, Jakub Kicinski wrote:
> On Sat, 4 Apr 2026 20:14:35 -0700 Dipayaan Roy wrote:
> > Function Fragment Full-page Delta
> > ─---------------------------- ─------- --------- -----
> > napi_pp_put_page 3.93% 0.85% +3.08%
> > page_pool_alloc_frag_netmem 1.93% — +1.93%
> > Total page_pool overhead 5.86% 0.85% +5.01%
>
>
> Thanks for the analysis, and presumably recycling the full page is
> cheaper because page_pool_put_unrefed_netmem() hits the fastpath
> because page_pool_napi_local() returns true?
yes right, thus avoiding atomics.
Regards