aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/uapi/rdma/ib_user_verbs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/rdma/ib_user_verbs.h b/include/uapi/rdma/ib_user_verbs.h
index 805711ea2005..61535aa0a62e 100644
--- a/include/uapi/rdma/ib_user_verbs.h
+++ b/include/uapi/rdma/ib_user_verbs.h
@@ -43,6 +43,7 @@
43 * compatibility are made. 43 * compatibility are made.
44 */ 44 */
45#define IB_USER_VERBS_ABI_VERSION 6 45#define IB_USER_VERBS_ABI_VERSION 6
46#define IB_USER_VERBS_CMD_THRESHOLD 50
46 47
47enum { 48enum {
48 IB_USER_VERBS_CMD_GET_CONTEXT, 49 IB_USER_VERBS_CMD_GET_CONTEXT,
@@ -123,6 +124,15 @@ struct ib_uverbs_cmd_hdr {
123 __u16 out_words; 124 __u16 out_words;
124}; 125};
125 126
127struct ib_uverbs_cmd_hdr_ex {
128 __u32 command;
129 __u16 in_words;
130 __u16 out_words;
131 __u16 provider_in_words;
132 __u16 provider_out_words;
133 __u32 cmd_hdr_reserved;
134};
135
126struct ib_uverbs_get_context { 136struct ib_uverbs_get_context {
127 __u64 response; 137 __u64 response;
128 __u64 driver_data[0]; 138 __u64 driver_data[0];