diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2016-09-04 14:30:30 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-10 20:41:40 +0300 |
commit | 843debb889c7a95c7f591acaed185734694b0ff7 (patch) | |
tree | 83d94c1947a091a85f46cb8bfd90cc20fdae7270 /include/uapi/rdma/ib_user_mad.h | |
parent | a121103c922847ba5010819a3f250f1f7fc84ab8 (diff) | |
download | linux-843debb889c7a95c7f591acaed185734694b0ff7.tar.xz |
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/ib_user_mad.h')
-rw-r--r-- | include/uapi/rdma/ib_user_mad.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/uapi/rdma/ib_user_mad.h b/include/uapi/rdma/ib_user_mad.h index 09f809f323ea..9de7a2b273d7 100644 --- a/include/uapi/rdma/ib_user_mad.h +++ b/include/uapi/rdma/ib_user_mad.h @@ -35,7 +35,7 @@ #define IB_USER_MAD_H #include <linux/types.h> -#include <linux/ioctl.h> +#include <rdma/rdma_user_ioctl.h> /* * Increment this value if any changes that break userspace ABI @@ -230,8 +230,6 @@ struct ib_user_mad_reg_req2 { __u8 reserved[3]; }; -#define IB_IOCTL_MAGIC 0x1b - #define IB_USER_MAD_REGISTER_AGENT _IOWR(IB_IOCTL_MAGIC, 1, \ struct ib_user_mad_reg_req) |