Re: [PATCH rdma-next] RDMA/mana_ib: Enable multi-port GSI QP support for mana_ib
From: Jason Gunthorpe
Date: Tue Aug 11 2026 - 16:07:34 EST
On Mon, Aug 10, 2026 at 02:23:52AM -0700, Konstantin Taranov wrote:
> From: Snehal Sanghvi <snsanghvi@xxxxxxxxxxxxx>
>
> Add MANA_IB_FEATURE_MULTI_PORT_GSI_SUPPORT so mana_ib can create a GSI QP
> per IB port instead of just one. When the feature is negotiated, the port's
> vNIC MAC is passed on GSI QP creation and each GSI QP is indexed in the QP
> table by port so the GSI SQ drain can reach every port.
>
> Also move MANA_SENDQ_MASK to BIT(0), freeing the top byte of the queue-id
> key to index GSI QPs by port and scaling the feature to the full 8-bit port
> range.
>
> Signed-off-by: Snehal Sanghvi <snsanghvi@xxxxxxxxxxxxx>
> Signed-off-by: Konstantin Taranov <kotaranov@xxxxxxxxxxxxx>
> ---
> It is rebased on the series "RDMA/mana_ib: Extend MANA RC QP support for UAPI".
> It can be also applied to the next, but there will be a trivial conflict on
> adding a new bit to the enum mana_ib_adapter_features.
> drivers/infiniband/hw/mana/cq.c | 26 +++++++++++++++++---------
> drivers/infiniband/hw/mana/main.c | 28 ++++++++++++++++++++++++++--
> drivers/infiniband/hw/mana/mana_ib.h | 15 +++++++++++++--
> drivers/infiniband/hw/mana/qp.c | 17 ++++++++++++++++-
> 4 files changed, 72 insertions(+), 14 deletions(-)
Does not apply, resend it.
Don't send patches that are not based on a public commit, I won't try
to fix things that don't at least get a 3 way merge.
Jason