summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2017-03-27 14:20:14 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-05-11 00:18:39 +0900
commitea6819e1f2d6c30624ea067f4b3a50a3cca79d8a (patch)
tree5e359b4811eea0330d4ab029dced5ea36c9767bf /include/uapi
parent3a4e7f56ca6cd66e69a159073584434b2e639c71 (diff)
downloadlinux-ea6819e1f2d6c30624ea067f4b3a50a3cca79d8a.tar.bz2
smc_diag.h: fix include from userland
This patch prepares the uapi export by fixing the following error: .../linux/smc_diag.h:6:27: fatal error: rdma/ib_verbs.h: No such file or directory #include <rdma/ib_verbs.h> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/smc_diag.h2
-rw-r--r--include/uapi/rdma/ib_user_verbs.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/smc_diag.h b/include/uapi/linux/smc_diag.h
index 0063919fea34..87712bfaa9dd 100644
--- a/include/uapi/linux/smc_diag.h
+++ b/include/uapi/linux/smc_diag.h
@@ -3,7 +3,7 @@
#include <linux/types.h>
#include <linux/inet_diag.h>
-#include <rdma/ib_verbs.h>
+#include <rdma/ib_user_verbs.h>
/* Request structure */
struct smc_diag_req {
diff --git a/include/uapi/rdma/ib_user_verbs.h b/include/uapi/rdma/ib_user_verbs.h
index 477d629f539d..270c350bedc6 100644
--- a/include/uapi/rdma/ib_user_verbs.h
+++ b/include/uapi/rdma/ib_user_verbs.h
@@ -1135,4 +1135,6 @@ struct ib_uverbs_ex_destroy_rwq_ind_table {
__u32 ind_tbl_handle;
};
+#define IB_DEVICE_NAME_MAX 64
+
#endif /* IB_USER_VERBS_H */