Re: [PATCH net-next v5 0/6] net: mana: Per-vPort EQ and MSI-X interrupt management
From: Simon Horman <horms@kernel.org>
Date: 2026-03-25 16:56:52
Also in:
linux-hyperv, linux-rdma, lkml
From: Simon Horman <horms@kernel.org>
Date: 2026-03-25 16:56:52
Also in:
linux-hyperv, linux-rdma, lkml
On Mon, Mar 23, 2026 at 12:59:46PM -0700, Long Li wrote:
This series adds per-vPort Event Queue (EQ) allocation and MSI-X interrupt management for the MANA driver. Previously, all vPorts shared a single set of EQs. This change enables dedicated EQs per vPort with support for both dedicated and shared MSI-X vector allocation modes. Patch 1 moves EQ ownership from mana_context to per-vPort mana_port_context and exports create/destroy functions for the RDMA driver. Patch 2 adds device capability queries to determine whether MSI-X vectors should be dedicated per-vPort or shared. When the number of available MSI-X vectors is insufficient for dedicated allocation, the driver enables sharing mode with bitmap-based vector assignment. Patch 3 introduces the GIC (GDMA IRQ Context) abstraction with reference counting, allowing multiple EQs to safely share a single MSI-X vector. Patch 4 converts the global EQ allocation in probe/resume to use the new GIC functions. Patch 5 adds per-vPort GIC lifecycle management, calling get/put on each EQ creation and destruction during vPort open/close. Patch 6 extends the same GIC lifecycle management to the RDMA driver's EQ allocation path. Changes in v5: - Rebased on net-next/main
Hi Long Li, Unfortunately v5 also doesn't apply cleanly to net-next. -- pw-bot: changes-requested