Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH rdma-next v4 0/7] RDMA/bnxt_re: Support QP uapi extensions
@ 2026-05-08  8:58 Sriharsha Basavapatna
  2026-05-08  8:58 ` [PATCH rdma-next v4 1/7] RDMA/bnxt_re: Refactor bnxt_re_init_user_qp() Sriharsha Basavapatna
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Sriharsha Basavapatna @ 2026-05-08  8:58 UTC (permalink / raw)
  To: leon, jgg
  Cc: linux-rdma, andrew.gospodarek, selvin.xavier,
	kalesh-anakkur.purayil, Sriharsha Basavapatna

Hi,

This patchset adds QP uapi extensions to the bnxt_re driver.
This is required by applications that need to manage some of the
RDMA HW resources directly and to implement the datapath in the
application.

This series supports application allocated memory for QPs.
The application takes into account SQ/RQ ring sizing constraints
(extra entries, rounding up etc) while allocating this memory.
The driver should avoid duplicating this logic while creating
these QPs.

uAPI changes in this series:
- Patch#4: new uapi parameter 'sq_npsn' in bnxt_re_qp_req.
- Patch#6: new driver specific attribute 'DBR_HANDLE' for doorbell region.
- Patch#7: new comp_mask 'FIXED_QUE_ATTR' in bnxt_re_qp_req.

Patch#1 Refactor bnxt_re_init_user_qp()
Patch#2 Update rq depth for app allocated QPs
Patch#3 Update sq depth for app allocated QPs
Patch#4 Update msn table size for app allocated QPs
Patch#5 Update hwq depth for app allocated QPs
Patch#6 Support doorbells for app allocated QPs
Patch#7 Enable app allocated QPs 

Thanks,
-Harsha

******

Changes:

v4:
- Rebased to latest for-next tree (Linux 7.1-rc1, commit: 254f49634ee1).
- Renamed QP req comp_mask: APP_ALLOCATED_QP_ENABLE -> FIXED_QUE_ATTR.

v3:
- Removed umem patch from the series, that is dependent on uverbs support.
- Patch#7: Process DBR_HANDLE attr regardless of app_qp comp_mask.

v2:
- Rebased to umem_list uverbs patch series:
  https://patchwork.kernel.org/project/linux-rdma/cover/20260325150048.168341-1-jiri@resnulli.us/
- Deleted Patch#9; create_qp_umem devop is not supported.

v3: https://lore.kernel.org/linux-rdma/20260415054957.36745-1-sriharsha.basavapatna@broadcom.com/
v2: https://lore.kernel.org/linux-rdma/20260327091755.47754-1-sriharsha.basavapatna@broadcom.com/
v1: https://lore.kernel.org/linux-rdma/20260320135437.48716-1-sriharsha.basavapatna@broadcom.com/

******

Sriharsha Basavapatna (7):
  RDMA/bnxt_re: Refactor bnxt_re_init_user_qp()
  RDMA/bnxt_re: Update rq depth for app allocated QPs
  RDMA/bnxt_re: Update sq depth for app allocated QPs
  RDMA/bnxt_re: Update msn table size for app allocated QPs
  RDMA/bnxt_re: Update hwq depth for app allocated QPs
  RDMA/bnxt_re: Support doorbells for app allocated QPs
  RDMA/bnxt_re: Enable app allocated QPs

 drivers/infiniband/hw/bnxt_re/ib_verbs.c | 270 +++++++++++++++--------
 drivers/infiniband/hw/bnxt_re/ib_verbs.h |   1 +
 drivers/infiniband/hw/bnxt_re/uapi.c     |  18 ++
 include/uapi/rdma/bnxt_re-abi.h          |   6 +
 4 files changed, 206 insertions(+), 89 deletions(-)

-- 
2.51.2.636.ga99f379adf


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-05-12 16:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08  8:58 [PATCH rdma-next v4 0/7] RDMA/bnxt_re: Support QP uapi extensions Sriharsha Basavapatna
2026-05-08  8:58 ` [PATCH rdma-next v4 1/7] RDMA/bnxt_re: Refactor bnxt_re_init_user_qp() Sriharsha Basavapatna
2026-05-08  8:58 ` [PATCH rdma-next v4 2/7] RDMA/bnxt_re: Update rq depth for app allocated QPs Sriharsha Basavapatna
2026-05-08  8:58 ` [PATCH rdma-next v4 3/7] RDMA/bnxt_re: Update sq " Sriharsha Basavapatna
2026-05-08  8:58 ` [PATCH rdma-next v4 4/7] RDMA/bnxt_re: Update msn table size " Sriharsha Basavapatna
2026-05-08  8:58 ` [PATCH rdma-next v4 5/7] RDMA/bnxt_re: Update hwq depth " Sriharsha Basavapatna
2026-05-08  8:58 ` [PATCH rdma-next v4 6/7] RDMA/bnxt_re: Support doorbells " Sriharsha Basavapatna
2026-05-08  8:58 ` [PATCH rdma-next v4 7/7] RDMA/bnxt_re: Enable " Sriharsha Basavapatna
2026-05-12 16:53 ` [PATCH rdma-next v4 0/7] RDMA/bnxt_re: Support QP uapi extensions Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox