linux/include/net/mana
Long Li 062b2b051f RDMA/mana_ib: Allocate interrupt contexts on EQs
Use the GIC functions to allocate interrupt contexts for RDMA EQs. These
interrupt contexts may be shared with Ethernet EQs when MSI-X vectors
are limited.

The driver now supports allocating dedicated MSI-X for each EQ. Indicate
this capability through driver capability bits. The RDMA EQs pass
use_msi_bitmap=false to share MSI-X vectors with Ethernet, while the
capability flag advertises that the driver supports per-vPort EQ
separation when hardware has sufficient vectors.

Populate eq.irq on all RDMA EQs for consistency with the Ethernet path.

Also relocate the GDMA_DRV_CAP_FLAG_1_HW_VPORT_LINK_AWARE define to its
numeric BIT(6) position among the other capability flags.

Signed-off-by: Long Li <longli@microsoft.com>
Acked-by: Leon Romanovsky <leon@kernel.org>
Link: https://patch.msgid.link/20260605005717.2059954-7-longli@microsoft.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
History 2026-06-09 17:22:27 -07:00
..
gdma.h RDMA/mana_ib: Allocate interrupt contexts on EQs 2026-06-09 17:22:27 -07:00
hw_channel.h net: mana: Support HW link state events 2025-10-31 15:56:53 -07:00
mana.h net: mana: Create separate EQs for each vPort 2026-06-09 17:22:26 -07:00
mana_auxiliary.h net: mana: Move header files to a common location 2022-11-10 07:57:26 +02:00
shm_channel.h net: mana: Fix crash from unvalidated SHM offset read from BAR0 during FLR 2026-05-05 15:43:08 +02:00