blob: f2449262a83a1e13a03cccc2ea97304a18ba50ba [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 RDMA_USER_CM_H
20#define RDMA_USER_CM_H
21#include <linux/types.h>
Christopher Ferris653676d2014-09-18 13:14:58 -070022#include <linux/socket.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -070024#include <linux/in6.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070025#include <rdma/ib_user_verbs.h>
26#include <rdma/ib_user_sa.h>
27#define RDMA_USER_CM_ABI_VERSION 4
Ben Cheng655a7c02013-10-16 16:09:24 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -070029#define RDMA_MAX_PRIVATE_DATA 256
Ben Cheng655a7c02013-10-16 16:09:24 -070030enum {
Tao Baod7db5942015-01-28 10:07:51 -080031 RDMA_USER_CM_CMD_CREATE_ID,
32 RDMA_USER_CM_CMD_DESTROY_ID,
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 RDMA_USER_CM_CMD_BIND_IP,
35 RDMA_USER_CM_CMD_RESOLVE_IP,
36 RDMA_USER_CM_CMD_RESOLVE_ROUTE,
37 RDMA_USER_CM_CMD_QUERY_ROUTE,
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 RDMA_USER_CM_CMD_CONNECT,
40 RDMA_USER_CM_CMD_LISTEN,
41 RDMA_USER_CM_CMD_ACCEPT,
42 RDMA_USER_CM_CMD_REJECT,
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 RDMA_USER_CM_CMD_DISCONNECT,
45 RDMA_USER_CM_CMD_INIT_QP_ATTR,
46 RDMA_USER_CM_CMD_GET_EVENT,
47 RDMA_USER_CM_CMD_GET_OPTION,
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 RDMA_USER_CM_CMD_SET_OPTION,
50 RDMA_USER_CM_CMD_NOTIFY,
51 RDMA_USER_CM_CMD_JOIN_IP_MCAST,
52 RDMA_USER_CM_CMD_LEAVE_MCAST,
Christopher Ferris38062f92014-07-09 15:33:25 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 RDMA_USER_CM_CMD_MIGRATE_ID,
55 RDMA_USER_CM_CMD_QUERY,
56 RDMA_USER_CM_CMD_BIND,
57 RDMA_USER_CM_CMD_RESOLVE_ADDR,
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 RDMA_USER_CM_CMD_JOIN_MCAST
Ben Cheng655a7c02013-10-16 16:09:24 -070060};
61struct rdma_ucm_cmd_hdr {
Tao Baod7db5942015-01-28 10:07:51 -080062 __u32 cmd;
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 __u16 in;
65 __u16 out;
Ben Cheng655a7c02013-10-16 16:09:24 -070066};
67struct rdma_ucm_create_id {
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 __u64 uid;
70 __u64 response;
71 __u16 ps;
72 __u8 qp_type;
Ben Cheng655a7c02013-10-16 16:09:24 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080074 __u8 reserved[5];
Ben Cheng655a7c02013-10-16 16:09:24 -070075};
76struct rdma_ucm_create_id_resp {
Tao Baod7db5942015-01-28 10:07:51 -080077 __u32 id;
Ben Cheng655a7c02013-10-16 16:09:24 -070078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -070079};
Ben Cheng655a7c02013-10-16 16:09:24 -070080struct rdma_ucm_destroy_id {
Tao Baod7db5942015-01-28 10:07:51 -080081 __u64 response;
82 __u32 id;
Ben Cheng655a7c02013-10-16 16:09:24 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080084 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -070085};
86struct rdma_ucm_destroy_id_resp {
Tao Baod7db5942015-01-28 10:07:51 -080087 __u32 events_reported;
Ben Cheng655a7c02013-10-16 16:09:24 -070088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -070089};
Christopher Ferris38062f92014-07-09 15:33:25 -070090struct rdma_ucm_bind_ip {
Tao Baod7db5942015-01-28 10:07:51 -080091 __u64 response;
92 struct sockaddr_in6 addr;
Ben Cheng655a7c02013-10-16 16:09:24 -070093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080094 __u32 id;
Ben Cheng655a7c02013-10-16 16:09:24 -070095};
Christopher Ferris38062f92014-07-09 15:33:25 -070096struct rdma_ucm_bind {
Tao Baod7db5942015-01-28 10:07:51 -080097 __u32 id;
Christopher Ferris38062f92014-07-09 15:33:25 -070098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080099 __u16 addr_size;
100 __u16 reserved;
101 struct sockaddr_storage addr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700102};
Christopher Ferris38062f92014-07-09 15:33:25 -0700103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700104struct rdma_ucm_resolve_ip {
Tao Baod7db5942015-01-28 10:07:51 -0800105 struct sockaddr_in6 src_addr;
106 struct sockaddr_in6 dst_addr;
107 __u32 id;
Christopher Ferris38062f92014-07-09 15:33:25 -0700108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800109 __u32 timeout_ms;
Christopher Ferris38062f92014-07-09 15:33:25 -0700110};
111struct rdma_ucm_resolve_addr {
Tao Baod7db5942015-01-28 10:07:51 -0800112 __u32 id;
Christopher Ferris38062f92014-07-09 15:33:25 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800114 __u32 timeout_ms;
115 __u16 src_size;
116 __u16 dst_size;
117 __u32 reserved;
Christopher Ferris38062f92014-07-09 15:33:25 -0700118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800119 struct sockaddr_storage src_addr;
120 struct sockaddr_storage dst_addr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700121};
122struct rdma_ucm_resolve_route {
Christopher Ferris38062f92014-07-09 15:33:25 -0700123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800124 __u32 id;
125 __u32 timeout_ms;
Ben Cheng655a7c02013-10-16 16:09:24 -0700126};
Christopher Ferris38062f92014-07-09 15:33:25 -0700127enum {
Christopher Ferris38062f92014-07-09 15:33:25 -0700128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800129 RDMA_USER_CM_QUERY_ADDR,
130 RDMA_USER_CM_QUERY_PATH,
131 RDMA_USER_CM_QUERY_GID
Christopher Ferris38062f92014-07-09 15:33:25 -0700132};
Ben Cheng655a7c02013-10-16 16:09:24 -0700133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700134struct rdma_ucm_query {
Tao Baod7db5942015-01-28 10:07:51 -0800135 __u64 response;
136 __u32 id;
137 __u32 option;
Ben Cheng655a7c02013-10-16 16:09:24 -0700138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700139};
Ben Cheng655a7c02013-10-16 16:09:24 -0700140struct rdma_ucm_query_route_resp {
Tao Baod7db5942015-01-28 10:07:51 -0800141 __u64 node_guid;
142 struct ib_user_path_rec ib_route[2];
Ben Cheng655a7c02013-10-16 16:09:24 -0700143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800144 struct sockaddr_in6 src_addr;
145 struct sockaddr_in6 dst_addr;
146 __u32 num_paths;
147 __u8 port_num;
Ben Cheng655a7c02013-10-16 16:09:24 -0700148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800149 __u8 reserved[3];
Ben Cheng655a7c02013-10-16 16:09:24 -0700150};
Christopher Ferris38062f92014-07-09 15:33:25 -0700151struct rdma_ucm_query_addr_resp {
Tao Baod7db5942015-01-28 10:07:51 -0800152 __u64 node_guid;
Christopher Ferris38062f92014-07-09 15:33:25 -0700153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800154 __u8 port_num;
155 __u8 reserved;
156 __u16 pkey;
157 __u16 src_size;
Christopher Ferris38062f92014-07-09 15:33:25 -0700158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800159 __u16 dst_size;
160 struct sockaddr_storage src_addr;
161 struct sockaddr_storage dst_addr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700162};
Christopher Ferris38062f92014-07-09 15:33:25 -0700163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700164struct rdma_ucm_query_path_resp {
Tao Baod7db5942015-01-28 10:07:51 -0800165 __u32 num_paths;
166 __u32 reserved;
167 struct ib_path_rec_data path_data[0];
Christopher Ferris38062f92014-07-09 15:33:25 -0700168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700169};
Ben Cheng655a7c02013-10-16 16:09:24 -0700170struct rdma_ucm_conn_param {
Tao Baod7db5942015-01-28 10:07:51 -0800171 __u32 qp_num;
172 __u32 qkey;
Christopher Ferris38062f92014-07-09 15:33:25 -0700173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800174 __u8 private_data[RDMA_MAX_PRIVATE_DATA];
175 __u8 private_data_len;
176 __u8 srq;
177 __u8 responder_resources;
Christopher Ferris38062f92014-07-09 15:33:25 -0700178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800179 __u8 initiator_depth;
180 __u8 flow_control;
181 __u8 retry_count;
182 __u8 rnr_retry_count;
Christopher Ferris38062f92014-07-09 15:33:25 -0700183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800184 __u8 valid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700185};
186struct rdma_ucm_ud_param {
Tao Baod7db5942015-01-28 10:07:51 -0800187 __u32 qp_num;
Christopher Ferris38062f92014-07-09 15:33:25 -0700188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800189 __u32 qkey;
190 struct ib_uverbs_ah_attr ah_attr;
191 __u8 private_data[RDMA_MAX_PRIVATE_DATA];
192 __u8 private_data_len;
Christopher Ferris38062f92014-07-09 15:33:25 -0700193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800194 __u8 reserved[7];
Ben Cheng655a7c02013-10-16 16:09:24 -0700195};
196struct rdma_ucm_connect {
Tao Baod7db5942015-01-28 10:07:51 -0800197 struct rdma_ucm_conn_param conn_param;
Christopher Ferris38062f92014-07-09 15:33:25 -0700198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800199 __u32 id;
200 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -0700201};
202struct rdma_ucm_listen {
Christopher Ferris38062f92014-07-09 15:33:25 -0700203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800204 __u32 id;
205 __u32 backlog;
Ben Cheng655a7c02013-10-16 16:09:24 -0700206};
207struct rdma_ucm_accept {
Christopher Ferris38062f92014-07-09 15:33:25 -0700208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800209 __u64 uid;
210 struct rdma_ucm_conn_param conn_param;
211 __u32 id;
212 __u32 reserved;
Christopher Ferris38062f92014-07-09 15:33:25 -0700213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700214};
Ben Cheng655a7c02013-10-16 16:09:24 -0700215struct rdma_ucm_reject {
Tao Baod7db5942015-01-28 10:07:51 -0800216 __u32 id;
217 __u8 private_data_len;
Christopher Ferris38062f92014-07-09 15:33:25 -0700218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800219 __u8 reserved[3];
220 __u8 private_data[RDMA_MAX_PRIVATE_DATA];
Ben Cheng655a7c02013-10-16 16:09:24 -0700221};
222struct rdma_ucm_disconnect {
Christopher Ferris38062f92014-07-09 15:33:25 -0700223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800224 __u32 id;
Ben Cheng655a7c02013-10-16 16:09:24 -0700225};
226struct rdma_ucm_init_qp_attr {
Tao Baod7db5942015-01-28 10:07:51 -0800227 __u64 response;
Christopher Ferris38062f92014-07-09 15:33:25 -0700228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800229 __u32 id;
230 __u32 qp_state;
Ben Cheng655a7c02013-10-16 16:09:24 -0700231};
232struct rdma_ucm_notify {
Christopher Ferris38062f92014-07-09 15:33:25 -0700233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800234 __u32 id;
235 __u32 event;
Ben Cheng655a7c02013-10-16 16:09:24 -0700236};
Christopher Ferris38062f92014-07-09 15:33:25 -0700237struct rdma_ucm_join_ip_mcast {
Christopher Ferris38062f92014-07-09 15:33:25 -0700238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800239 __u64 response;
240 __u64 uid;
241 struct sockaddr_in6 addr;
242 __u32 id;
Christopher Ferris38062f92014-07-09 15:33:25 -0700243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700244};
Christopher Ferris38062f92014-07-09 15:33:25 -0700245struct rdma_ucm_join_mcast {
Tao Baod7db5942015-01-28 10:07:51 -0800246 __u64 response;
247 __u64 uid;
Christopher Ferris38062f92014-07-09 15:33:25 -0700248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800249 __u32 id;
250 __u16 addr_size;
251 __u16 reserved;
252 struct sockaddr_storage addr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700254};
Ben Cheng655a7c02013-10-16 16:09:24 -0700255struct rdma_ucm_get_event {
Tao Baod7db5942015-01-28 10:07:51 -0800256 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700257};
Christopher Ferris38062f92014-07-09 15:33:25 -0700258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700259struct rdma_ucm_event_resp {
Tao Baod7db5942015-01-28 10:07:51 -0800260 __u64 uid;
261 __u32 id;
262 __u32 event;
Christopher Ferris38062f92014-07-09 15:33:25 -0700263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800264 __u32 status;
265 union {
266 struct rdma_ucm_conn_param conn;
267 struct rdma_ucm_ud_param ud;
Christopher Ferris38062f92014-07-09 15:33:25 -0700268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800269 } param;
Ben Cheng655a7c02013-10-16 16:09:24 -0700270};
271enum {
Tao Baod7db5942015-01-28 10:07:51 -0800272 RDMA_OPTION_ID = 0,
Christopher Ferris38062f92014-07-09 15:33:25 -0700273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800274 RDMA_OPTION_IB = 1
Ben Cheng655a7c02013-10-16 16:09:24 -0700275};
276enum {
Tao Baod7db5942015-01-28 10:07:51 -0800277 RDMA_OPTION_ID_TOS = 0,
Christopher Ferris38062f92014-07-09 15:33:25 -0700278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800279 RDMA_OPTION_ID_REUSEADDR = 1,
280 RDMA_OPTION_ID_AFONLY = 2,
281 RDMA_OPTION_IB_PATH = 1
Ben Cheng655a7c02013-10-16 16:09:24 -0700282};
Christopher Ferris38062f92014-07-09 15:33:25 -0700283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700284struct rdma_ucm_set_option {
Tao Baod7db5942015-01-28 10:07:51 -0800285 __u64 optval;
286 __u32 id;
287 __u32 level;
Christopher Ferris38062f92014-07-09 15:33:25 -0700288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800289 __u32 optname;
290 __u32 optlen;
Ben Cheng655a7c02013-10-16 16:09:24 -0700291};
292struct rdma_ucm_migrate_id {
Christopher Ferris38062f92014-07-09 15:33:25 -0700293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800294 __u64 response;
295 __u32 id;
296 __u32 fd;
Ben Cheng655a7c02013-10-16 16:09:24 -0700297};
Christopher Ferris38062f92014-07-09 15:33:25 -0700298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700299struct rdma_ucm_migrate_resp {
Tao Baod7db5942015-01-28 10:07:51 -0800300 __u32 events_reported;
Ben Cheng655a7c02013-10-16 16:09:24 -0700301};
302#endif
Christopher Ferris653676d2014-09-18 13:14:58 -0700303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */