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>
This commit is contained in:
Nicolas Dichtel
2017-03-27 14:20:14 +02:00
committed by Masahiro Yamada
parent 3a4e7f56ca
commit ea6819e1f2
3 changed files with 4 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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 */