Re: [Intel-wired-lan] [PATCH iwl-next 1/3] libeth: add __libeth_rx_sync_for_cpu
"Loktionov, Aleksandr" <[email protected]> Fri, 31 Jul 2026 13:37:44 +0000
| Newsgroups | org.osuosl.intel-wired-lan,org.kernel.vger.netdev |
|---|---|
| Message-ID | <IA3PR11MB898630CB0167FA981446F8A0E5C82@IA3PR11MB8986.namprd11.prod.outlook.com> |
> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf > Of Matt Vollrath > Sent: Friday, July 31, 2026 2:41 PM > To: [email protected] > Cc: [email protected]; Lobakin, Aleksander > <[email protected]>; Nguyen, Anthony L > <[email protected]>; Kitszel, Przemyslaw > <[email protected]>; Andrew Lunn <[email protected]>; > David S . Miller <[email protected]>; Eric Dumazet > <[email protected]>; Jakub Kicinski <[email protected]>; Paolo Abeni > <[email protected]>; Simon Horman <[email protected]>; Matt Vollrath > <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next 1/3] libeth: add > __libeth_rx_sync_for_cpu >=20 > Deriving a netmem's page pool from the ref requires loading a pointer > from the netmem_desc, which may not be cached. The driver may already > have a cached reference to the correct page pool, so add a bypass. >=20 > No functional change for existing callers. >=20 > Signed-off-by: Matt Vollrath <[email protected]> > Assisted-by: Claude:claude-5-fable > --- > include/net/libeth/rx.h | 37 ++++++++++++++++++++++++++----------- > 1 file changed, 26 insertions(+), 11 deletions(-) >=20 > diff --git a/include/net/libeth/rx.h b/include/net/libeth/rx.h index > 5d991404845e..fddac084e001 100644 > --- a/include/net/libeth/rx.h > +++ b/include/net/libeth/rx.h > @@ -118,36 +118,51 @@ static inline dma_addr_t libeth_rx_alloc(const > struct libeth_fq_fp *fq, u32 i) void > libeth_rx_recycle_slow(netmem_ref netmem); >=20 > /** ... > /* Converting abstract packet type numbers into a software structure > with > * the packet parameters to do O(1) lookup on Rx. > */ > -- > 2.43.0 Reviewed-by: Aleksandr Loktionov <[email protected]>