summaryrefslogtreecommitdiff
path: root/include/uapi/rdma/rdma_user_cm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/rdma/rdma_user_cm.h')
-rw-r--r--include/uapi/rdma/rdma_user_cm.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/uapi/rdma/rdma_user_cm.h b/include/uapi/rdma/rdma_user_cm.h
index 3ea7e7a4d54b..07eb6cfa926c 100644
--- a/include/uapi/rdma/rdma_user_cm.h
+++ b/include/uapi/rdma/rdma_user_cm.h
@@ -115,7 +115,8 @@ struct rdma_ucm_resolve_route {
};
enum {
- RDMA_USER_CM_QUERY_ADDR
+ RDMA_USER_CM_QUERY_ADDR,
+ RDMA_USER_CM_QUERY_PATH
};
struct rdma_ucm_query {
@@ -145,6 +146,12 @@ struct rdma_ucm_query_addr_resp {
struct sockaddr_storage dst_addr;
};
+struct rdma_ucm_query_path_resp {
+ __u32 num_paths;
+ __u32 reserved;
+ struct ib_path_rec_data path_data[0];
+};
+
struct rdma_ucm_conn_param {
__u32 qp_num;
__u32 qkey;