blob: d1422612f59fd88bb83a294c3076b3dc9f5404f7 [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 {
31 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 */
Christopher Ferris653676d2014-09-18 13:14:58 -070034 RDMA_USER_CM_CMD_BIND_IP,
Christopher Ferris38062f92014-07-09 15:33:25 -070035 RDMA_USER_CM_CMD_RESOLVE_IP,
Ben Cheng655a7c02013-10-16 16:09:24 -070036 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 */
Christopher Ferris653676d2014-09-18 13:14:58 -070039 RDMA_USER_CM_CMD_CONNECT,
Ben Cheng655a7c02013-10-16 16:09:24 -070040 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 */
Christopher Ferris653676d2014-09-18 13:14:58 -070044 RDMA_USER_CM_CMD_DISCONNECT,
Ben Cheng655a7c02013-10-16 16:09:24 -070045 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 */
Christopher Ferris653676d2014-09-18 13:14:58 -070049 RDMA_USER_CM_CMD_SET_OPTION,
Ben Cheng655a7c02013-10-16 16:09:24 -070050 RDMA_USER_CM_CMD_NOTIFY,
Christopher Ferris38062f92014-07-09 15:33:25 -070051 RDMA_USER_CM_CMD_JOIN_IP_MCAST,
Ben Cheng655a7c02013-10-16 16:09:24 -070052 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 */
Christopher Ferris653676d2014-09-18 13:14:58 -070054 RDMA_USER_CM_CMD_MIGRATE_ID,
Christopher Ferris38062f92014-07-09 15:33:25 -070055 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 */
Christopher Ferris653676d2014-09-18 13:14:58 -070059 RDMA_USER_CM_CMD_JOIN_MCAST
Ben Cheng655a7c02013-10-16 16:09:24 -070060};
61struct rdma_ucm_cmd_hdr {
62 __u32 cmd;
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -070064 __u16 in;
Ben Cheng655a7c02013-10-16 16:09:24 -070065 __u16 out;
66};
67struct rdma_ucm_create_id {
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -070069 __u64 uid;
Ben Cheng655a7c02013-10-16 16:09:24 -070070 __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 */
Christopher Ferris653676d2014-09-18 13:14:58 -070074 __u8 reserved[5];
Ben Cheng655a7c02013-10-16 16:09:24 -070075};
76struct rdma_ucm_create_id_resp {
77 __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 {
81 __u64 response;
82 __u32 id;
Ben Cheng655a7c02013-10-16 16:09:24 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -070084 __u32 reserved;
Ben Cheng655a7c02013-10-16 16:09:24 -070085};
86struct rdma_ucm_destroy_id_resp {
87 __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 {
Ben Cheng655a7c02013-10-16 16:09:24 -070091 __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 */
Christopher Ferris653676d2014-09-18 13:14:58 -070094 __u32 id;
Ben Cheng655a7c02013-10-16 16:09:24 -070095};
Christopher Ferris38062f92014-07-09 15:33:25 -070096struct rdma_ucm_bind {
97 __u32 id;
Christopher Ferris38062f92014-07-09 15:33:25 -070098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -070099 __u16 addr_size;
Christopher Ferris38062f92014-07-09 15:33:25 -0700100 __u16 reserved;
101 struct sockaddr_storage addr;
102};
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 {
Ben Cheng655a7c02013-10-16 16:09:24 -0700105 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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700109 __u32 timeout_ms;
Christopher Ferris38062f92014-07-09 15:33:25 -0700110};
111struct rdma_ucm_resolve_addr {
112 __u32 id;
Christopher Ferris38062f92014-07-09 15:33:25 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700114 __u32 timeout_ms;
Christopher Ferris38062f92014-07-09 15:33:25 -0700115 __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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700119 struct sockaddr_storage src_addr;
Christopher Ferris38062f92014-07-09 15:33:25 -0700120 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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700124 __u32 id;
Ben Cheng655a7c02013-10-16 16:09:24 -0700125 __u32 timeout_ms;
126};
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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700129 RDMA_USER_CM_QUERY_ADDR,
Christopher Ferris38062f92014-07-09 15:33:25 -0700130 RDMA_USER_CM_QUERY_PATH,
131 RDMA_USER_CM_QUERY_GID
132};
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 {
Ben Cheng655a7c02013-10-16 16:09:24 -0700135 __u64 response;
136 __u32 id;
Christopher Ferris38062f92014-07-09 15:33:25 -0700137 __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 {
141 __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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700144 struct sockaddr_in6 src_addr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700145 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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700149 __u8 reserved[3];
Ben Cheng655a7c02013-10-16 16:09:24 -0700150};
Christopher Ferris38062f92014-07-09 15:33:25 -0700151struct rdma_ucm_query_addr_resp {
152 __u64 node_guid;
Christopher Ferris38062f92014-07-09 15:33:25 -0700153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700154 __u8 port_num;
Christopher Ferris38062f92014-07-09 15:33:25 -0700155 __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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700159 __u16 dst_size;
Christopher Ferris38062f92014-07-09 15:33:25 -0700160 struct sockaddr_storage src_addr;
161 struct sockaddr_storage dst_addr;
162};
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 {
Christopher Ferris38062f92014-07-09 15:33:25 -0700165 __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 {
171 __u32 qp_num;
Christopher Ferris38062f92014-07-09 15:33:25 -0700172 __u32 qkey;
Christopher Ferris38062f92014-07-09 15:33:25 -0700173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700174 __u8 private_data[RDMA_MAX_PRIVATE_DATA];
Ben Cheng655a7c02013-10-16 16:09:24 -0700175 __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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700179 __u8 initiator_depth;
Ben Cheng655a7c02013-10-16 16:09:24 -0700180 __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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700184 __u8 valid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700185};
186struct rdma_ucm_ud_param {
187 __u32 qp_num;
Christopher Ferris38062f92014-07-09 15:33:25 -0700188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700189 __u32 qkey;
Ben Cheng655a7c02013-10-16 16:09:24 -0700190 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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700194 __u8 reserved[7];
Ben Cheng655a7c02013-10-16 16:09:24 -0700195};
196struct rdma_ucm_connect {
197 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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700199 __u32 id;
Ben Cheng655a7c02013-10-16 16:09:24 -0700200 __u32 reserved;
201};
202struct rdma_ucm_listen {
Christopher Ferris38062f92014-07-09 15:33:25 -0700203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700204 __u32 id;
Ben Cheng655a7c02013-10-16 16:09:24 -0700205 __u32 backlog;
206};
207struct rdma_ucm_accept {
Christopher Ferris38062f92014-07-09 15:33:25 -0700208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700209 __u64 uid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700210 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 {
216 __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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700219 __u8 reserved[3];
Ben Cheng655a7c02013-10-16 16:09:24 -0700220 __u8 private_data[RDMA_MAX_PRIVATE_DATA];
221};
222struct rdma_ucm_disconnect {
Christopher Ferris38062f92014-07-09 15:33:25 -0700223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700224 __u32 id;
Ben Cheng655a7c02013-10-16 16:09:24 -0700225};
226struct rdma_ucm_init_qp_attr {
227 __u64 response;
Christopher Ferris38062f92014-07-09 15:33:25 -0700228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700229 __u32 id;
Ben Cheng655a7c02013-10-16 16:09:24 -0700230 __u32 qp_state;
231};
232struct rdma_ucm_notify {
Christopher Ferris38062f92014-07-09 15:33:25 -0700233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700234 __u32 id;
Ben Cheng655a7c02013-10-16 16:09:24 -0700235 __u32 event;
236};
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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700239 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700240 __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 {
246 __u64 response;
247 __u64 uid;
Christopher Ferris38062f92014-07-09 15:33:25 -0700248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700249 __u32 id;
Christopher Ferris38062f92014-07-09 15:33:25 -0700250 __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 {
256 __u64 response;
257};
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 {
Ben Cheng655a7c02013-10-16 16:09:24 -0700260 __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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700264 __u32 status;
Ben Cheng655a7c02013-10-16 16:09:24 -0700265 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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700269 } param;
Ben Cheng655a7c02013-10-16 16:09:24 -0700270};
271enum {
272 RDMA_OPTION_ID = 0,
Christopher Ferris38062f92014-07-09 15:33:25 -0700273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700274 RDMA_OPTION_IB = 1
Ben Cheng655a7c02013-10-16 16:09:24 -0700275};
276enum {
277 RDMA_OPTION_ID_TOS = 0,
Christopher Ferris38062f92014-07-09 15:33:25 -0700278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700279 RDMA_OPTION_ID_REUSEADDR = 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700280 RDMA_OPTION_ID_AFONLY = 2,
281 RDMA_OPTION_IB_PATH = 1
282};
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 {
Ben Cheng655a7c02013-10-16 16:09:24 -0700285 __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 */
Christopher Ferris653676d2014-09-18 13:14:58 -0700289 __u32 optname;
Ben Cheng655a7c02013-10-16 16:09:24 -0700290 __u32 optlen;
291};
292struct rdma_ucm_migrate_id {
Christopher Ferris38062f92014-07-09 15:33:25 -0700293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris653676d2014-09-18 13:14:58 -0700294 __u64 response;
Ben Cheng655a7c02013-10-16 16:09:24 -0700295 __u32 id;
296 __u32 fd;
297};
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 {
Ben Cheng655a7c02013-10-16 16:09:24 -0700300 __u32 events_reported;
301};
302#endif
Christopher Ferris653676d2014-09-18 13:14:58 -0700303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */