summaryrefslogtreecommitdiff
path: root/include/uapi/rdma/ib_user_verbs.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-11-30 13:06:21 +0200
committerDoug Ledford <dledford@redhat.com>2018-12-18 14:12:48 -0500
commit4785860e04bc8d7e244b25257168e1cf8a5529ab (patch)
treea8f6df83239aaa552a69a1f080c6649961aa088f /include/uapi/rdma/ib_user_verbs.h
parent241414967fb92fdd6f4da27df74b9c9eb11d05f7 (diff)
RDMA/uverbs: Implement an ioctl that can call write and write_ex handlers
Now that the handlers do not process their own udata we can make a sensible ioctl that wrappers them. The ioctl follows the same format as the write_ex() and has the user explicitly specify the core and driver in/out opaque structures and a command number. This works for all forms of write commands. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma/ib_user_verbs.h')
-rw-r--r--include/uapi/rdma/ib_user_verbs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/rdma/ib_user_verbs.h b/include/uapi/rdma/ib_user_verbs.h
index c586fc43739c..480d9a60b68e 100644
--- a/include/uapi/rdma/ib_user_verbs.h
+++ b/include/uapi/rdma/ib_user_verbs.h
@@ -46,7 +46,7 @@
#define IB_USER_VERBS_ABI_VERSION 6
#define IB_USER_VERBS_CMD_THRESHOLD 50
-enum {
+enum ib_uverbs_write_cmds {
IB_USER_VERBS_CMD_GET_CONTEXT,
IB_USER_VERBS_CMD_QUERY_DEVICE,
IB_USER_VERBS_CMD_QUERY_PORT,