[PATCH rdma-next v2 14/15] RDMA/uverbs: Add doorbell record buffer slot to QP umem_list

Jiri Pirko
2026-04-11T14:49:38Z

From: Jiri Pirko <jiri@nvidia.com>

Extend the QP buffer slot enum with UVERBS_BUF_QP_DBR, allowing
userspace to provide doorbell record memory via the generic buffer
descriptor infrastructure.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
---
include/uapi/rdma/ib_user_ioctl_cmds.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/uapi/rdma/ib_user_ioctl_cmds.h b/include/uapi/rdma/ib_user_ioctl_cmds.h
index 26c2e3b2125a..1a47942ca1a6 100644
--- a/include/uapi/rdma/ib_user_ioctl_cmds.h
+++ b/include/uapi/rdma/ib_user_ioctl_cmds.h
@@ -172,6 +172,7 @@ enum uverbs_buf_qp_slots {
UVERBS_BUF_QP_BUF,
UVERBS_BUF_QP_RQ_BUF,
UVERBS_BUF_QP_SQ_BUF,
+ UVERBS_BUF_QP_DBR_BUF,
__UVERBS_BUF_QP_MAX,
UVERBS_BUF_QP_MAX = __UVERBS_BUF_QP_MAX - 1,
};
--
2.53.0