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

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

Extend the CQ buffer slot enum with UVERBS_BUF_CQ_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 9c5d3f989977..26c2e3b2125a 100644
--- a/include/uapi/rdma/ib_user_ioctl_cmds.h
+++ b/include/uapi/rdma/ib_user_ioctl_cmds.h
@@ -122,6 +122,7 @@ enum uverbs_attrs_create_cq_cmd_attr_ids {

enum uverbs_buf_cq_slots {
UVERBS_BUF_CQ_BUF,
+ UVERBS_BUF_CQ_DBR,
__UVERBS_BUF_CQ_MAX,
UVERBS_BUF_CQ_MAX = __UVERBS_BUF_CQ_MAX - 1,
};
--
2.53.0