blob: dd931d87ff0a49516ad5990ccfa93e58a233841c [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef IB_USER_VERBS_H
20#define IB_USER_VERBS_H
21#include <linux/types.h>
22#define IB_USER_VERBS_ABI_VERSION 6
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070024#define IB_USER_VERBS_CMD_THRESHOLD 50
Ben Cheng655a7c02013-10-16 16:09:24 -070025enum {
26 IB_USER_VERBS_CMD_GET_CONTEXT,
27 IB_USER_VERBS_CMD_QUERY_DEVICE,
Ben Cheng655a7c02013-10-16 16:09:24 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070029 IB_USER_VERBS_CMD_QUERY_PORT,
Ben Cheng655a7c02013-10-16 16:09:24 -070030 IB_USER_VERBS_CMD_ALLOC_PD,
31 IB_USER_VERBS_CMD_DEALLOC_PD,
32 IB_USER_VERBS_CMD_CREATE_AH,
Ben Cheng655a7c02013-10-16 16:09:24 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070034 IB_USER_VERBS_CMD_MODIFY_AH,
Ben Cheng655a7c02013-10-16 16:09:24 -070035 IB_USER_VERBS_CMD_QUERY_AH,
36 IB_USER_VERBS_CMD_DESTROY_AH,
37 IB_USER_VERBS_CMD_REG_MR,
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070039 IB_USER_VERBS_CMD_REG_SMR,
Ben Cheng655a7c02013-10-16 16:09:24 -070040 IB_USER_VERBS_CMD_REREG_MR,
41 IB_USER_VERBS_CMD_QUERY_MR,
42 IB_USER_VERBS_CMD_DEREG_MR,
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070044 IB_USER_VERBS_CMD_ALLOC_MW,
Ben Cheng655a7c02013-10-16 16:09:24 -070045 IB_USER_VERBS_CMD_BIND_MW,
46 IB_USER_VERBS_CMD_DEALLOC_MW,
47 IB_USER_VERBS_CMD_CREATE_COMP_CHANNEL,
Ben Cheng655a7c02013-10-16 16:09:24 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070049 IB_USER_VERBS_CMD_CREATE_CQ,
Ben Cheng655a7c02013-10-16 16:09:24 -070050 IB_USER_VERBS_CMD_RESIZE_CQ,
51 IB_USER_VERBS_CMD_DESTROY_CQ,
52 IB_USER_VERBS_CMD_POLL_CQ,
Ben Cheng655a7c02013-10-16 16:09:24 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070054 IB_USER_VERBS_CMD_PEEK_CQ,
Ben Cheng655a7c02013-10-16 16:09:24 -070055 IB_USER_VERBS_CMD_REQ_NOTIFY_CQ,
56 IB_USER_VERBS_CMD_CREATE_QP,
57 IB_USER_VERBS_CMD_QUERY_QP,
Ben Cheng655a7c02013-10-16 16:09:24 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070059 IB_USER_VERBS_CMD_MODIFY_QP,
Ben Cheng655a7c02013-10-16 16:09:24 -070060 IB_USER_VERBS_CMD_DESTROY_QP,
61 IB_USER_VERBS_CMD_POST_SEND,
62 IB_USER_VERBS_CMD_POST_RECV,
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070064 IB_USER_VERBS_CMD_ATTACH_MCAST,
Ben Cheng655a7c02013-10-16 16:09:24 -070065 IB_USER_VERBS_CMD_DETACH_MCAST,
66 IB_USER_VERBS_CMD_CREATE_SRQ,
67 IB_USER_VERBS_CMD_MODIFY_SRQ,
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070069 IB_USER_VERBS_CMD_QUERY_SRQ,
Ben Cheng655a7c02013-10-16 16:09:24 -070070 IB_USER_VERBS_CMD_DESTROY_SRQ,
71 IB_USER_VERBS_CMD_POST_SRQ_RECV,
72 IB_USER_VERBS_CMD_OPEN_XRCD,
Christopher Ferris38062f92014-07-09 15:33:25 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070074 IB_USER_VERBS_CMD_CLOSE_XRCD,
Ben Cheng655a7c02013-10-16 16:09:24 -070075 IB_USER_VERBS_CMD_CREATE_XSRQ,
Christopher Ferris38062f92014-07-09 15:33:25 -070076 IB_USER_VERBS_CMD_OPEN_QP,
Ben Cheng655a7c02013-10-16 16:09:24 -070077};
Ben Cheng655a7c02013-10-16 16:09:24 -070078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070079enum {
80 IB_USER_VERBS_EX_CMD_CREATE_FLOW = IB_USER_VERBS_CMD_THRESHOLD,
81 IB_USER_VERBS_EX_CMD_DESTROY_FLOW
82};
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84struct ib_uverbs_async_event_desc {
Ben Cheng655a7c02013-10-16 16:09:24 -070085 __u64 element;
86 __u32 event_type;
87 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -070088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070089};
Ben Cheng655a7c02013-10-16 16:09:24 -070090struct ib_uverbs_comp_event_desc {
91 __u64 cq_handle;
92};
Ben Cheng655a7c02013-10-16 16:09:24 -070093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070094#define IB_USER_VERBS_CMD_COMMAND_MASK 0xff
95#define IB_USER_VERBS_CMD_FLAGS_MASK 0xff000000u
96#define IB_USER_VERBS_CMD_FLAGS_SHIFT 24
97#define IB_USER_VERBS_CMD_FLAG_EXTENDED 0x80
98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99struct ib_uverbs_cmd_hdr {
Ben Cheng655a7c02013-10-16 16:09:24 -0700100 __u32 command;
101 __u16 in_words;
102 __u16 out_words;
Ben Cheng655a7c02013-10-16 16:09:24 -0700103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700104};
105struct ib_uverbs_ex_cmd_hdr {
106 __u64 response;
107 __u16 provider_in_words;
108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109 __u16 provider_out_words;
110 __u32 cmd_hdr_reserved;
111};
Ben Cheng655a7c02013-10-16 16:09:24 -0700112struct ib_uverbs_get_context {
Christopher Ferris38062f92014-07-09 15:33:25 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700114 __u64 response;
115 __u64 driver_data[0];
116};
Ben Cheng655a7c02013-10-16 16:09:24 -0700117struct ib_uverbs_get_context_resp {
Christopher Ferris38062f92014-07-09 15:33:25 -0700118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700119 __u32 async_fd;
120 __u32 num_comp_vectors;
121};
Ben Cheng655a7c02013-10-16 16:09:24 -0700122struct ib_uverbs_query_device {
Christopher Ferris38062f92014-07-09 15:33:25 -0700123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700124 __u64 response;
125 __u64 driver_data[0];
126};
Ben Cheng655a7c02013-10-16 16:09:24 -0700127struct ib_uverbs_query_device_resp {
Christopher Ferris38062f92014-07-09 15:33:25 -0700128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700129 __u64 fw_ver;
130 __be64 node_guid;
131 __be64 sys_image_guid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700132 __u64 max_mr_size;
Christopher Ferris38062f92014-07-09 15:33:25 -0700133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700134 __u64 page_size_cap;
135 __u32 vendor_id;
136 __u32 vendor_part_id;
Ben Cheng655a7c02013-10-16 16:09:24 -0700137 __u32 hw_ver;
Christopher Ferris38062f92014-07-09 15:33:25 -0700138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700139 __u32 max_qp;
140 __u32 max_qp_wr;
141 __u32 device_cap_flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700142 __u32 max_sge;
Christopher Ferris38062f92014-07-09 15:33:25 -0700143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700144 __u32 max_sge_rd;
145 __u32 max_cq;
146 __u32 max_cqe;
Ben Cheng655a7c02013-10-16 16:09:24 -0700147 __u32 max_mr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700149 __u32 max_pd;
150 __u32 max_qp_rd_atom;
151 __u32 max_ee_rd_atom;
Ben Cheng655a7c02013-10-16 16:09:24 -0700152 __u32 max_res_rd_atom;
Christopher Ferris38062f92014-07-09 15:33:25 -0700153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700154 __u32 max_qp_init_rd_atom;
155 __u32 max_ee_init_rd_atom;
156 __u32 atomic_cap;
Ben Cheng655a7c02013-10-16 16:09:24 -0700157 __u32 max_ee;
Christopher Ferris38062f92014-07-09 15:33:25 -0700158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700159 __u32 max_rdd;
160 __u32 max_mw;
161 __u32 max_raw_ipv6_qp;
Ben Cheng655a7c02013-10-16 16:09:24 -0700162 __u32 max_raw_ethy_qp;
Christopher Ferris38062f92014-07-09 15:33:25 -0700163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700164 __u32 max_mcast_grp;
165 __u32 max_mcast_qp_attach;
166 __u32 max_total_mcast_qp_attach;
Ben Cheng655a7c02013-10-16 16:09:24 -0700167 __u32 max_ah;
Christopher Ferris38062f92014-07-09 15:33:25 -0700168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700169 __u32 max_fmr;
170 __u32 max_map_per_fmr;
171 __u32 max_srq;
Ben Cheng655a7c02013-10-16 16:09:24 -0700172 __u32 max_srq_wr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700174 __u32 max_srq_sge;
175 __u16 max_pkeys;
176 __u8 local_ca_ack_delay;
Ben Cheng655a7c02013-10-16 16:09:24 -0700177 __u8 phys_port_cnt;
Christopher Ferris38062f92014-07-09 15:33:25 -0700178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700179 __u8 reserved[4];
180};
181struct ib_uverbs_query_port {
Ben Cheng655a7c02013-10-16 16:09:24 -0700182 __u64 response;
Christopher Ferris38062f92014-07-09 15:33:25 -0700183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700184 __u8 port_num;
185 __u8 reserved[7];
186 __u64 driver_data[0];
Ben Cheng655a7c02013-10-16 16:09:24 -0700187};
Christopher Ferris38062f92014-07-09 15:33:25 -0700188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700189struct ib_uverbs_query_port_resp {
190 __u32 port_cap_flags;
191 __u32 max_msg_sz;
Ben Cheng655a7c02013-10-16 16:09:24 -0700192 __u32 bad_pkey_cntr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700194 __u32 qkey_viol_cntr;
195 __u32 gid_tbl_len;
196 __u16 pkey_tbl_len;
Ben Cheng655a7c02013-10-16 16:09:24 -0700197 __u16 lid;
Christopher Ferris38062f92014-07-09 15:33:25 -0700198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700199 __u16 sm_lid;
200 __u8 state;
201 __u8 max_mtu;
Ben Cheng655a7c02013-10-16 16:09:24 -0700202 __u8 active_mtu;
Christopher Ferris38062f92014-07-09 15:33:25 -0700203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700204 __u8 lmc;
205 __u8 max_vl_num;
206 __u8 sm_sl;
Ben Cheng655a7c02013-10-16 16:09:24 -0700207 __u8 subnet_timeout;
Christopher Ferris38062f92014-07-09 15:33:25 -0700208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700209 __u8 init_type_reply;
210 __u8 active_width;
211 __u8 active_speed;
Ben Cheng655a7c02013-10-16 16:09:24 -0700212 __u8 phys_state;
Christopher Ferris38062f92014-07-09 15:33:25 -0700213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700214 __u8 link_layer;
215 __u8 reserved[2];
216};
Ben Cheng655a7c02013-10-16 16:09:24 -0700217struct ib_uverbs_alloc_pd {
Christopher Ferris38062f92014-07-09 15:33:25 -0700218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700219 __u64 response;
220 __u64 driver_data[0];
221};
Ben Cheng655a7c02013-10-16 16:09:24 -0700222struct ib_uverbs_alloc_pd_resp {
Christopher Ferris38062f92014-07-09 15:33:25 -0700223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700224 __u32 pd_handle;
225};
226struct ib_uverbs_dealloc_pd {
Ben Cheng655a7c02013-10-16 16:09:24 -0700227 __u32 pd_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700229};
230struct ib_uverbs_open_xrcd {
231 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700232 __u32 fd;
Christopher Ferris38062f92014-07-09 15:33:25 -0700233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700234 __u32 oflags;
235 __u64 driver_data[0];
236};
Ben Cheng655a7c02013-10-16 16:09:24 -0700237struct ib_uverbs_open_xrcd_resp {
Christopher Ferris38062f92014-07-09 15:33:25 -0700238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700239 __u32 xrcd_handle;
240};
241struct ib_uverbs_close_xrcd {
Ben Cheng655a7c02013-10-16 16:09:24 -0700242 __u32 xrcd_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700244};
245struct ib_uverbs_reg_mr {
246 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700247 __u64 start;
Christopher Ferris38062f92014-07-09 15:33:25 -0700248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700249 __u64 length;
250 __u64 hca_va;
251 __u32 pd_handle;
Ben Cheng655a7c02013-10-16 16:09:24 -0700252 __u32 access_flags;
Christopher Ferris38062f92014-07-09 15:33:25 -0700253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700254 __u64 driver_data[0];
255};
256struct ib_uverbs_reg_mr_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700257 __u32 mr_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700259 __u32 lkey;
260 __u32 rkey;
261};
Ben Cheng655a7c02013-10-16 16:09:24 -0700262struct ib_uverbs_dereg_mr {
Christopher Ferris38062f92014-07-09 15:33:25 -0700263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700264 __u32 mr_handle;
265};
266struct ib_uverbs_alloc_mw {
Ben Cheng655a7c02013-10-16 16:09:24 -0700267 __u64 response;
Christopher Ferris38062f92014-07-09 15:33:25 -0700268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700269 __u32 pd_handle;
270 __u8 mw_type;
271 __u8 reserved[3];
Ben Cheng655a7c02013-10-16 16:09:24 -0700272};
Christopher Ferris38062f92014-07-09 15:33:25 -0700273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700274struct ib_uverbs_alloc_mw_resp {
275 __u32 mw_handle;
276 __u32 rkey;
Ben Cheng655a7c02013-10-16 16:09:24 -0700277};
Christopher Ferris38062f92014-07-09 15:33:25 -0700278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700279struct ib_uverbs_dealloc_mw {
280 __u32 mw_handle;
281};
Ben Cheng655a7c02013-10-16 16:09:24 -0700282struct ib_uverbs_create_comp_channel {
Christopher Ferris38062f92014-07-09 15:33:25 -0700283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700284 __u64 response;
285};
286struct ib_uverbs_create_comp_channel_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700287 __u32 fd;
Christopher Ferris38062f92014-07-09 15:33:25 -0700288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700289};
290struct ib_uverbs_create_cq {
291 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700292 __u64 user_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700294 __u32 cqe;
295 __u32 comp_vector;
296 __s32 comp_channel;
Ben Cheng655a7c02013-10-16 16:09:24 -0700297 __u32 reserved;
Christopher Ferris38062f92014-07-09 15:33:25 -0700298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700299 __u64 driver_data[0];
300};
301struct ib_uverbs_create_cq_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700302 __u32 cq_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700304 __u32 cqe;
305};
306struct ib_uverbs_resize_cq {
Ben Cheng655a7c02013-10-16 16:09:24 -0700307 __u64 response;
Christopher Ferris38062f92014-07-09 15:33:25 -0700308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700309 __u32 cq_handle;
310 __u32 cqe;
311 __u64 driver_data[0];
Ben Cheng655a7c02013-10-16 16:09:24 -0700312};
Christopher Ferris38062f92014-07-09 15:33:25 -0700313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700314struct ib_uverbs_resize_cq_resp {
315 __u32 cqe;
316 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700317 __u64 driver_data[0];
Christopher Ferris38062f92014-07-09 15:33:25 -0700318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700319};
320struct ib_uverbs_poll_cq {
321 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700322 __u32 cq_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700324 __u32 ne;
325};
326struct ib_uverbs_wc {
Ben Cheng655a7c02013-10-16 16:09:24 -0700327 __u64 wr_id;
Christopher Ferris38062f92014-07-09 15:33:25 -0700328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700329 __u32 status;
330 __u32 opcode;
331 __u32 vendor_err;
Ben Cheng655a7c02013-10-16 16:09:24 -0700332 __u32 byte_len;
Christopher Ferris38062f92014-07-09 15:33:25 -0700333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700334 union {
335 __u32 imm_data;
336 __u32 invalidate_rkey;
Ben Cheng655a7c02013-10-16 16:09:24 -0700337 } ex;
Christopher Ferris38062f92014-07-09 15:33:25 -0700338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700339 __u32 qp_num;
340 __u32 src_qp;
341 __u32 wc_flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700342 __u16 pkey_index;
Christopher Ferris38062f92014-07-09 15:33:25 -0700343/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700344 __u16 slid;
345 __u8 sl;
346 __u8 dlid_path_bits;
Ben Cheng655a7c02013-10-16 16:09:24 -0700347 __u8 port_num;
Christopher Ferris38062f92014-07-09 15:33:25 -0700348/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700349 __u8 reserved;
350};
351struct ib_uverbs_poll_cq_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700352 __u32 count;
Christopher Ferris38062f92014-07-09 15:33:25 -0700353/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700354 __u32 reserved;
355 struct ib_uverbs_wc wc[0];
356};
Ben Cheng655a7c02013-10-16 16:09:24 -0700357struct ib_uverbs_req_notify_cq {
Christopher Ferris38062f92014-07-09 15:33:25 -0700358/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700359 __u32 cq_handle;
360 __u32 solicited_only;
361};
Ben Cheng655a7c02013-10-16 16:09:24 -0700362struct ib_uverbs_destroy_cq {
Christopher Ferris38062f92014-07-09 15:33:25 -0700363/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700364 __u64 response;
365 __u32 cq_handle;
366 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700367};
Christopher Ferris38062f92014-07-09 15:33:25 -0700368/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700369struct ib_uverbs_destroy_cq_resp {
370 __u32 comp_events_reported;
371 __u32 async_events_reported;
Ben Cheng655a7c02013-10-16 16:09:24 -0700372};
Christopher Ferris38062f92014-07-09 15:33:25 -0700373/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700374struct ib_uverbs_global_route {
375 __u8 dgid[16];
376 __u32 flow_label;
Ben Cheng655a7c02013-10-16 16:09:24 -0700377 __u8 sgid_index;
Christopher Ferris38062f92014-07-09 15:33:25 -0700378/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700379 __u8 hop_limit;
380 __u8 traffic_class;
381 __u8 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700382};
Christopher Ferris38062f92014-07-09 15:33:25 -0700383/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700384struct ib_uverbs_ah_attr {
385 struct ib_uverbs_global_route grh;
386 __u16 dlid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700387 __u8 sl;
Christopher Ferris38062f92014-07-09 15:33:25 -0700388/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700389 __u8 src_path_bits;
390 __u8 static_rate;
391 __u8 is_global;
Ben Cheng655a7c02013-10-16 16:09:24 -0700392 __u8 port_num;
Christopher Ferris38062f92014-07-09 15:33:25 -0700393/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700394 __u8 reserved;
395};
396struct ib_uverbs_qp_attr {
Ben Cheng655a7c02013-10-16 16:09:24 -0700397 __u32 qp_attr_mask;
Christopher Ferris38062f92014-07-09 15:33:25 -0700398/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700399 __u32 qp_state;
400 __u32 cur_qp_state;
401 __u32 path_mtu;
Ben Cheng655a7c02013-10-16 16:09:24 -0700402 __u32 path_mig_state;
Christopher Ferris38062f92014-07-09 15:33:25 -0700403/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700404 __u32 qkey;
405 __u32 rq_psn;
406 __u32 sq_psn;
Ben Cheng655a7c02013-10-16 16:09:24 -0700407 __u32 dest_qp_num;
Christopher Ferris38062f92014-07-09 15:33:25 -0700408/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700409 __u32 qp_access_flags;
410 struct ib_uverbs_ah_attr ah_attr;
411 struct ib_uverbs_ah_attr alt_ah_attr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700412 __u32 max_send_wr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700413/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700414 __u32 max_recv_wr;
415 __u32 max_send_sge;
416 __u32 max_recv_sge;
Ben Cheng655a7c02013-10-16 16:09:24 -0700417 __u32 max_inline_data;
Christopher Ferris38062f92014-07-09 15:33:25 -0700418/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700419 __u16 pkey_index;
420 __u16 alt_pkey_index;
421 __u8 en_sqd_async_notify;
Ben Cheng655a7c02013-10-16 16:09:24 -0700422 __u8 sq_draining;
Christopher Ferris38062f92014-07-09 15:33:25 -0700423/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700424 __u8 max_rd_atomic;
425 __u8 max_dest_rd_atomic;
426 __u8 min_rnr_timer;
Ben Cheng655a7c02013-10-16 16:09:24 -0700427 __u8 port_num;
Christopher Ferris38062f92014-07-09 15:33:25 -0700428/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700429 __u8 timeout;
430 __u8 retry_cnt;
431 __u8 rnr_retry;
Ben Cheng655a7c02013-10-16 16:09:24 -0700432 __u8 alt_port_num;
Christopher Ferris38062f92014-07-09 15:33:25 -0700433/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700434 __u8 alt_timeout;
435 __u8 reserved[5];
436};
Ben Cheng655a7c02013-10-16 16:09:24 -0700437struct ib_uverbs_create_qp {
Christopher Ferris38062f92014-07-09 15:33:25 -0700438/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700439 __u64 response;
440 __u64 user_handle;
441 __u32 pd_handle;
Ben Cheng655a7c02013-10-16 16:09:24 -0700442 __u32 send_cq_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700443/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700444 __u32 recv_cq_handle;
445 __u32 srq_handle;
446 __u32 max_send_wr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700447 __u32 max_recv_wr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700448/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700449 __u32 max_send_sge;
450 __u32 max_recv_sge;
451 __u32 max_inline_data;
Ben Cheng655a7c02013-10-16 16:09:24 -0700452 __u8 sq_sig_all;
Christopher Ferris38062f92014-07-09 15:33:25 -0700453/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700454 __u8 qp_type;
455 __u8 is_srq;
456 __u8 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700457 __u64 driver_data[0];
Christopher Ferris38062f92014-07-09 15:33:25 -0700458/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700459};
460struct ib_uverbs_open_qp {
461 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700462 __u64 user_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700463/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700464 __u32 pd_handle;
465 __u32 qpn;
466 __u8 qp_type;
Ben Cheng655a7c02013-10-16 16:09:24 -0700467 __u8 reserved[7];
Christopher Ferris38062f92014-07-09 15:33:25 -0700468/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700469 __u64 driver_data[0];
470};
471struct ib_uverbs_create_qp_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700472 __u32 qp_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700473/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700474 __u32 qpn;
475 __u32 max_send_wr;
476 __u32 max_recv_wr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700477 __u32 max_send_sge;
Christopher Ferris38062f92014-07-09 15:33:25 -0700478/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700479 __u32 max_recv_sge;
480 __u32 max_inline_data;
481 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700482};
Christopher Ferris38062f92014-07-09 15:33:25 -0700483/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700484struct ib_uverbs_qp_dest {
485 __u8 dgid[16];
486 __u32 flow_label;
Ben Cheng655a7c02013-10-16 16:09:24 -0700487 __u16 dlid;
Christopher Ferris38062f92014-07-09 15:33:25 -0700488/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700489 __u16 reserved;
490 __u8 sgid_index;
491 __u8 hop_limit;
Ben Cheng655a7c02013-10-16 16:09:24 -0700492 __u8 traffic_class;
Christopher Ferris38062f92014-07-09 15:33:25 -0700493/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700494 __u8 sl;
495 __u8 src_path_bits;
496 __u8 static_rate;
Ben Cheng655a7c02013-10-16 16:09:24 -0700497 __u8 is_global;
Christopher Ferris38062f92014-07-09 15:33:25 -0700498/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700499 __u8 port_num;
500};
501struct ib_uverbs_query_qp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700502 __u64 response;
Christopher Ferris38062f92014-07-09 15:33:25 -0700503/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700504 __u32 qp_handle;
505 __u32 attr_mask;
506 __u64 driver_data[0];
Ben Cheng655a7c02013-10-16 16:09:24 -0700507};
Christopher Ferris38062f92014-07-09 15:33:25 -0700508/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700509struct ib_uverbs_query_qp_resp {
510 struct ib_uverbs_qp_dest dest;
511 struct ib_uverbs_qp_dest alt_dest;
Ben Cheng655a7c02013-10-16 16:09:24 -0700512 __u32 max_send_wr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700513/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700514 __u32 max_recv_wr;
515 __u32 max_send_sge;
516 __u32 max_recv_sge;
Ben Cheng655a7c02013-10-16 16:09:24 -0700517 __u32 max_inline_data;
Christopher Ferris38062f92014-07-09 15:33:25 -0700518/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700519 __u32 qkey;
520 __u32 rq_psn;
521 __u32 sq_psn;
Ben Cheng655a7c02013-10-16 16:09:24 -0700522 __u32 dest_qp_num;
Christopher Ferris38062f92014-07-09 15:33:25 -0700523/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700524 __u32 qp_access_flags;
525 __u16 pkey_index;
526 __u16 alt_pkey_index;
Ben Cheng655a7c02013-10-16 16:09:24 -0700527 __u8 qp_state;
Christopher Ferris38062f92014-07-09 15:33:25 -0700528/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700529 __u8 cur_qp_state;
530 __u8 path_mtu;
531 __u8 path_mig_state;
Ben Cheng655a7c02013-10-16 16:09:24 -0700532 __u8 sq_draining;
Christopher Ferris38062f92014-07-09 15:33:25 -0700533/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700534 __u8 max_rd_atomic;
535 __u8 max_dest_rd_atomic;
536 __u8 min_rnr_timer;
Ben Cheng655a7c02013-10-16 16:09:24 -0700537 __u8 port_num;
Christopher Ferris38062f92014-07-09 15:33:25 -0700538/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700539 __u8 timeout;
540 __u8 retry_cnt;
541 __u8 rnr_retry;
Ben Cheng655a7c02013-10-16 16:09:24 -0700542 __u8 alt_port_num;
Christopher Ferris38062f92014-07-09 15:33:25 -0700543/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700544 __u8 alt_timeout;
545 __u8 sq_sig_all;
546 __u8 reserved[5];
Ben Cheng655a7c02013-10-16 16:09:24 -0700547 __u64 driver_data[0];
Christopher Ferris38062f92014-07-09 15:33:25 -0700548/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700549};
550struct ib_uverbs_modify_qp {
551 struct ib_uverbs_qp_dest dest;
Ben Cheng655a7c02013-10-16 16:09:24 -0700552 struct ib_uverbs_qp_dest alt_dest;
Christopher Ferris38062f92014-07-09 15:33:25 -0700553/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700554 __u32 qp_handle;
555 __u32 attr_mask;
556 __u32 qkey;
Ben Cheng655a7c02013-10-16 16:09:24 -0700557 __u32 rq_psn;
Christopher Ferris38062f92014-07-09 15:33:25 -0700558/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700559 __u32 sq_psn;
560 __u32 dest_qp_num;
561 __u32 qp_access_flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700562 __u16 pkey_index;
Christopher Ferris38062f92014-07-09 15:33:25 -0700563/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700564 __u16 alt_pkey_index;
565 __u8 qp_state;
566 __u8 cur_qp_state;
Ben Cheng655a7c02013-10-16 16:09:24 -0700567 __u8 path_mtu;
Christopher Ferris38062f92014-07-09 15:33:25 -0700568/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700569 __u8 path_mig_state;
570 __u8 en_sqd_async_notify;
571 __u8 max_rd_atomic;
Ben Cheng655a7c02013-10-16 16:09:24 -0700572 __u8 max_dest_rd_atomic;
Christopher Ferris38062f92014-07-09 15:33:25 -0700573/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700574 __u8 min_rnr_timer;
575 __u8 port_num;
576 __u8 timeout;
Ben Cheng655a7c02013-10-16 16:09:24 -0700577 __u8 retry_cnt;
Christopher Ferris38062f92014-07-09 15:33:25 -0700578/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700579 __u8 rnr_retry;
580 __u8 alt_port_num;
581 __u8 alt_timeout;
Ben Cheng655a7c02013-10-16 16:09:24 -0700582 __u8 reserved[2];
Christopher Ferris38062f92014-07-09 15:33:25 -0700583/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700584 __u64 driver_data[0];
585};
586struct ib_uverbs_modify_qp_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700587};
Christopher Ferris38062f92014-07-09 15:33:25 -0700588/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700589struct ib_uverbs_destroy_qp {
590 __u64 response;
591 __u32 qp_handle;
Ben Cheng655a7c02013-10-16 16:09:24 -0700592 __u32 reserved;
Christopher Ferris38062f92014-07-09 15:33:25 -0700593/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700594};
595struct ib_uverbs_destroy_qp_resp {
596 __u32 events_reported;
Ben Cheng655a7c02013-10-16 16:09:24 -0700597};
Christopher Ferris38062f92014-07-09 15:33:25 -0700598/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700599struct ib_uverbs_sge {
600 __u64 addr;
601 __u32 length;
Ben Cheng655a7c02013-10-16 16:09:24 -0700602 __u32 lkey;
Christopher Ferris38062f92014-07-09 15:33:25 -0700603/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700604};
605struct ib_uverbs_send_wr {
606 __u64 wr_id;
Ben Cheng655a7c02013-10-16 16:09:24 -0700607 __u32 num_sge;
Christopher Ferris38062f92014-07-09 15:33:25 -0700608/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700609 __u32 opcode;
610 __u32 send_flags;
611 union {
Ben Cheng655a7c02013-10-16 16:09:24 -0700612 __u32 imm_data;
Christopher Ferris38062f92014-07-09 15:33:25 -0700613/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700614 __u32 invalidate_rkey;
615 } ex;
616 union {
Ben Cheng655a7c02013-10-16 16:09:24 -0700617 struct {
Christopher Ferris38062f92014-07-09 15:33:25 -0700618/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700619 __u64 remote_addr;
620 __u32 rkey;
621 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700622 } rdma;
Christopher Ferris38062f92014-07-09 15:33:25 -0700623/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700624 struct {
625 __u64 remote_addr;
626 __u64 compare_add;
Ben Cheng655a7c02013-10-16 16:09:24 -0700627 __u64 swap;
Christopher Ferris38062f92014-07-09 15:33:25 -0700628/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700629 __u32 rkey;
630 __u32 reserved;
631 } atomic;
Ben Cheng655a7c02013-10-16 16:09:24 -0700632 struct {
Christopher Ferris38062f92014-07-09 15:33:25 -0700633/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700634 __u32 ah;
635 __u32 remote_qpn;
636 __u32 remote_qkey;
Ben Cheng655a7c02013-10-16 16:09:24 -0700637 __u32 reserved;
Christopher Ferris38062f92014-07-09 15:33:25 -0700638/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700639 } ud;
640 } wr;
641};
Ben Cheng655a7c02013-10-16 16:09:24 -0700642struct ib_uverbs_post_send {
Christopher Ferris38062f92014-07-09 15:33:25 -0700643/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700644 __u64 response;
645 __u32 qp_handle;
646 __u32 wr_count;
Ben Cheng655a7c02013-10-16 16:09:24 -0700647 __u32 sge_count;
Christopher Ferris38062f92014-07-09 15:33:25 -0700648/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700649 __u32 wqe_size;
650 struct ib_uverbs_send_wr send_wr[0];
651};
Ben Cheng655a7c02013-10-16 16:09:24 -0700652struct ib_uverbs_post_send_resp {
Christopher Ferris38062f92014-07-09 15:33:25 -0700653/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700654 __u32 bad_wr;
655};
656struct ib_uverbs_recv_wr {
Ben Cheng655a7c02013-10-16 16:09:24 -0700657 __u64 wr_id;
Christopher Ferris38062f92014-07-09 15:33:25 -0700658/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700659 __u32 num_sge;
660 __u32 reserved;
661};
Ben Cheng655a7c02013-10-16 16:09:24 -0700662struct ib_uverbs_post_recv {
Christopher Ferris38062f92014-07-09 15:33:25 -0700663/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700664 __u64 response;
665 __u32 qp_handle;
666 __u32 wr_count;
Ben Cheng655a7c02013-10-16 16:09:24 -0700667 __u32 sge_count;
Christopher Ferris38062f92014-07-09 15:33:25 -0700668/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700669 __u32 wqe_size;
670 struct ib_uverbs_recv_wr recv_wr[0];
671};
Ben Cheng655a7c02013-10-16 16:09:24 -0700672struct ib_uverbs_post_recv_resp {
Christopher Ferris38062f92014-07-09 15:33:25 -0700673/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700674 __u32 bad_wr;
675};
676struct ib_uverbs_post_srq_recv {
Ben Cheng655a7c02013-10-16 16:09:24 -0700677 __u64 response;
Christopher Ferris38062f92014-07-09 15:33:25 -0700678/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700679 __u32 srq_handle;
680 __u32 wr_count;
681 __u32 sge_count;
Ben Cheng655a7c02013-10-16 16:09:24 -0700682 __u32 wqe_size;
Christopher Ferris38062f92014-07-09 15:33:25 -0700683/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700684 struct ib_uverbs_recv_wr recv[0];
685};
686struct ib_uverbs_post_srq_recv_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700687 __u32 bad_wr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700688/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700689};
690struct ib_uverbs_create_ah {
691 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700692 __u64 user_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700693/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700694 __u32 pd_handle;
695 __u32 reserved;
696 struct ib_uverbs_ah_attr attr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700697};
Christopher Ferris38062f92014-07-09 15:33:25 -0700698/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700699struct ib_uverbs_create_ah_resp {
700 __u32 ah_handle;
701};
Ben Cheng655a7c02013-10-16 16:09:24 -0700702struct ib_uverbs_destroy_ah {
Christopher Ferris38062f92014-07-09 15:33:25 -0700703/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700704 __u32 ah_handle;
705};
706struct ib_uverbs_attach_mcast {
Ben Cheng655a7c02013-10-16 16:09:24 -0700707 __u8 gid[16];
Christopher Ferris38062f92014-07-09 15:33:25 -0700708/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700709 __u32 qp_handle;
710 __u16 mlid;
711 __u16 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700712 __u64 driver_data[0];
Christopher Ferris38062f92014-07-09 15:33:25 -0700713/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700714};
715struct ib_uverbs_detach_mcast {
716 __u8 gid[16];
Ben Cheng655a7c02013-10-16 16:09:24 -0700717 __u32 qp_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700718/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700719 __u16 mlid;
720 __u16 reserved;
721 __u64 driver_data[0];
Christopher Ferris38062f92014-07-09 15:33:25 -0700722};
Ben Cheng655a7c02013-10-16 16:09:24 -0700723/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700724struct ib_uverbs_flow_spec_hdr {
725 __u32 type;
726 __u16 size;
727 __u16 reserved;
728/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
729 __u64 flow_spec_data[0];
730};
731struct ib_uverbs_flow_eth_filter {
732 __u8 dst_mac[6];
733/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
734 __u8 src_mac[6];
735 __be16 ether_type;
736 __be16 vlan_tag;
737};
738/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
739struct ib_uverbs_flow_spec_eth {
740 union {
741 struct ib_uverbs_flow_spec_hdr hdr;
742 struct {
743/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
744 __u32 type;
745 __u16 size;
746 __u16 reserved;
747 };
748/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
749 };
750 struct ib_uverbs_flow_eth_filter val;
751 struct ib_uverbs_flow_eth_filter mask;
752};
753/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
754struct ib_uverbs_flow_ipv4_filter {
755 __be32 src_ip;
756 __be32 dst_ip;
757};
758/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
759struct ib_uverbs_flow_spec_ipv4 {
760 union {
761 struct ib_uverbs_flow_spec_hdr hdr;
762 struct {
763/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
764 __u32 type;
765 __u16 size;
766 __u16 reserved;
767 };
768/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
769 };
770 struct ib_uverbs_flow_ipv4_filter val;
771 struct ib_uverbs_flow_ipv4_filter mask;
772};
773/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
774struct ib_uverbs_flow_tcp_udp_filter {
775 __be16 dst_port;
776 __be16 src_port;
777};
778/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
779struct ib_uverbs_flow_spec_tcp_udp {
780 union {
781 struct ib_uverbs_flow_spec_hdr hdr;
782 struct {
783/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
784 __u32 type;
785 __u16 size;
786 __u16 reserved;
787 };
788/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
789 };
790 struct ib_uverbs_flow_tcp_udp_filter val;
791 struct ib_uverbs_flow_tcp_udp_filter mask;
792};
793/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
794struct ib_uverbs_flow_attr {
795 __u32 type;
796 __u16 size;
797 __u16 priority;
798/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
799 __u8 num_of_specs;
800 __u8 reserved[2];
801 __u8 port;
802 __u32 flags;
803/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
804 struct ib_uverbs_flow_spec_hdr flow_specs[0];
805};
806struct ib_uverbs_create_flow {
807 __u32 comp_mask;
808/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
809 __u32 qp_handle;
810 struct ib_uverbs_flow_attr flow_attr;
811};
812struct ib_uverbs_create_flow_resp {
813/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
814 __u32 comp_mask;
815 __u32 flow_handle;
816};
817struct ib_uverbs_destroy_flow {
818/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
819 __u32 comp_mask;
820 __u32 flow_handle;
Ben Cheng655a7c02013-10-16 16:09:24 -0700821};
822struct ib_uverbs_create_srq {
Christopher Ferris38062f92014-07-09 15:33:25 -0700823/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700824 __u64 response;
825 __u64 user_handle;
Ben Cheng655a7c02013-10-16 16:09:24 -0700826 __u32 pd_handle;
827 __u32 max_wr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700828/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700829 __u32 max_sge;
830 __u32 srq_limit;
Ben Cheng655a7c02013-10-16 16:09:24 -0700831 __u64 driver_data[0];
832};
Christopher Ferris38062f92014-07-09 15:33:25 -0700833/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700834struct ib_uverbs_create_xsrq {
835 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700836 __u64 user_handle;
837 __u32 srq_type;
Christopher Ferris38062f92014-07-09 15:33:25 -0700838/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700839 __u32 pd_handle;
840 __u32 max_wr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700841 __u32 max_sge;
842 __u32 srq_limit;
Christopher Ferris38062f92014-07-09 15:33:25 -0700843/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700844 __u32 reserved;
845 __u32 xrcd_handle;
Ben Cheng655a7c02013-10-16 16:09:24 -0700846 __u32 cq_handle;
847 __u64 driver_data[0];
Christopher Ferris38062f92014-07-09 15:33:25 -0700848/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700849};
850struct ib_uverbs_create_srq_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700851 __u32 srq_handle;
852 __u32 max_wr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700853/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700854 __u32 max_sge;
855 __u32 srqn;
Ben Cheng655a7c02013-10-16 16:09:24 -0700856};
857struct ib_uverbs_modify_srq {
Christopher Ferris38062f92014-07-09 15:33:25 -0700858/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700859 __u32 srq_handle;
860 __u32 attr_mask;
Ben Cheng655a7c02013-10-16 16:09:24 -0700861 __u32 max_wr;
862 __u32 srq_limit;
Christopher Ferris38062f92014-07-09 15:33:25 -0700863/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700864 __u64 driver_data[0];
865};
Ben Cheng655a7c02013-10-16 16:09:24 -0700866struct ib_uverbs_query_srq {
867 __u64 response;
Christopher Ferris38062f92014-07-09 15:33:25 -0700868/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700869 __u32 srq_handle;
870 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700871 __u64 driver_data[0];
872};
Christopher Ferris38062f92014-07-09 15:33:25 -0700873/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700874struct ib_uverbs_query_srq_resp {
875 __u32 max_wr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700876 __u32 max_sge;
877 __u32 srq_limit;
Christopher Ferris38062f92014-07-09 15:33:25 -0700878/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700879 __u32 reserved;
880};
Ben Cheng655a7c02013-10-16 16:09:24 -0700881struct ib_uverbs_destroy_srq {
882 __u64 response;
Christopher Ferris38062f92014-07-09 15:33:25 -0700883/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700884 __u32 srq_handle;
885 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700886};
887struct ib_uverbs_destroy_srq_resp {
Christopher Ferris38062f92014-07-09 15:33:25 -0700888/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700889 __u32 events_reported;
890};
Ben Cheng655a7c02013-10-16 16:09:24 -0700891#endif