> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Alexander Lobakin
> Sent: Tuesday, August 26, 2025 9:25 PM
> To: [email protected]
> Cc: Lobakin, Aleksander <[email protected]>; Kubiak, Michal
> <[email protected]>; Fijalkowski, Maciej
> <[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]>; Alexei Starovoitov <[email protected]>; Daniel
> Borkmann <[email protected]>; Simon Horman <[email protected]>;
> NXNE CNSE OSDT ITP Upstreaming
> <[email protected]>; [email protected];
> [email protected]; [email protected]
> Subject: [Intel-wired-lan] [PATCH iwl-next v5 07/13] idpf: add support for
> nointerrupt queues
>
> Currently, queues are associated 1:1 with interrupt vectors as it's assumed
> queues are always interrupt-driven. For XDP, we want to use Tx queues
> without interrupts and only do "lazy" cleaning when the number of free
> elements is <= threshold (closest pow-2 to 1/4 of the ring).
> In order to use a queue without an interrupt, idpf still needs to have a
> vector
> assigned to it to flush descriptors. This vector can be global and only one
> for
> the whole vport to handle all its noirq queues.
> Always request one excessive vector and configure it in non-interrupt mode
> right away when creating vport, so that it can be used later by queues when
> needed (not only XDP ones).
>
> Co-developed-by: Michal Kubiak <[email protected]>
> Signed-off-by: Michal Kubiak <[email protected]>
> Signed-off-by: Alexander Lobakin <[email protected]>
> ---
> drivers/net/ethernet/intel/idpf/idpf.h | 8 +++
> drivers/net/ethernet/intel/idpf/idpf_txrx.h | 4 ++
> drivers/net/ethernet/intel/idpf/idpf_dev.c | 11 +++-
> drivers/net/ethernet/intel/idpf/idpf_lib.c | 2 +-
> drivers/net/ethernet/intel/idpf/idpf_txrx.c | 8 +++
> drivers/net/ethernet/intel/idpf/idpf_vf_dev.c | 11 +++-
> .../net/ethernet/intel/idpf/idpf_virtchnl.c | 54 ++++++++++++++-----
> 7 files changed, 81 insertions(+), 17 deletions(-)
>
Tested-by: R,Ramu <[email protected]>