diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/rdma/ib_user_verbs.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/uapi/rdma/ib_user_verbs.h b/include/uapi/rdma/ib_user_verbs.h index 867cc5084afb..b513e662d8e4 100644 --- a/include/uapi/rdma/ib_user_verbs.h +++ b/include/uapi/rdma/ib_user_verbs.h | |||
@@ -90,6 +90,7 @@ enum { | |||
90 | }; | 90 | }; |
91 | 91 | ||
92 | enum { | 92 | enum { |
93 | IB_USER_VERBS_EX_CMD_QUERY_DEVICE = IB_USER_VERBS_CMD_QUERY_DEVICE, | ||
93 | IB_USER_VERBS_EX_CMD_CREATE_FLOW = IB_USER_VERBS_CMD_THRESHOLD, | 94 | IB_USER_VERBS_EX_CMD_CREATE_FLOW = IB_USER_VERBS_CMD_THRESHOLD, |
94 | IB_USER_VERBS_EX_CMD_DESTROY_FLOW, | 95 | IB_USER_VERBS_EX_CMD_DESTROY_FLOW, |
95 | }; | 96 | }; |
@@ -201,6 +202,28 @@ struct ib_uverbs_query_device_resp { | |||
201 | __u8 reserved[4]; | 202 | __u8 reserved[4]; |
202 | }; | 203 | }; |
203 | 204 | ||
205 | struct ib_uverbs_ex_query_device { | ||
206 | __u32 comp_mask; | ||
207 | __u32 reserved; | ||
208 | }; | ||
209 | |||
210 | struct ib_uverbs_odp_caps { | ||
211 | __u64 general_caps; | ||
212 | struct { | ||
213 | __u32 rc_odp_caps; | ||
214 | __u32 uc_odp_caps; | ||
215 | __u32 ud_odp_caps; | ||
216 | } per_transport_caps; | ||
217 | __u32 reserved; | ||
218 | }; | ||
219 | |||
220 | struct ib_uverbs_ex_query_device_resp { | ||
221 | struct ib_uverbs_query_device_resp base; | ||
222 | __u32 comp_mask; | ||
223 | __u32 response_length; | ||
224 | struct ib_uverbs_odp_caps odp_caps; | ||
225 | }; | ||
226 | |||
204 | struct ib_uverbs_query_port { | 227 | struct ib_uverbs_query_port { |
205 | __u64 response; | 228 | __u64 response; |
206 | __u8 port_num; | 229 | __u8 port_num; |