blob: c0d648fc2d09b740c5141b0eb0524ff41428d761 [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};
Christopher Ferris82d75042015-01-26 10:57:07 -0800262struct ib_uverbs_rereg_mr {
Christopher Ferris38062f92014-07-09 15:33:25 -0700263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris82d75042015-01-26 10:57:07 -0800264 __u64 response;
265 __u32 mr_handle;
266 __u32 flags;
267 __u64 start;
268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
269 __u64 length;
270 __u64 hca_va;
271 __u32 pd_handle;
272 __u32 access_flags;
273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
274};
275struct ib_uverbs_rereg_mr_resp {
276 __u32 lkey;
277 __u32 rkey;
278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
279};
280struct ib_uverbs_dereg_mr {
Ben Cheng655a7c02013-10-16 16:09:24 -0700281 __u32 mr_handle;
282};
Christopher Ferris82d75042015-01-26 10:57:07 -0800283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700284struct ib_uverbs_alloc_mw {
Ben Cheng655a7c02013-10-16 16:09:24 -0700285 __u64 response;
286 __u32 pd_handle;
287 __u8 mw_type;
Christopher Ferris82d75042015-01-26 10:57:07 -0800288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700289 __u8 reserved[3];
Ben Cheng655a7c02013-10-16 16:09:24 -0700290};
291struct ib_uverbs_alloc_mw_resp {
292 __u32 mw_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700294 __u32 rkey;
Ben Cheng655a7c02013-10-16 16:09:24 -0700295};
296struct ib_uverbs_dealloc_mw {
297 __u32 mw_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700299};
Ben Cheng655a7c02013-10-16 16:09:24 -0700300struct ib_uverbs_create_comp_channel {
301 __u64 response;
302};
Christopher Ferris82d75042015-01-26 10:57:07 -0800303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700304struct ib_uverbs_create_comp_channel_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700305 __u32 fd;
306};
307struct ib_uverbs_create_cq {
Christopher Ferris82d75042015-01-26 10:57:07 -0800308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700309 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700310 __u64 user_handle;
311 __u32 cqe;
312 __u32 comp_vector;
Christopher Ferris82d75042015-01-26 10:57:07 -0800313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700314 __s32 comp_channel;
Ben Cheng655a7c02013-10-16 16:09:24 -0700315 __u32 reserved;
316 __u64 driver_data[0];
317};
Christopher Ferris82d75042015-01-26 10:57:07 -0800318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700319struct ib_uverbs_create_cq_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700320 __u32 cq_handle;
321 __u32 cqe;
322};
Christopher Ferris82d75042015-01-26 10:57:07 -0800323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700324struct ib_uverbs_resize_cq {
Ben Cheng655a7c02013-10-16 16:09:24 -0700325 __u64 response;
326 __u32 cq_handle;
327 __u32 cqe;
Christopher Ferris82d75042015-01-26 10:57:07 -0800328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700329 __u64 driver_data[0];
Ben Cheng655a7c02013-10-16 16:09:24 -0700330};
331struct ib_uverbs_resize_cq_resp {
332 __u32 cqe;
Christopher Ferris82d75042015-01-26 10:57:07 -0800333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700334 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700335 __u64 driver_data[0];
336};
337struct ib_uverbs_poll_cq {
Christopher Ferris82d75042015-01-26 10:57:07 -0800338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700339 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700340 __u32 cq_handle;
341 __u32 ne;
342};
Christopher Ferris82d75042015-01-26 10:57:07 -0800343/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700344struct ib_uverbs_wc {
Ben Cheng655a7c02013-10-16 16:09:24 -0700345 __u64 wr_id;
346 __u32 status;
347 __u32 opcode;
Christopher Ferris82d75042015-01-26 10:57:07 -0800348/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700349 __u32 vendor_err;
Ben Cheng655a7c02013-10-16 16:09:24 -0700350 __u32 byte_len;
351 union {
352 __u32 imm_data;
Christopher Ferris82d75042015-01-26 10:57:07 -0800353/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700354 __u32 invalidate_rkey;
Ben Cheng655a7c02013-10-16 16:09:24 -0700355 } ex;
356 __u32 qp_num;
357 __u32 src_qp;
Christopher Ferris82d75042015-01-26 10:57:07 -0800358/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700359 __u32 wc_flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700360 __u16 pkey_index;
361 __u16 slid;
362 __u8 sl;
Christopher Ferris82d75042015-01-26 10:57:07 -0800363/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700364 __u8 dlid_path_bits;
Ben Cheng655a7c02013-10-16 16:09:24 -0700365 __u8 port_num;
366 __u8 reserved;
367};
Christopher Ferris82d75042015-01-26 10:57:07 -0800368/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700369struct ib_uverbs_poll_cq_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700370 __u32 count;
371 __u32 reserved;
372 struct ib_uverbs_wc wc[0];
Christopher Ferris82d75042015-01-26 10:57:07 -0800373/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700374};
Ben Cheng655a7c02013-10-16 16:09:24 -0700375struct ib_uverbs_req_notify_cq {
376 __u32 cq_handle;
377 __u32 solicited_only;
Christopher Ferris82d75042015-01-26 10:57:07 -0800378/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700379};
Ben Cheng655a7c02013-10-16 16:09:24 -0700380struct ib_uverbs_destroy_cq {
381 __u64 response;
382 __u32 cq_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800383/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700384 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700385};
386struct ib_uverbs_destroy_cq_resp {
387 __u32 comp_events_reported;
Christopher Ferris82d75042015-01-26 10:57:07 -0800388/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700389 __u32 async_events_reported;
Ben Cheng655a7c02013-10-16 16:09:24 -0700390};
391struct ib_uverbs_global_route {
392 __u8 dgid[16];
Christopher Ferris82d75042015-01-26 10:57:07 -0800393/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700394 __u32 flow_label;
Ben Cheng655a7c02013-10-16 16:09:24 -0700395 __u8 sgid_index;
396 __u8 hop_limit;
397 __u8 traffic_class;
Christopher Ferris82d75042015-01-26 10:57:07 -0800398/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700399 __u8 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700400};
401struct ib_uverbs_ah_attr {
402 struct ib_uverbs_global_route grh;
Christopher Ferris82d75042015-01-26 10:57:07 -0800403/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700404 __u16 dlid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700405 __u8 sl;
406 __u8 src_path_bits;
407 __u8 static_rate;
Christopher Ferris82d75042015-01-26 10:57:07 -0800408/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700409 __u8 is_global;
Ben Cheng655a7c02013-10-16 16:09:24 -0700410 __u8 port_num;
411 __u8 reserved;
412};
Christopher Ferris82d75042015-01-26 10:57:07 -0800413/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700414struct ib_uverbs_qp_attr {
Ben Cheng655a7c02013-10-16 16:09:24 -0700415 __u32 qp_attr_mask;
416 __u32 qp_state;
417 __u32 cur_qp_state;
Christopher Ferris82d75042015-01-26 10:57:07 -0800418/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700419 __u32 path_mtu;
Ben Cheng655a7c02013-10-16 16:09:24 -0700420 __u32 path_mig_state;
421 __u32 qkey;
422 __u32 rq_psn;
Christopher Ferris82d75042015-01-26 10:57:07 -0800423/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700424 __u32 sq_psn;
Ben Cheng655a7c02013-10-16 16:09:24 -0700425 __u32 dest_qp_num;
426 __u32 qp_access_flags;
427 struct ib_uverbs_ah_attr ah_attr;
Christopher Ferris82d75042015-01-26 10:57:07 -0800428/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700429 struct ib_uverbs_ah_attr alt_ah_attr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700430 __u32 max_send_wr;
431 __u32 max_recv_wr;
432 __u32 max_send_sge;
Christopher Ferris82d75042015-01-26 10:57:07 -0800433/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700434 __u32 max_recv_sge;
Ben Cheng655a7c02013-10-16 16:09:24 -0700435 __u32 max_inline_data;
436 __u16 pkey_index;
437 __u16 alt_pkey_index;
Christopher Ferris82d75042015-01-26 10:57:07 -0800438/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700439 __u8 en_sqd_async_notify;
Ben Cheng655a7c02013-10-16 16:09:24 -0700440 __u8 sq_draining;
441 __u8 max_rd_atomic;
442 __u8 max_dest_rd_atomic;
Christopher Ferris82d75042015-01-26 10:57:07 -0800443/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700444 __u8 min_rnr_timer;
Ben Cheng655a7c02013-10-16 16:09:24 -0700445 __u8 port_num;
446 __u8 timeout;
447 __u8 retry_cnt;
Christopher Ferris82d75042015-01-26 10:57:07 -0800448/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700449 __u8 rnr_retry;
Ben Cheng655a7c02013-10-16 16:09:24 -0700450 __u8 alt_port_num;
451 __u8 alt_timeout;
452 __u8 reserved[5];
Christopher Ferris82d75042015-01-26 10:57:07 -0800453/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700454};
Ben Cheng655a7c02013-10-16 16:09:24 -0700455struct ib_uverbs_create_qp {
456 __u64 response;
457 __u64 user_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800458/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700459 __u32 pd_handle;
Ben Cheng655a7c02013-10-16 16:09:24 -0700460 __u32 send_cq_handle;
461 __u32 recv_cq_handle;
462 __u32 srq_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800463/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700464 __u32 max_send_wr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700465 __u32 max_recv_wr;
466 __u32 max_send_sge;
467 __u32 max_recv_sge;
Christopher Ferris82d75042015-01-26 10:57:07 -0800468/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700469 __u32 max_inline_data;
Ben Cheng655a7c02013-10-16 16:09:24 -0700470 __u8 sq_sig_all;
471 __u8 qp_type;
472 __u8 is_srq;
Christopher Ferris82d75042015-01-26 10:57:07 -0800473/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700474 __u8 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700475 __u64 driver_data[0];
476};
477struct ib_uverbs_open_qp {
Christopher Ferris82d75042015-01-26 10:57:07 -0800478/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700479 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700480 __u64 user_handle;
481 __u32 pd_handle;
482 __u32 qpn;
Christopher Ferris82d75042015-01-26 10:57:07 -0800483/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700484 __u8 qp_type;
Ben Cheng655a7c02013-10-16 16:09:24 -0700485 __u8 reserved[7];
486 __u64 driver_data[0];
487};
Christopher Ferris82d75042015-01-26 10:57:07 -0800488/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700489struct ib_uverbs_create_qp_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700490 __u32 qp_handle;
491 __u32 qpn;
492 __u32 max_send_wr;
Christopher Ferris82d75042015-01-26 10:57:07 -0800493/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700494 __u32 max_recv_wr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700495 __u32 max_send_sge;
496 __u32 max_recv_sge;
497 __u32 max_inline_data;
Christopher Ferris82d75042015-01-26 10:57:07 -0800498/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700499 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700500};
501struct ib_uverbs_qp_dest {
502 __u8 dgid[16];
Christopher Ferris82d75042015-01-26 10:57:07 -0800503/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700504 __u32 flow_label;
Ben Cheng655a7c02013-10-16 16:09:24 -0700505 __u16 dlid;
506 __u16 reserved;
507 __u8 sgid_index;
Christopher Ferris82d75042015-01-26 10:57:07 -0800508/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700509 __u8 hop_limit;
Ben Cheng655a7c02013-10-16 16:09:24 -0700510 __u8 traffic_class;
511 __u8 sl;
512 __u8 src_path_bits;
Christopher Ferris82d75042015-01-26 10:57:07 -0800513/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700514 __u8 static_rate;
Ben Cheng655a7c02013-10-16 16:09:24 -0700515 __u8 is_global;
516 __u8 port_num;
517};
Christopher Ferris82d75042015-01-26 10:57:07 -0800518/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700519struct ib_uverbs_query_qp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700520 __u64 response;
521 __u32 qp_handle;
522 __u32 attr_mask;
Christopher Ferris82d75042015-01-26 10:57:07 -0800523/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700524 __u64 driver_data[0];
Ben Cheng655a7c02013-10-16 16:09:24 -0700525};
526struct ib_uverbs_query_qp_resp {
527 struct ib_uverbs_qp_dest dest;
Christopher Ferris82d75042015-01-26 10:57:07 -0800528/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700529 struct ib_uverbs_qp_dest alt_dest;
Ben Cheng655a7c02013-10-16 16:09:24 -0700530 __u32 max_send_wr;
531 __u32 max_recv_wr;
532 __u32 max_send_sge;
Christopher Ferris82d75042015-01-26 10:57:07 -0800533/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700534 __u32 max_recv_sge;
Ben Cheng655a7c02013-10-16 16:09:24 -0700535 __u32 max_inline_data;
536 __u32 qkey;
537 __u32 rq_psn;
Christopher Ferris82d75042015-01-26 10:57:07 -0800538/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700539 __u32 sq_psn;
Ben Cheng655a7c02013-10-16 16:09:24 -0700540 __u32 dest_qp_num;
541 __u32 qp_access_flags;
542 __u16 pkey_index;
Christopher Ferris82d75042015-01-26 10:57:07 -0800543/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700544 __u16 alt_pkey_index;
Ben Cheng655a7c02013-10-16 16:09:24 -0700545 __u8 qp_state;
546 __u8 cur_qp_state;
547 __u8 path_mtu;
Christopher Ferris82d75042015-01-26 10:57:07 -0800548/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700549 __u8 path_mig_state;
Ben Cheng655a7c02013-10-16 16:09:24 -0700550 __u8 sq_draining;
551 __u8 max_rd_atomic;
552 __u8 max_dest_rd_atomic;
Christopher Ferris82d75042015-01-26 10:57:07 -0800553/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700554 __u8 min_rnr_timer;
Ben Cheng655a7c02013-10-16 16:09:24 -0700555 __u8 port_num;
556 __u8 timeout;
557 __u8 retry_cnt;
Christopher Ferris82d75042015-01-26 10:57:07 -0800558/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700559 __u8 rnr_retry;
Ben Cheng655a7c02013-10-16 16:09:24 -0700560 __u8 alt_port_num;
561 __u8 alt_timeout;
562 __u8 sq_sig_all;
Christopher Ferris82d75042015-01-26 10:57:07 -0800563/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700564 __u8 reserved[5];
Ben Cheng655a7c02013-10-16 16:09:24 -0700565 __u64 driver_data[0];
566};
567struct ib_uverbs_modify_qp {
Christopher Ferris82d75042015-01-26 10:57:07 -0800568/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700569 struct ib_uverbs_qp_dest dest;
Ben Cheng655a7c02013-10-16 16:09:24 -0700570 struct ib_uverbs_qp_dest alt_dest;
571 __u32 qp_handle;
572 __u32 attr_mask;
Christopher Ferris82d75042015-01-26 10:57:07 -0800573/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700574 __u32 qkey;
Ben Cheng655a7c02013-10-16 16:09:24 -0700575 __u32 rq_psn;
576 __u32 sq_psn;
577 __u32 dest_qp_num;
Christopher Ferris82d75042015-01-26 10:57:07 -0800578/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700579 __u32 qp_access_flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700580 __u16 pkey_index;
581 __u16 alt_pkey_index;
582 __u8 qp_state;
Christopher Ferris82d75042015-01-26 10:57:07 -0800583/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700584 __u8 cur_qp_state;
Ben Cheng655a7c02013-10-16 16:09:24 -0700585 __u8 path_mtu;
586 __u8 path_mig_state;
587 __u8 en_sqd_async_notify;
Christopher Ferris82d75042015-01-26 10:57:07 -0800588/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700589 __u8 max_rd_atomic;
Ben Cheng655a7c02013-10-16 16:09:24 -0700590 __u8 max_dest_rd_atomic;
591 __u8 min_rnr_timer;
592 __u8 port_num;
Christopher Ferris82d75042015-01-26 10:57:07 -0800593/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700594 __u8 timeout;
Ben Cheng655a7c02013-10-16 16:09:24 -0700595 __u8 retry_cnt;
596 __u8 rnr_retry;
597 __u8 alt_port_num;
Christopher Ferris82d75042015-01-26 10:57:07 -0800598/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700599 __u8 alt_timeout;
Ben Cheng655a7c02013-10-16 16:09:24 -0700600 __u8 reserved[2];
601 __u64 driver_data[0];
602};
Christopher Ferris82d75042015-01-26 10:57:07 -0800603/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700604struct ib_uverbs_modify_qp_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700605};
606struct ib_uverbs_destroy_qp {
607 __u64 response;
Christopher Ferris82d75042015-01-26 10:57:07 -0800608/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700609 __u32 qp_handle;
Ben Cheng655a7c02013-10-16 16:09:24 -0700610 __u32 reserved;
611};
612struct ib_uverbs_destroy_qp_resp {
Christopher Ferris82d75042015-01-26 10:57:07 -0800613/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700614 __u32 events_reported;
Ben Cheng655a7c02013-10-16 16:09:24 -0700615};
616struct ib_uverbs_sge {
617 __u64 addr;
Christopher Ferris82d75042015-01-26 10:57:07 -0800618/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700619 __u32 length;
Ben Cheng655a7c02013-10-16 16:09:24 -0700620 __u32 lkey;
621};
622struct ib_uverbs_send_wr {
Christopher Ferris82d75042015-01-26 10:57:07 -0800623/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700624 __u64 wr_id;
Ben Cheng655a7c02013-10-16 16:09:24 -0700625 __u32 num_sge;
626 __u32 opcode;
627 __u32 send_flags;
Christopher Ferris82d75042015-01-26 10:57:07 -0800628/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700629 union {
Ben Cheng655a7c02013-10-16 16:09:24 -0700630 __u32 imm_data;
631 __u32 invalidate_rkey;
632 } ex;
Christopher Ferris82d75042015-01-26 10:57:07 -0800633/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700634 union {
Ben Cheng655a7c02013-10-16 16:09:24 -0700635 struct {
636 __u64 remote_addr;
637 __u32 rkey;
Christopher Ferris82d75042015-01-26 10:57:07 -0800638/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700639 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700640 } rdma;
641 struct {
642 __u64 remote_addr;
Christopher Ferris82d75042015-01-26 10:57:07 -0800643/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700644 __u64 compare_add;
Ben Cheng655a7c02013-10-16 16:09:24 -0700645 __u64 swap;
646 __u32 rkey;
647 __u32 reserved;
Christopher Ferris82d75042015-01-26 10:57:07 -0800648/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700649 } atomic;
Ben Cheng655a7c02013-10-16 16:09:24 -0700650 struct {
651 __u32 ah;
652 __u32 remote_qpn;
Christopher Ferris82d75042015-01-26 10:57:07 -0800653/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700654 __u32 remote_qkey;
Ben Cheng655a7c02013-10-16 16:09:24 -0700655 __u32 reserved;
656 } ud;
657 } wr;
Christopher Ferris82d75042015-01-26 10:57:07 -0800658/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700659};
Ben Cheng655a7c02013-10-16 16:09:24 -0700660struct ib_uverbs_post_send {
661 __u64 response;
662 __u32 qp_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800663/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700664 __u32 wr_count;
Ben Cheng655a7c02013-10-16 16:09:24 -0700665 __u32 sge_count;
666 __u32 wqe_size;
667 struct ib_uverbs_send_wr send_wr[0];
Christopher Ferris82d75042015-01-26 10:57:07 -0800668/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700669};
Ben Cheng655a7c02013-10-16 16:09:24 -0700670struct ib_uverbs_post_send_resp {
671 __u32 bad_wr;
672};
Christopher Ferris82d75042015-01-26 10:57:07 -0800673/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700674struct ib_uverbs_recv_wr {
Ben Cheng655a7c02013-10-16 16:09:24 -0700675 __u64 wr_id;
676 __u32 num_sge;
677 __u32 reserved;
Christopher Ferris82d75042015-01-26 10:57:07 -0800678/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700679};
Ben Cheng655a7c02013-10-16 16:09:24 -0700680struct ib_uverbs_post_recv {
681 __u64 response;
682 __u32 qp_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800683/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700684 __u32 wr_count;
Ben Cheng655a7c02013-10-16 16:09:24 -0700685 __u32 sge_count;
686 __u32 wqe_size;
687 struct ib_uverbs_recv_wr recv_wr[0];
Christopher Ferris82d75042015-01-26 10:57:07 -0800688/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700689};
Ben Cheng655a7c02013-10-16 16:09:24 -0700690struct ib_uverbs_post_recv_resp {
691 __u32 bad_wr;
692};
Christopher Ferris82d75042015-01-26 10:57:07 -0800693/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700694struct ib_uverbs_post_srq_recv {
Ben Cheng655a7c02013-10-16 16:09:24 -0700695 __u64 response;
696 __u32 srq_handle;
697 __u32 wr_count;
Christopher Ferris82d75042015-01-26 10:57:07 -0800698/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700699 __u32 sge_count;
Ben Cheng655a7c02013-10-16 16:09:24 -0700700 __u32 wqe_size;
701 struct ib_uverbs_recv_wr recv[0];
702};
Christopher Ferris82d75042015-01-26 10:57:07 -0800703/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700704struct ib_uverbs_post_srq_recv_resp {
Ben Cheng655a7c02013-10-16 16:09:24 -0700705 __u32 bad_wr;
706};
707struct ib_uverbs_create_ah {
Christopher Ferris82d75042015-01-26 10:57:07 -0800708/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700709 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700710 __u64 user_handle;
711 __u32 pd_handle;
712 __u32 reserved;
Christopher Ferris82d75042015-01-26 10:57:07 -0800713/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700714 struct ib_uverbs_ah_attr attr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700715};
716struct ib_uverbs_create_ah_resp {
717 __u32 ah_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800718/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700719};
Ben Cheng655a7c02013-10-16 16:09:24 -0700720struct ib_uverbs_destroy_ah {
721 __u32 ah_handle;
722};
Christopher Ferris82d75042015-01-26 10:57:07 -0800723/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700724struct ib_uverbs_attach_mcast {
Ben Cheng655a7c02013-10-16 16:09:24 -0700725 __u8 gid[16];
726 __u32 qp_handle;
727 __u16 mlid;
Christopher Ferris82d75042015-01-26 10:57:07 -0800728/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700729 __u16 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700730 __u64 driver_data[0];
731};
732struct ib_uverbs_detach_mcast {
Christopher Ferris82d75042015-01-26 10:57:07 -0800733/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700734 __u8 gid[16];
Ben Cheng655a7c02013-10-16 16:09:24 -0700735 __u32 qp_handle;
736 __u16 mlid;
737 __u16 reserved;
Christopher Ferris82d75042015-01-26 10:57:07 -0800738/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700739 __u64 driver_data[0];
Christopher Ferris38062f92014-07-09 15:33:25 -0700740};
Christopher Ferris38062f92014-07-09 15:33:25 -0700741struct ib_uverbs_flow_spec_hdr {
742 __u32 type;
Christopher Ferris82d75042015-01-26 10:57:07 -0800743/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700744 __u16 size;
745 __u16 reserved;
Christopher Ferris38062f92014-07-09 15:33:25 -0700746 __u64 flow_spec_data[0];
747};
Christopher Ferris82d75042015-01-26 10:57:07 -0800748/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700749struct ib_uverbs_flow_eth_filter {
750 __u8 dst_mac[6];
Christopher Ferris38062f92014-07-09 15:33:25 -0700751 __u8 src_mac[6];
752 __be16 ether_type;
Christopher Ferris82d75042015-01-26 10:57:07 -0800753/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700754 __be16 vlan_tag;
755};
Christopher Ferris38062f92014-07-09 15:33:25 -0700756struct ib_uverbs_flow_spec_eth {
757 union {
Christopher Ferris82d75042015-01-26 10:57:07 -0800758/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700759 struct ib_uverbs_flow_spec_hdr hdr;
760 struct {
Christopher Ferris38062f92014-07-09 15:33:25 -0700761 __u32 type;
762 __u16 size;
Christopher Ferris82d75042015-01-26 10:57:07 -0800763/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700764 __u16 reserved;
765 };
Christopher Ferris38062f92014-07-09 15:33:25 -0700766 };
767 struct ib_uverbs_flow_eth_filter val;
Christopher Ferris82d75042015-01-26 10:57:07 -0800768/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700769 struct ib_uverbs_flow_eth_filter mask;
770};
Christopher Ferris38062f92014-07-09 15:33:25 -0700771struct ib_uverbs_flow_ipv4_filter {
772 __be32 src_ip;
Christopher Ferris82d75042015-01-26 10:57:07 -0800773/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700774 __be32 dst_ip;
775};
Christopher Ferris38062f92014-07-09 15:33:25 -0700776struct ib_uverbs_flow_spec_ipv4 {
777 union {
Christopher Ferris82d75042015-01-26 10:57:07 -0800778/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700779 struct ib_uverbs_flow_spec_hdr hdr;
780 struct {
Christopher Ferris38062f92014-07-09 15:33:25 -0700781 __u32 type;
782 __u16 size;
Christopher Ferris82d75042015-01-26 10:57:07 -0800783/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700784 __u16 reserved;
785 };
Christopher Ferris38062f92014-07-09 15:33:25 -0700786 };
787 struct ib_uverbs_flow_ipv4_filter val;
Christopher Ferris82d75042015-01-26 10:57:07 -0800788/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700789 struct ib_uverbs_flow_ipv4_filter mask;
790};
Christopher Ferris38062f92014-07-09 15:33:25 -0700791struct ib_uverbs_flow_tcp_udp_filter {
792 __be16 dst_port;
Christopher Ferris82d75042015-01-26 10:57:07 -0800793/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700794 __be16 src_port;
795};
Christopher Ferris38062f92014-07-09 15:33:25 -0700796struct ib_uverbs_flow_spec_tcp_udp {
797 union {
Christopher Ferris82d75042015-01-26 10:57:07 -0800798/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700799 struct ib_uverbs_flow_spec_hdr hdr;
800 struct {
Christopher Ferris38062f92014-07-09 15:33:25 -0700801 __u32 type;
802 __u16 size;
Christopher Ferris82d75042015-01-26 10:57:07 -0800803/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700804 __u16 reserved;
805 };
Christopher Ferris38062f92014-07-09 15:33:25 -0700806 };
807 struct ib_uverbs_flow_tcp_udp_filter val;
Christopher Ferris82d75042015-01-26 10:57:07 -0800808/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700809 struct ib_uverbs_flow_tcp_udp_filter mask;
810};
Christopher Ferris38062f92014-07-09 15:33:25 -0700811struct ib_uverbs_flow_attr {
812 __u32 type;
Christopher Ferris82d75042015-01-26 10:57:07 -0800813/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700814 __u16 size;
815 __u16 priority;
Christopher Ferris38062f92014-07-09 15:33:25 -0700816 __u8 num_of_specs;
817 __u8 reserved[2];
Christopher Ferris82d75042015-01-26 10:57:07 -0800818/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700819 __u8 port;
820 __u32 flags;
Christopher Ferris38062f92014-07-09 15:33:25 -0700821 struct ib_uverbs_flow_spec_hdr flow_specs[0];
822};
Christopher Ferris82d75042015-01-26 10:57:07 -0800823/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700824struct ib_uverbs_create_flow {
825 __u32 comp_mask;
Christopher Ferris38062f92014-07-09 15:33:25 -0700826 __u32 qp_handle;
827 struct ib_uverbs_flow_attr flow_attr;
Christopher Ferris82d75042015-01-26 10:57:07 -0800828/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700829};
830struct ib_uverbs_create_flow_resp {
Christopher Ferris38062f92014-07-09 15:33:25 -0700831 __u32 comp_mask;
832 __u32 flow_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800833/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700834};
835struct ib_uverbs_destroy_flow {
Christopher Ferris38062f92014-07-09 15:33:25 -0700836 __u32 comp_mask;
837 __u32 flow_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800838/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700839};
840struct ib_uverbs_create_srq {
841 __u64 response;
842 __u64 user_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800843/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700844 __u32 pd_handle;
845 __u32 max_wr;
846 __u32 max_sge;
847 __u32 srq_limit;
Christopher Ferris82d75042015-01-26 10:57:07 -0800848/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700849 __u64 driver_data[0];
850};
851struct ib_uverbs_create_xsrq {
852 __u64 response;
Christopher Ferris82d75042015-01-26 10:57:07 -0800853/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700854 __u64 user_handle;
855 __u32 srq_type;
856 __u32 pd_handle;
857 __u32 max_wr;
Christopher Ferris82d75042015-01-26 10:57:07 -0800858/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700859 __u32 max_sge;
860 __u32 srq_limit;
861 __u32 reserved;
862 __u32 xrcd_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800863/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700864 __u32 cq_handle;
865 __u64 driver_data[0];
866};
867struct ib_uverbs_create_srq_resp {
Christopher Ferris82d75042015-01-26 10:57:07 -0800868/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700869 __u32 srq_handle;
870 __u32 max_wr;
871 __u32 max_sge;
872 __u32 srqn;
Christopher Ferris82d75042015-01-26 10:57:07 -0800873/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700874};
875struct ib_uverbs_modify_srq {
876 __u32 srq_handle;
877 __u32 attr_mask;
Christopher Ferris82d75042015-01-26 10:57:07 -0800878/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700879 __u32 max_wr;
880 __u32 srq_limit;
881 __u64 driver_data[0];
882};
Christopher Ferris82d75042015-01-26 10:57:07 -0800883/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700884struct ib_uverbs_query_srq {
885 __u64 response;
886 __u32 srq_handle;
887 __u32 reserved;
Christopher Ferris82d75042015-01-26 10:57:07 -0800888/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700889 __u64 driver_data[0];
890};
891struct ib_uverbs_query_srq_resp {
892 __u32 max_wr;
Christopher Ferris82d75042015-01-26 10:57:07 -0800893/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700894 __u32 max_sge;
895 __u32 srq_limit;
896 __u32 reserved;
897};
Christopher Ferris82d75042015-01-26 10:57:07 -0800898/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700899struct ib_uverbs_destroy_srq {
900 __u64 response;
901 __u32 srq_handle;
902 __u32 reserved;
Christopher Ferris82d75042015-01-26 10:57:07 -0800903/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700904};
905struct ib_uverbs_destroy_srq_resp {
906 __u32 events_reported;
907};
Christopher Ferris82d75042015-01-26 10:57:07 -0800908/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700909#endif