summaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma/hfi
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2016-09-04 14:30:30 +0300
committerDoug Ledford <dledford@redhat.com>2017-01-10 12:41:40 -0500
commit843debb889c7a95c7f591acaed185734694b0ff7 (patch)
tree83d94c1947a091a85f46cb8bfd90cc20fdae7270 /include/uapi/rdma/hfi
parenta121103c922847ba5010819a3f250f1f7fc84ab8 (diff)
downloadop-kernel-dev-843debb889c7a95c7f591acaed185734694b0ff7.zip
op-kernel-dev-843debb889c7a95c7f591acaed185734694b0ff7.tar.gz
RDMA/core: Commonize RDMA IOCTL declarations location
This patch provides one common file (rdma_user_ioctl.h) for all RDMA UAPI IOCTLs. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Haggai Eran <haggaie@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma/hfi')
-rw-r--r--include/uapi/rdma/hfi/hfi1_user.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/rdma/hfi/hfi1_user.h b/include/uapi/rdma/hfi/hfi1_user.h
index 587b736..57d3613 100644
--- a/include/uapi/rdma/hfi/hfi1_user.h
+++ b/include/uapi/rdma/hfi/hfi1_user.h
@@ -57,6 +57,7 @@
#define _LINUX__HFI1_USER_H
#include <linux/types.h>
+#include <rdma/rdma_user_ioctl.h>
/*
* This version number is given to the driver by the user code during
@@ -132,7 +133,6 @@
* User IOCTLs can not go above 128 if they do then see common.h and change the
* base for the snoop ioctl
*/
-#define IB_IOCTL_MAGIC 0x1b /* See Documentation/ioctl/ioctl-number.txt */
/*
* Make the ioctls occupy the last 0xf0-0xff portion of the IB range
OpenPOWER on IntegriCloud