Re: [PATCH rdma-next] RDMA/mana_ib: Enable multi-port GSI QP support for mana_ib

Jason Gunthorpe <[email protected]>
Newsgroups org.kernel.vger.linux-rdma,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Mon, Aug 10, 2026 at 02:23:52AM -0700, Konstantin Taranov wrote:
> From: Snehal Sanghvi <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Konstantin Taranov <[email protected]>
> ---
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.