blob: 903e5a945f6d5ad507a29ce636515265af711ce2 [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 {
Tao Baod7db5942015-01-28 10:07:51 -080026 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 */
Tao Baod7db5942015-01-28 10:07:51 -080029 IB_USER_VERBS_CMD_QUERY_PORT,
30 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 */
Tao Baod7db5942015-01-28 10:07:51 -080034 IB_USER_VERBS_CMD_MODIFY_AH,
35 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 */
Tao Baod7db5942015-01-28 10:07:51 -080039 IB_USER_VERBS_CMD_REG_SMR,
40 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 */
Tao Baod7db5942015-01-28 10:07:51 -080044 IB_USER_VERBS_CMD_ALLOC_MW,
45 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 */
Tao Baod7db5942015-01-28 10:07:51 -080049 IB_USER_VERBS_CMD_CREATE_CQ,
50 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 */
Tao Baod7db5942015-01-28 10:07:51 -080054 IB_USER_VERBS_CMD_PEEK_CQ,
55 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 */
Tao Baod7db5942015-01-28 10:07:51 -080059 IB_USER_VERBS_CMD_MODIFY_QP,
60 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 */
Tao Baod7db5942015-01-28 10:07:51 -080064 IB_USER_VERBS_CMD_ATTACH_MCAST,
65 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 */
Tao Baod7db5942015-01-28 10:07:51 -080069 IB_USER_VERBS_CMD_QUERY_SRQ,
70 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 */
Tao Baod7db5942015-01-28 10:07:51 -080074 IB_USER_VERBS_CMD_CLOSE_XRCD,
75 IB_USER_VERBS_CMD_CREATE_XSRQ,
76 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 {
Christopher Ferris05d08e92016-02-04 13:16:38 -080080 IB_USER_VERBS_EX_CMD_QUERY_DEVICE = IB_USER_VERBS_CMD_QUERY_DEVICE,
81 IB_USER_VERBS_EX_CMD_CREATE_CQ = IB_USER_VERBS_CMD_CREATE_CQ,
82 IB_USER_VERBS_EX_CMD_CREATE_QP = IB_USER_VERBS_CMD_CREATE_QP,
Christopher Ferris38062f92014-07-09 15:33:25 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080084 IB_USER_VERBS_EX_CMD_MODIFY_QP = IB_USER_VERBS_CMD_MODIFY_QP,
Christopher Ferris05d08e92016-02-04 13:16:38 -080085 IB_USER_VERBS_EX_CMD_CREATE_FLOW = IB_USER_VERBS_CMD_THRESHOLD,
86 IB_USER_VERBS_EX_CMD_DESTROY_FLOW,
Christopher Ferris49f525c2016-12-12 14:55:36 -080087 IB_USER_VERBS_EX_CMD_CREATE_WQ,
Christopher Ferris05d08e92016-02-04 13:16:38 -080088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080089 IB_USER_VERBS_EX_CMD_MODIFY_WQ,
Christopher Ferris49f525c2016-12-12 14:55:36 -080090 IB_USER_VERBS_EX_CMD_DESTROY_WQ,
91 IB_USER_VERBS_EX_CMD_CREATE_RWQ_IND_TBL,
92 IB_USER_VERBS_EX_CMD_DESTROY_RWQ_IND_TBL
Christopher Ferris49f525c2016-12-12 14:55:36 -080093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080094};
Christopher Ferris49f525c2016-12-12 14:55:36 -080095struct ib_uverbs_async_event_desc {
Tao Baod7db5942015-01-28 10:07:51 -080096 __u64 element;
97 __u32 event_type;
Christopher Ferris05d08e92016-02-04 13:16:38 -080098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080099 __u32 reserved;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800100};
Ben Cheng655a7c02013-10-16 16:09:24 -0700101struct ib_uverbs_comp_event_desc {
Tao Baod7db5942015-01-28 10:07:51 -0800102 __u64 cq_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800104};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800105#define IB_USER_VERBS_CMD_COMMAND_MASK 0xff
Christopher Ferris38062f92014-07-09 15:33:25 -0700106#define IB_USER_VERBS_CMD_FLAGS_MASK 0xff000000u
107#define IB_USER_VERBS_CMD_FLAGS_SHIFT 24
Christopher Ferris05d08e92016-02-04 13:16:38 -0800108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800109#define IB_USER_VERBS_CMD_FLAG_EXTENDED 0x80
Christopher Ferris49f525c2016-12-12 14:55:36 -0800110struct ib_uverbs_cmd_hdr {
Tao Baod7db5942015-01-28 10:07:51 -0800111 __u32 command;
112 __u16 in_words;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800114 __u16 out_words;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800115};
Christopher Ferris38062f92014-07-09 15:33:25 -0700116struct ib_uverbs_ex_cmd_hdr {
Tao Baod7db5942015-01-28 10:07:51 -0800117 __u64 response;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800119 __u16 provider_in_words;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800120 __u16 provider_out_words;
Tao Baod7db5942015-01-28 10:07:51 -0800121 __u32 cmd_hdr_reserved;
Christopher Ferris38062f92014-07-09 15:33:25 -0700122};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800124struct ib_uverbs_get_context {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800125 __u64 response;
Tao Baod7db5942015-01-28 10:07:51 -0800126 __u64 driver_data[0];
Ben Cheng655a7c02013-10-16 16:09:24 -0700127};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800129struct ib_uverbs_get_context_resp {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800130 __u32 async_fd;
Tao Baod7db5942015-01-28 10:07:51 -0800131 __u32 num_comp_vectors;
Ben Cheng655a7c02013-10-16 16:09:24 -0700132};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800134struct ib_uverbs_query_device {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800135 __u64 response;
Tao Baod7db5942015-01-28 10:07:51 -0800136 __u64 driver_data[0];
Ben Cheng655a7c02013-10-16 16:09:24 -0700137};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800139struct ib_uverbs_query_device_resp {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800140 __u64 fw_ver;
Tao Baod7db5942015-01-28 10:07:51 -0800141 __be64 node_guid;
142 __be64 sys_image_guid;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800144 __u64 max_mr_size;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800145 __u64 page_size_cap;
Tao Baod7db5942015-01-28 10:07:51 -0800146 __u32 vendor_id;
147 __u32 vendor_part_id;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800149 __u32 hw_ver;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800150 __u32 max_qp;
Tao Baod7db5942015-01-28 10:07:51 -0800151 __u32 max_qp_wr;
152 __u32 device_cap_flags;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800154 __u32 max_sge;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800155 __u32 max_sge_rd;
Tao Baod7db5942015-01-28 10:07:51 -0800156 __u32 max_cq;
157 __u32 max_cqe;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800159 __u32 max_mr;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800160 __u32 max_pd;
Tao Baod7db5942015-01-28 10:07:51 -0800161 __u32 max_qp_rd_atom;
162 __u32 max_ee_rd_atom;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800164 __u32 max_res_rd_atom;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800165 __u32 max_qp_init_rd_atom;
Tao Baod7db5942015-01-28 10:07:51 -0800166 __u32 max_ee_init_rd_atom;
167 __u32 atomic_cap;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800169 __u32 max_ee;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800170 __u32 max_rdd;
Tao Baod7db5942015-01-28 10:07:51 -0800171 __u32 max_mw;
172 __u32 max_raw_ipv6_qp;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800174 __u32 max_raw_ethy_qp;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800175 __u32 max_mcast_grp;
Tao Baod7db5942015-01-28 10:07:51 -0800176 __u32 max_mcast_qp_attach;
177 __u32 max_total_mcast_qp_attach;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800179 __u32 max_ah;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800180 __u32 max_fmr;
Tao Baod7db5942015-01-28 10:07:51 -0800181 __u32 max_map_per_fmr;
182 __u32 max_srq;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800184 __u32 max_srq_wr;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800185 __u32 max_srq_sge;
Tao Baod7db5942015-01-28 10:07:51 -0800186 __u16 max_pkeys;
187 __u8 local_ca_ack_delay;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800189 __u8 phys_port_cnt;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800190 __u8 reserved[4];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800191};
192struct ib_uverbs_ex_query_device {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800194 __u32 comp_mask;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800195 __u32 reserved;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800196};
197struct ib_uverbs_odp_caps {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800199 __u64 general_caps;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800200 struct {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800201 __u32 rc_odp_caps;
202 __u32 uc_odp_caps;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800204 __u32 ud_odp_caps;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800205 } per_transport_caps;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800206 __u32 reserved;
207};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800209struct ib_uverbs_rss_caps {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800210 __u32 supported_qpts;
211 __u32 max_rwq_indirection_tables;
212 __u32 max_rwq_indirection_table_size;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800214 __u32 reserved;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800215};
216struct ib_uverbs_ex_query_device_resp {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800217 struct ib_uverbs_query_device_resp base;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800219 __u32 comp_mask;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800220 __u32 response_length;
221 struct ib_uverbs_odp_caps odp_caps;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800222 __u64 timestamp_mask;
Christopher Ferris38062f92014-07-09 15:33:25 -0700223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800224 __u64 hca_core_clock;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800225 __u64 device_cap_flags_ex;
226 struct ib_uverbs_rss_caps rss_caps;
227 __u32 max_wq_type_rq;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800229 __u32 reserved;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800230};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800231struct ib_uverbs_query_port {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700232 __u64 response;
Christopher Ferris38062f92014-07-09 15:33:25 -0700233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800234 __u8 port_num;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800235 __u8 reserved[7];
Christopher Ferris49f525c2016-12-12 14:55:36 -0800236 __u64 driver_data[0];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700237};
Christopher Ferris38062f92014-07-09 15:33:25 -0700238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800239struct ib_uverbs_query_port_resp {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800240 __u32 port_cap_flags;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800241 __u32 max_msg_sz;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700242 __u32 bad_pkey_cntr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800244 __u32 qkey_viol_cntr;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800245 __u32 gid_tbl_len;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800246 __u16 pkey_tbl_len;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700247 __u16 lid;
Christopher Ferris38062f92014-07-09 15:33:25 -0700248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800249 __u16 sm_lid;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800250 __u8 state;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800251 __u8 max_mtu;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700252 __u8 active_mtu;
Christopher Ferris38062f92014-07-09 15:33:25 -0700253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800254 __u8 lmc;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800255 __u8 max_vl_num;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800256 __u8 sm_sl;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700257 __u8 subnet_timeout;
Christopher Ferris38062f92014-07-09 15:33:25 -0700258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800259 __u8 init_type_reply;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800260 __u8 active_width;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800261 __u8 active_speed;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700262 __u8 phys_state;
Christopher Ferris38062f92014-07-09 15:33:25 -0700263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800264 __u8 link_layer;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800265 __u8 reserved[2];
Christopher Ferris49f525c2016-12-12 14:55:36 -0800266};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700267struct ib_uverbs_alloc_pd {
Christopher Ferris38062f92014-07-09 15:33:25 -0700268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800269 __u64 response;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800270 __u64 driver_data[0];
Christopher Ferris49f525c2016-12-12 14:55:36 -0800271};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700272struct ib_uverbs_alloc_pd_resp {
Christopher Ferris38062f92014-07-09 15:33:25 -0700273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800274 __u32 pd_handle;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800275};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800276struct ib_uverbs_dealloc_pd {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700277 __u32 pd_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800279};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800280struct ib_uverbs_open_xrcd {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800281 __u64 response;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700282 __u32 fd;
Christopher Ferris38062f92014-07-09 15:33:25 -0700283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800284 __u32 oflags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800285 __u64 driver_data[0];
Christopher Ferris49f525c2016-12-12 14:55:36 -0800286};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700287struct ib_uverbs_open_xrcd_resp {
Christopher Ferris38062f92014-07-09 15:33:25 -0700288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800289 __u32 xrcd_handle;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800290};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800291struct ib_uverbs_close_xrcd {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700292 __u32 xrcd_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800294};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800295struct ib_uverbs_reg_mr {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800296 __u64 response;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700297 __u64 start;
Christopher Ferris38062f92014-07-09 15:33:25 -0700298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800299 __u64 length;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800300 __u64 hca_va;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800301 __u32 pd_handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700302 __u32 access_flags;
Christopher Ferris38062f92014-07-09 15:33:25 -0700303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800304 __u64 driver_data[0];
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800305};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800306struct ib_uverbs_reg_mr_resp {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700307 __u32 mr_handle;
Christopher Ferris38062f92014-07-09 15:33:25 -0700308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800309 __u32 lkey;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800310 __u32 rkey;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800311};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700312struct ib_uverbs_rereg_mr {
Christopher Ferris82d75042015-01-26 10:57:07 -0800313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800314 __u64 response;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800315 __u32 mr_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800316 __u32 flags;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700317 __u64 start;
Christopher Ferris82d75042015-01-26 10:57:07 -0800318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800319 __u64 length;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800320 __u64 hca_va;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800321 __u32 pd_handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700322 __u32 access_flags;
Christopher Ferris82d75042015-01-26 10:57:07 -0800323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800324};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800325struct ib_uverbs_rereg_mr_resp {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800326 __u32 lkey;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700327 __u32 rkey;
Christopher Ferris82d75042015-01-26 10:57:07 -0800328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800329};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800330struct ib_uverbs_dereg_mr {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800331 __u32 mr_handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700332};
Christopher Ferris82d75042015-01-26 10:57:07 -0800333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800334struct ib_uverbs_alloc_mw {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800335 __u64 response;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800336 __u32 pd_handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700337 __u8 mw_type;
Christopher Ferris82d75042015-01-26 10:57:07 -0800338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800339 __u8 reserved[3];
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800340};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800341struct ib_uverbs_alloc_mw_resp {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700342 __u32 mw_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800343/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800344 __u32 rkey;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800345};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800346struct ib_uverbs_dealloc_mw {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700347 __u32 mw_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800348/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800349};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800350struct ib_uverbs_create_comp_channel {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800351 __u64 response;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700352};
Christopher Ferris82d75042015-01-26 10:57:07 -0800353/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800354struct ib_uverbs_create_comp_channel_resp {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800355 __u32 fd;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800356};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700357struct ib_uverbs_create_cq {
Christopher Ferris82d75042015-01-26 10:57:07 -0800358/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800359 __u64 response;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800360 __u64 user_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800361 __u32 cqe;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700362 __u32 comp_vector;
Christopher Ferris82d75042015-01-26 10:57:07 -0800363/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800364 __s32 comp_channel;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800365 __u32 reserved;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800366 __u64 driver_data[0];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700367};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800368/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800369struct ib_uverbs_ex_create_cq {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800370 __u64 user_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800371 __u32 cqe;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700372 __u32 comp_vector;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800373/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800374 __s32 comp_channel;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800375 __u32 comp_mask;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800376 __u32 flags;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700377 __u32 reserved;
Christopher Ferris82d75042015-01-26 10:57:07 -0800378/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800379};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800380struct ib_uverbs_create_cq_resp {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800381 __u32 cq_handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700382 __u32 cqe;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800383/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800384};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800385struct ib_uverbs_ex_create_cq_resp {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800386 struct ib_uverbs_create_cq_resp base;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700387 __u32 comp_mask;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800388/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800389 __u32 response_length;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800390};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800391struct ib_uverbs_resize_cq {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700392 __u64 response;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800393/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800394 __u32 cq_handle;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800395 __u32 cqe;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800396 __u64 driver_data[0];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700397};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800398/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800399struct ib_uverbs_resize_cq_resp {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800400 __u32 cqe;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800401 __u32 reserved;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700402 __u64 driver_data[0];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800403/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800404};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800405struct ib_uverbs_poll_cq {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800406 __u64 response;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700407 __u32 cq_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800408/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800409 __u32 ne;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800410};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800411struct ib_uverbs_wc {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700412 __u64 wr_id;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800413/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800414 __u32 status;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800415 __u32 opcode;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800416 __u32 vendor_err;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700417 __u32 byte_len;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800418/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800419 union {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800420 __u32 imm_data;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800421 __u32 invalidate_rkey;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700422 } ex;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800423/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800424 __u32 qp_num;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800425 __u32 src_qp;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800426 __u32 wc_flags;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700427 __u16 pkey_index;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800428/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800429 __u16 slid;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800430 __u8 sl;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800431 __u8 dlid_path_bits;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700432 __u8 port_num;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800433/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800434 __u8 reserved;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800435};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800436struct ib_uverbs_poll_cq_resp {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700437 __u32 count;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800438/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800439 __u32 reserved;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800440 struct ib_uverbs_wc wc[0];
Christopher Ferris49f525c2016-12-12 14:55:36 -0800441};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700442struct ib_uverbs_req_notify_cq {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800443/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800444 __u32 cq_handle;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800445 __u32 solicited_only;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800446};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700447struct ib_uverbs_destroy_cq {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800448/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800449 __u64 response;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800450 __u32 cq_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800451 __u32 reserved;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700452};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800453/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800454struct ib_uverbs_destroy_cq_resp {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800455 __u32 comp_events_reported;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800456 __u32 async_events_reported;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700457};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800458/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800459struct ib_uverbs_global_route {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800460 __u8 dgid[16];
Christopher Ferris49f525c2016-12-12 14:55:36 -0800461 __u32 flow_label;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700462 __u8 sgid_index;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800463/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800464 __u8 hop_limit;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800465 __u8 traffic_class;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800466 __u8 reserved;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700467};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800468/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800469struct ib_uverbs_ah_attr {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800470 struct ib_uverbs_global_route grh;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800471 __u16 dlid;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700472 __u8 sl;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800473/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800474 __u8 src_path_bits;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800475 __u8 static_rate;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800476 __u8 is_global;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700477 __u8 port_num;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800478/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800479 __u8 reserved;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800480};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800481struct ib_uverbs_qp_attr {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700482 __u32 qp_attr_mask;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800483/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800484 __u32 qp_state;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800485 __u32 cur_qp_state;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800486 __u32 path_mtu;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700487 __u32 path_mig_state;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800488/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800489 __u32 qkey;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800490 __u32 rq_psn;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800491 __u32 sq_psn;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700492 __u32 dest_qp_num;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800493/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800494 __u32 qp_access_flags;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800495 struct ib_uverbs_ah_attr ah_attr;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800496 struct ib_uverbs_ah_attr alt_ah_attr;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700497 __u32 max_send_wr;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800498/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800499 __u32 max_recv_wr;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800500 __u32 max_send_sge;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800501 __u32 max_recv_sge;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700502 __u32 max_inline_data;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800503/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800504 __u16 pkey_index;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800505 __u16 alt_pkey_index;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800506 __u8 en_sqd_async_notify;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700507 __u8 sq_draining;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800508/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800509 __u8 max_rd_atomic;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800510 __u8 max_dest_rd_atomic;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800511 __u8 min_rnr_timer;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700512 __u8 port_num;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800513/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800514 __u8 timeout;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800515 __u8 retry_cnt;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800516 __u8 rnr_retry;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700517 __u8 alt_port_num;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800518/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800519 __u8 alt_timeout;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800520 __u8 reserved[5];
Christopher Ferris49f525c2016-12-12 14:55:36 -0800521};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700522struct ib_uverbs_create_qp {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800523/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800524 __u64 response;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800525 __u64 user_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800526 __u32 pd_handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700527 __u32 send_cq_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800528/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800529 __u32 recv_cq_handle;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800530 __u32 srq_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800531 __u32 max_send_wr;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700532 __u32 max_recv_wr;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800533/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800534 __u32 max_send_sge;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800535 __u32 max_recv_sge;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800536 __u32 max_inline_data;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700537 __u8 sq_sig_all;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800538/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800539 __u8 qp_type;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800540 __u8 is_srq;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800541 __u8 reserved;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700542 __u64 driver_data[0];
Christopher Ferris49f525c2016-12-12 14:55:36 -0800543/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800544};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800545enum ib_uverbs_create_qp_mask {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800546 IB_UVERBS_CREATE_QP_MASK_IND_TABLE = 1UL << 0,
547};
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800548/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
549enum {
550 IB_UVERBS_CREATE_QP_SUP_COMP_MASK = IB_UVERBS_CREATE_QP_MASK_IND_TABLE,
551};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800552enum {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800553/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800554 IB_USER_LEGACY_LAST_QP_ATTR_MASK = 1ULL << 20,
555};
556enum {
557 IB_USER_LAST_QP_ATTR_MASK = 1ULL << 25,
558/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800559};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800560struct ib_uverbs_ex_create_qp {
561 __u64 user_handle;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800562 __u32 pd_handle;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800563/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800564 __u32 send_cq_handle;
Tao Baod7db5942015-01-28 10:07:51 -0800565 __u32 recv_cq_handle;
566 __u32 srq_handle;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800567 __u32 max_send_wr;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800568/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800569 __u32 max_recv_wr;
570 __u32 max_send_sge;
571 __u32 max_recv_sge;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800572 __u32 max_inline_data;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800573/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800574 __u8 sq_sig_all;
575 __u8 qp_type;
576 __u8 is_srq;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800577 __u8 reserved;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800578/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800579 __u32 comp_mask;
580 __u32 create_flags;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800581 __u32 rwq_ind_tbl_handle;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800582 __u32 reserved1;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800583/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800584};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700585struct ib_uverbs_open_qp {
Tao Baod7db5942015-01-28 10:07:51 -0800586 __u64 response;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800587 __u64 user_handle;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800588/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800589 __u32 pd_handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700590 __u32 qpn;
Tao Baod7db5942015-01-28 10:07:51 -0800591 __u8 qp_type;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800592 __u8 reserved[7];
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800593/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800594 __u64 driver_data[0];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700595};
Ben Cheng655a7c02013-10-16 16:09:24 -0700596struct ib_uverbs_create_qp_resp {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800597 __u32 qp_handle;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800598/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800599 __u32 qpn;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700600 __u32 max_send_wr;
Tao Baod7db5942015-01-28 10:07:51 -0800601 __u32 max_recv_wr;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800602 __u32 max_send_sge;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800603/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800604 __u32 max_recv_sge;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700605 __u32 max_inline_data;
Tao Baod7db5942015-01-28 10:07:51 -0800606 __u32 reserved;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800607};
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800608/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800609struct ib_uverbs_ex_create_qp_resp {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700610 struct ib_uverbs_create_qp_resp base;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800611 __u32 comp_mask;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800612 __u32 response_length;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800613/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800614};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700615struct ib_uverbs_qp_dest {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800616 __u8 dgid[16];
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800617 __u32 flow_label;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800618/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800619 __u16 dlid;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700620 __u16 reserved;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800621 __u8 sgid_index;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800622 __u8 hop_limit;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800623/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800624 __u8 traffic_class;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700625 __u8 sl;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800626 __u8 src_path_bits;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800627 __u8 static_rate;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800628/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800629 __u8 is_global;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700630 __u8 port_num;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800631};
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800632struct ib_uverbs_query_qp {
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800633/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800634 __u64 response;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700635 __u32 qp_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800636 __u32 attr_mask;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800637 __u64 driver_data[0];
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800638/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800639};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700640struct ib_uverbs_query_qp_resp {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800641 struct ib_uverbs_qp_dest dest;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800642 struct ib_uverbs_qp_dest alt_dest;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800643/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800644 __u32 max_send_wr;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700645 __u32 max_recv_wr;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800646 __u32 max_send_sge;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800647 __u32 max_recv_sge;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800648/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800649 __u32 max_inline_data;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700650 __u32 qkey;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800651 __u32 rq_psn;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800652 __u32 sq_psn;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800653/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800654 __u32 dest_qp_num;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700655 __u32 qp_access_flags;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800656 __u16 pkey_index;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800657 __u16 alt_pkey_index;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800658/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800659 __u8 qp_state;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700660 __u8 cur_qp_state;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800661 __u8 path_mtu;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800662 __u8 path_mig_state;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800663/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800664 __u8 sq_draining;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700665 __u8 max_rd_atomic;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800666 __u8 max_dest_rd_atomic;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800667 __u8 min_rnr_timer;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800668/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800669 __u8 port_num;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700670 __u8 timeout;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800671 __u8 retry_cnt;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800672 __u8 rnr_retry;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800673/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800674 __u8 alt_port_num;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700675 __u8 alt_timeout;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800676 __u8 sq_sig_all;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800677 __u8 reserved[5];
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800678/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800679 __u64 driver_data[0];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700680};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800681struct ib_uverbs_modify_qp {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800682 struct ib_uverbs_qp_dest dest;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800683/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800684 struct ib_uverbs_qp_dest alt_dest;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700685 __u32 qp_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800686 __u32 attr_mask;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800687 __u32 qkey;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800688/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800689 __u32 rq_psn;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700690 __u32 sq_psn;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800691 __u32 dest_qp_num;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800692 __u32 qp_access_flags;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800693/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800694 __u16 pkey_index;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700695 __u16 alt_pkey_index;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800696 __u8 qp_state;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800697 __u8 cur_qp_state;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800698/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800699 __u8 path_mtu;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700700 __u8 path_mig_state;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800701 __u8 en_sqd_async_notify;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800702 __u8 max_rd_atomic;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800703/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800704 __u8 max_dest_rd_atomic;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700705 __u8 min_rnr_timer;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800706 __u8 port_num;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800707 __u8 timeout;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800708/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800709 __u8 retry_cnt;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700710 __u8 rnr_retry;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800711 __u8 alt_port_num;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800712 __u8 alt_timeout;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800713/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800714 __u8 reserved[2];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700715 __u64 driver_data[0];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800716};
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800717struct ib_uverbs_ex_modify_qp {
718/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
719 struct ib_uverbs_modify_qp base;
720 __u32 rate_limit;
721 __u32 reserved;
722};
Christopher Ferris82d75042015-01-26 10:57:07 -0800723/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800724struct ib_uverbs_modify_qp_resp {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800725};
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800726struct ib_uverbs_ex_modify_qp_resp {
727 __u32 comp_mask;
728/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
729 __u32 response_length;
730};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700731struct ib_uverbs_destroy_qp {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800732 __u64 response;
Christopher Ferris82d75042015-01-26 10:57:07 -0800733/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800734 __u32 qp_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800735 __u32 reserved;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700736};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800737struct ib_uverbs_destroy_qp_resp {
Christopher Ferris82d75042015-01-26 10:57:07 -0800738/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800739 __u32 events_reported;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800740};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700741struct ib_uverbs_sge {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800742 __u64 addr;
Christopher Ferris82d75042015-01-26 10:57:07 -0800743/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800744 __u32 length;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800745 __u32 lkey;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700746};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800747struct ib_uverbs_send_wr {
Christopher Ferris82d75042015-01-26 10:57:07 -0800748/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800749 __u64 wr_id;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800750 __u32 num_sge;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700751 __u32 opcode;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800752 __u32 send_flags;
Christopher Ferris82d75042015-01-26 10:57:07 -0800753/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800754 union {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800755 __u32 imm_data;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700756 __u32 invalidate_rkey;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800757 } ex;
Christopher Ferris82d75042015-01-26 10:57:07 -0800758/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800759 union {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800760 struct {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700761 __u64 remote_addr;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800762 __u32 rkey;
Christopher Ferris82d75042015-01-26 10:57:07 -0800763/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800764 __u32 reserved;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800765 } rdma;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700766 struct {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800767 __u64 remote_addr;
Christopher Ferris82d75042015-01-26 10:57:07 -0800768/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800769 __u64 compare_add;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800770 __u64 swap;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700771 __u32 rkey;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800772 __u32 reserved;
Christopher Ferris82d75042015-01-26 10:57:07 -0800773/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800774 } atomic;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800775 struct {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700776 __u32 ah;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800777 __u32 remote_qpn;
Christopher Ferris82d75042015-01-26 10:57:07 -0800778/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800779 __u32 remote_qkey;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800780 __u32 reserved;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700781 } ud;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800782 } wr;
Christopher Ferris82d75042015-01-26 10:57:07 -0800783/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800784};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800785struct ib_uverbs_post_send {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700786 __u64 response;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800787 __u32 qp_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800788/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800789 __u32 wr_count;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800790 __u32 sge_count;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700791 __u32 wqe_size;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800792 struct ib_uverbs_send_wr send_wr[0];
Christopher Ferris82d75042015-01-26 10:57:07 -0800793/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800794};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800795struct ib_uverbs_post_send_resp {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700796 __u32 bad_wr;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800797};
Christopher Ferris82d75042015-01-26 10:57:07 -0800798/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800799struct ib_uverbs_recv_wr {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800800 __u64 wr_id;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700801 __u32 num_sge;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800802 __u32 reserved;
Christopher Ferris82d75042015-01-26 10:57:07 -0800803/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800804};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800805struct ib_uverbs_post_recv {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700806 __u64 response;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800807 __u32 qp_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800808/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800809 __u32 wr_count;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800810 __u32 sge_count;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700811 __u32 wqe_size;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800812 struct ib_uverbs_recv_wr recv_wr[0];
Christopher Ferris82d75042015-01-26 10:57:07 -0800813/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800814};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800815struct ib_uverbs_post_recv_resp {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700816 __u32 bad_wr;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800817};
Christopher Ferris82d75042015-01-26 10:57:07 -0800818/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800819struct ib_uverbs_post_srq_recv {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800820 __u64 response;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700821 __u32 srq_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800822 __u32 wr_count;
Christopher Ferris82d75042015-01-26 10:57:07 -0800823/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800824 __u32 sge_count;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800825 __u32 wqe_size;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700826 struct ib_uverbs_recv_wr recv[0];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800827};
Christopher Ferris82d75042015-01-26 10:57:07 -0800828/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800829struct ib_uverbs_post_srq_recv_resp {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800830 __u32 bad_wr;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700831};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800832struct ib_uverbs_create_ah {
Christopher Ferris82d75042015-01-26 10:57:07 -0800833/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800834 __u64 response;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800835 __u64 user_handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700836 __u32 pd_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800837 __u32 reserved;
Christopher Ferris82d75042015-01-26 10:57:07 -0800838/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800839 struct ib_uverbs_ah_attr attr;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800840};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700841struct ib_uverbs_create_ah_resp {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800842 __u32 ah_handle;
Christopher Ferris82d75042015-01-26 10:57:07 -0800843/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800844};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800845struct ib_uverbs_destroy_ah {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700846 __u32 ah_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800847};
Christopher Ferris82d75042015-01-26 10:57:07 -0800848/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800849struct ib_uverbs_attach_mcast {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800850 __u8 gid[16];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700851 __u32 qp_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800852 __u16 mlid;
Christopher Ferris82d75042015-01-26 10:57:07 -0800853/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800854 __u16 reserved;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800855 __u64 driver_data[0];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700856};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800857struct ib_uverbs_detach_mcast {
Christopher Ferris82d75042015-01-26 10:57:07 -0800858/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800859 __u8 gid[16];
Christopher Ferris49f525c2016-12-12 14:55:36 -0800860 __u32 qp_handle;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700861 __u16 mlid;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800862 __u16 reserved;
Christopher Ferris82d75042015-01-26 10:57:07 -0800863/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800864 __u64 driver_data[0];
Christopher Ferris49f525c2016-12-12 14:55:36 -0800865};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700866struct ib_uverbs_flow_spec_hdr {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800867 __u32 type;
Christopher Ferris82d75042015-01-26 10:57:07 -0800868/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800869 __u16 size;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800870 __u16 reserved;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700871 __u64 flow_spec_data[0];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800872};
Christopher Ferris82d75042015-01-26 10:57:07 -0800873/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800874struct ib_uverbs_flow_eth_filter {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800875 __u8 dst_mac[6];
Christopher Ferris106b3a82016-08-24 12:15:38 -0700876 __u8 src_mac[6];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800877 __be16 ether_type;
Christopher Ferris82d75042015-01-26 10:57:07 -0800878/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800879 __be16 vlan_tag;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800880};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700881struct ib_uverbs_flow_spec_eth {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800882 union {
Christopher Ferris82d75042015-01-26 10:57:07 -0800883/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800884 struct ib_uverbs_flow_spec_hdr hdr;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800885 struct {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700886 __u32 type;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800887 __u16 size;
Christopher Ferris82d75042015-01-26 10:57:07 -0800888/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800889 __u16 reserved;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800890 };
Christopher Ferris106b3a82016-08-24 12:15:38 -0700891 };
Christopher Ferris05d08e92016-02-04 13:16:38 -0800892 struct ib_uverbs_flow_eth_filter val;
Christopher Ferris82d75042015-01-26 10:57:07 -0800893/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800894 struct ib_uverbs_flow_eth_filter mask;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800895};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700896struct ib_uverbs_flow_ipv4_filter {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800897 __be32 src_ip;
Christopher Ferris82d75042015-01-26 10:57:07 -0800898/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800899 __be32 dst_ip;
900 __u8 proto;
901 __u8 tos;
902 __u8 ttl;
903/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
904 __u8 flags;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800905};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700906struct ib_uverbs_flow_spec_ipv4 {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800907 union {
Christopher Ferris82d75042015-01-26 10:57:07 -0800908/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800909 struct ib_uverbs_flow_spec_hdr hdr;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800910 struct {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700911 __u32 type;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800912 __u16 size;
Christopher Ferris82d75042015-01-26 10:57:07 -0800913/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800914 __u16 reserved;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800915 };
Christopher Ferris106b3a82016-08-24 12:15:38 -0700916 };
Christopher Ferris05d08e92016-02-04 13:16:38 -0800917 struct ib_uverbs_flow_ipv4_filter val;
Christopher Ferris82d75042015-01-26 10:57:07 -0800918/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800919 struct ib_uverbs_flow_ipv4_filter mask;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800920};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700921struct ib_uverbs_flow_tcp_udp_filter {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800922 __be16 dst_port;
Christopher Ferris82d75042015-01-26 10:57:07 -0800923/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800924 __be16 src_port;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800925};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700926struct ib_uverbs_flow_spec_tcp_udp {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800927 union {
Christopher Ferris82d75042015-01-26 10:57:07 -0800928/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800929 struct ib_uverbs_flow_spec_hdr hdr;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800930 struct {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700931 __u32 type;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800932 __u16 size;
Christopher Ferris82d75042015-01-26 10:57:07 -0800933/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800934 __u16 reserved;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800935 };
Christopher Ferris106b3a82016-08-24 12:15:38 -0700936 };
Christopher Ferris05d08e92016-02-04 13:16:38 -0800937 struct ib_uverbs_flow_tcp_udp_filter val;
Christopher Ferris82d75042015-01-26 10:57:07 -0800938/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800939 struct ib_uverbs_flow_tcp_udp_filter mask;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800940};
941struct ib_uverbs_flow_ipv6_filter {
942 __u8 src_ip[16];
Christopher Ferris49f525c2016-12-12 14:55:36 -0800943/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800944 __u8 dst_ip[16];
945 __be32 flow_label;
946 __u8 next_hdr;
947 __u8 traffic_class;
948/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
949 __u8 hop_limit;
950 __u8 reserved;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800951};
952struct ib_uverbs_flow_spec_ipv6 {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800953/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800954 union {
955 struct ib_uverbs_flow_spec_hdr hdr;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800956 struct {
957 __u32 type;
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800958/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800959 __u16 size;
960 __u16 reserved;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800961 };
962 };
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800963/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800964 struct ib_uverbs_flow_ipv6_filter val;
965 struct ib_uverbs_flow_ipv6_filter mask;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800966};
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800967struct ib_uverbs_flow_tunnel_filter {
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800968/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800969 __be32 tunnel_id;
970};
971struct ib_uverbs_flow_spec_tunnel {
972 union {
973/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
974 struct ib_uverbs_flow_spec_hdr hdr;
975 struct {
976 __u32 type;
977 __u16 size;
978/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
979 __u16 reserved;
980 };
981 };
982 struct ib_uverbs_flow_tunnel_filter val;
983/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
984 struct ib_uverbs_flow_tunnel_filter mask;
985};
986struct ib_uverbs_flow_attr {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800987 __u32 type;
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800988/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800989 __u16 size;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800990 __u16 priority;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700991 __u8 num_of_specs;
Christopher Ferris05d08e92016-02-04 13:16:38 -0800992 __u8 reserved[2];
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800993/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800994 __u8 port;
Christopher Ferris49f525c2016-12-12 14:55:36 -0800995 __u32 flags;
Christopher Ferris106b3a82016-08-24 12:15:38 -0700996 struct ib_uverbs_flow_spec_hdr flow_specs[0];
Christopher Ferris05d08e92016-02-04 13:16:38 -0800997};
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800998/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700999struct ib_uverbs_create_flow {
Christopher Ferris49f525c2016-12-12 14:55:36 -08001000 __u32 comp_mask;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001001 __u32 qp_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001002 struct ib_uverbs_flow_attr flow_attr;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001003/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -07001004};
1005struct ib_uverbs_create_flow_resp {
Christopher Ferris106b3a82016-08-24 12:15:38 -07001006 __u32 comp_mask;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001007 __u32 flow_handle;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001008/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -07001009};
1010struct ib_uverbs_destroy_flow {
Christopher Ferris106b3a82016-08-24 12:15:38 -07001011 __u32 comp_mask;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001012 __u32 flow_handle;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001013/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -07001014};
Christopher Ferris49f525c2016-12-12 14:55:36 -08001015struct ib_uverbs_create_srq {
Christopher Ferris106b3a82016-08-24 12:15:38 -07001016 __u64 response;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001017 __u64 user_handle;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001018/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001019 __u32 pd_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001020 __u32 max_wr;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001021 __u32 max_sge;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001022 __u32 srq_limit;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001024 __u64 driver_data[0];
Christopher Ferris49f525c2016-12-12 14:55:36 -08001025};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001026struct ib_uverbs_create_xsrq {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001027 __u64 response;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001029 __u64 user_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001030 __u32 srq_type;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001031 __u32 pd_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001032 __u32 max_wr;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001034 __u32 max_sge;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001035 __u32 srq_limit;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001036 __u32 reserved;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001037 __u32 xrcd_handle;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001039 __u32 cq_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001040 __u64 driver_data[0];
Christopher Ferris106b3a82016-08-24 12:15:38 -07001041};
Christopher Ferris05d08e92016-02-04 13:16:38 -08001042struct ib_uverbs_create_srq_resp {
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001044 __u32 srq_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001045 __u32 max_wr;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001046 __u32 max_sge;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001047 __u32 srqn;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -07001049};
Christopher Ferris49f525c2016-12-12 14:55:36 -08001050struct ib_uverbs_modify_srq {
Christopher Ferris106b3a82016-08-24 12:15:38 -07001051 __u32 srq_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001052 __u32 attr_mask;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001054 __u32 max_wr;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001055 __u32 srq_limit;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001056 __u64 driver_data[0];
Christopher Ferris05d08e92016-02-04 13:16:38 -08001057};
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -07001059struct ib_uverbs_query_srq {
Christopher Ferris49f525c2016-12-12 14:55:36 -08001060 __u64 response;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001061 __u32 srq_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001062 __u32 reserved;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001064 __u64 driver_data[0];
Christopher Ferris49f525c2016-12-12 14:55:36 -08001065};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001066struct ib_uverbs_query_srq_resp {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001067 __u32 max_wr;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001069 __u32 max_sge;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001070 __u32 srq_limit;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001071 __u32 reserved;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001072};
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -07001074struct ib_uverbs_destroy_srq {
Christopher Ferris49f525c2016-12-12 14:55:36 -08001075 __u64 response;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001076 __u32 srq_handle;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001077 __u32 reserved;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -07001079};
Christopher Ferris49f525c2016-12-12 14:55:36 -08001080struct ib_uverbs_destroy_srq_resp {
Christopher Ferris106b3a82016-08-24 12:15:38 -07001081 __u32 events_reported;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001082};
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001084struct ib_uverbs_ex_create_wq {
Christopher Ferris49f525c2016-12-12 14:55:36 -08001085 __u32 comp_mask;
1086 __u32 wq_type;
1087 __u64 user_handle;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001089 __u32 pd_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001090 __u32 cq_handle;
1091 __u32 max_wr;
1092 __u32 max_sge;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001094};
Christopher Ferris49f525c2016-12-12 14:55:36 -08001095struct ib_uverbs_ex_create_wq_resp {
1096 __u32 comp_mask;
1097 __u32 response_length;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001099 __u32 wq_handle;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001100 __u32 max_wr;
1101 __u32 max_sge;
1102 __u32 wqn;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001104};
Christopher Ferris49f525c2016-12-12 14:55:36 -08001105struct ib_uverbs_ex_destroy_wq {
1106 __u32 comp_mask;
1107 __u32 wq_handle;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001109};
Christopher Ferris49f525c2016-12-12 14:55:36 -08001110struct ib_uverbs_ex_destroy_wq_resp {
1111 __u32 comp_mask;
1112 __u32 response_length;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001114 __u32 events_reported;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001115 __u32 reserved;
1116};
1117struct ib_uverbs_ex_modify_wq {
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001119 __u32 attr_mask;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001120 __u32 wq_handle;
1121 __u32 wq_state;
1122 __u32 curr_wq_state;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001124};
Christopher Ferris49f525c2016-12-12 14:55:36 -08001125#define IB_USER_VERBS_MAX_LOG_IND_TBL_SIZE 0x0d
1126struct ib_uverbs_ex_create_rwq_ind_table {
1127 __u32 comp_mask;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001129 __u32 log_ind_tbl_size;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001130 __u32 wq_handles[0];
1131};
1132struct ib_uverbs_ex_create_rwq_ind_table_resp {
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001134 __u32 comp_mask;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001135 __u32 response_length;
1136 __u32 ind_tbl_handle;
1137 __u32 ind_tbl_num;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001139};
Christopher Ferris49f525c2016-12-12 14:55:36 -08001140struct ib_uverbs_ex_destroy_rwq_ind_table {
1141 __u32 comp_mask;
1142 __u32 ind_tbl_handle;
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001144};
Ben Cheng655a7c02013-10-16 16:09:24 -07001145#endif