> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Alexander Lobakin > Sent: Thursday, December 4, 2025 7:51 AM > To: [email protected] > Cc: 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]>; Keller, Jacob E > <[email protected]>; Loktionov, Aleksandr > <[email protected]>; NXNE CNSE OSDT ITP Upstreaming > <[email protected]>; [email protected]; linux- > [email protected] > Subject: [Intel-wired-lan] [PATCH iwl-next v2 1/5] libeth: pass Rx queue > index to PP when creating a fill queue > > Since recently, page_pool_create() accepts optional stack index of the Rx > queue which the pool will be created for. It can then be used on control path > for stuff like memory providers. > Add the same field to libeth_fq and pass the index from all the drivers using > libeth for managing Rx to simplify implementing MP support later. > idpf has one libeth_fq per buffer/fill queue and each Rx queue has two fill > queues, but since fill queues can never be shared, we can store the > corresponding Rx queue index there during the initialization to pass > it to > libeth. > > Reviewed-by: Jacob Keller <[email protected]> > Reviewed-by: Aleksandr Loktionov <[email protected]> > Signed-off-by: Alexander Lobakin <[email protected]> > --- > drivers/net/ethernet/intel/idpf/idpf_txrx.h | 2 ++ > include/net/libeth/rx.h | 2 ++ > drivers/net/ethernet/intel/iavf/iavf_txrx.c | 1 + > drivers/net/ethernet/intel/ice/ice_base.c | 2 ++ > drivers/net/ethernet/intel/idpf/idpf_txrx.c | 13 +++++++++++++ > drivers/net/ethernet/intel/libeth/rx.c | 1 + > 6 files changed, 21 insertions(+)
Tested-by: Alexander Nowlin <[email protected]>
