aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorGravatar Yishai Hadas <yishaih@mellanox.com> 2020-05-19 10:27:07 +0300
committerGravatar Jason Gunthorpe <jgg@mellanox.com> 2020-05-21 20:34:53 -0300
commitcda9ee494248b890973f5d31cf7851c0d21755b9 (patch)
tree7fc742f2de7f1dba4a7a101fa4145a6bfcb71cd9 /include/uapi/rdma
parentIB/uverbs: Refactor related objects to use their own asynchronous event FD (diff)
downloadlinux-cda9ee494248b890973f5d31cf7851c0d21755b9.tar.gz
linux-cda9ee494248b890973f5d31cf7851c0d21755b9.tar.bz2
linux-cda9ee494248b890973f5d31cf7851c0d21755b9.zip
IB/uverbs: Extend CQ to get its own asynchronous event FD
Extend CQ to get its own asynchronous event FD. The event FD is an optional attribute, in case wasn't given the ufile event FD will be used. Link: https://lore.kernel.org/r/20200519072711.257271-4-leon@kernel.org Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r--include/uapi/rdma/ib_user_ioctl_cmds.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/rdma/ib_user_ioctl_cmds.h b/include/uapi/rdma/ib_user_ioctl_cmds.h
index d4ddbe4e696c..286fdc1929e0 100644
--- a/include/uapi/rdma/ib_user_ioctl_cmds.h
+++ b/include/uapi/rdma/ib_user_ioctl_cmds.h
@@ -95,6 +95,7 @@ enum uverbs_attrs_create_cq_cmd_attr_ids {
UVERBS_ATTR_CREATE_CQ_COMP_VECTOR,
UVERBS_ATTR_CREATE_CQ_FLAGS,
UVERBS_ATTR_CREATE_CQ_RESP_CQE,
+ UVERBS_ATTR_CREATE_CQ_EVENT_FD,
};
enum uverbs_attrs_destroy_cq_cmd_attr_ids {