public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-next v2 0/8] RDMA/bnxt_re: Support QP uapi extensions
@ 2026-03-27  9:17 Sriharsha Basavapatna
  2026-03-27  9:17 ` [PATCH rdma-next v2 1/8] RDMA/bnxt_re: Refactor bnxt_re_init_user_qp() Sriharsha Basavapatna
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Sriharsha Basavapatna @ 2026-03-27  9:17 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.

The ring buffers provided by the application are pinned by the
uverbs layer before they are passed (as ib_umem) to the driver.
The uverbs changes are in review (see Changes below).

uAPI changes in this series:
- Patch#5: new uapi parameter 'sq_npsn' in bnxt_re_qp_req.
- Patch#7: new driver specific attribute 'DBR_HANDLE' for doorbell region.
- Patch#8: new comp_mask 'APP_ALLOCATED_QP_ENABLE' 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 umem for app allocated QPs
Patch#5 Update msn table size for app allocated QPs
Patch#6 Update hwq depth for app allocated QPs
Patch#7 Support doorbells for app allocated QPs
Patch#8 Enable app allocated QPs 

Thanks,
-Harsha

******

Changes:

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.

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

******

Sriharsha Basavapatna (8):
  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 umem 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 | 292 ++++++++++++++---------
 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, 210 insertions(+), 107 deletions(-)

-- 
2.51.2.636.ga99f379adf


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

end of thread, other threads:[~2026-04-14 15:15 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-27  9:17 [PATCH rdma-next v2 0/8] RDMA/bnxt_re: Support QP uapi extensions Sriharsha Basavapatna
2026-03-27  9:17 ` [PATCH rdma-next v2 1/8] RDMA/bnxt_re: Refactor bnxt_re_init_user_qp() Sriharsha Basavapatna
2026-03-27  9:17 ` [PATCH rdma-next v2 2/8] RDMA/bnxt_re: Update rq depth for app allocated QPs Sriharsha Basavapatna
2026-03-27  9:17 ` [PATCH rdma-next v2 3/8] RDMA/bnxt_re: Update sq " Sriharsha Basavapatna
2026-03-27  9:17 ` [PATCH rdma-next v2 4/8] RDMA/bnxt_re: Update umem " Sriharsha Basavapatna
2026-03-27  9:17 ` [PATCH rdma-next v2 5/8] RDMA/bnxt_re: Update msn table size " Sriharsha Basavapatna
2026-03-27  9:17 ` [PATCH rdma-next v2 6/8] RDMA/bnxt_re: Update hwq depth " Sriharsha Basavapatna
2026-03-27  9:17 ` [PATCH rdma-next v2 7/8] RDMA/bnxt_re: Support doorbells " Sriharsha Basavapatna
2026-03-27  9:17 ` [PATCH rdma-next v2 8/8] RDMA/bnxt_re: Enable " Sriharsha Basavapatna
2026-04-10 15:27   ` Jason Gunthorpe
2026-04-14  6:13     ` Sriharsha Basavapatna
2026-04-14 12:34       ` Jason Gunthorpe
2026-04-14 13:40         ` Sriharsha Basavapatna
2026-04-14 13:54           ` Jason Gunthorpe
2026-04-14 14:06             ` Sriharsha Basavapatna
2026-04-14 14:19               ` Jason Gunthorpe
2026-04-14 14:34                 ` Sriharsha Basavapatna
2026-04-14 15:09                   ` Jason Gunthorpe
2026-04-14 15:14                     ` Sriharsha Basavapatna
2026-04-10 15:25 ` [PATCH rdma-next v2 0/8] RDMA/bnxt_re: Support QP uapi extensions Jason Gunthorpe
2026-04-14  6:13   ` Sriharsha Basavapatna

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