summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSean Hefty <sean.hefty@intel.com>2013-05-29 19:09:29 +0200
committerRoland Dreier <roland@purestorage.com>2013-06-21 08:35:42 +0200
commitedaa7a5578988bcf12f68f14fb002bc0c87e2801 (patch)
tree550e6654cc78dfc32ce18f44d9ffbdb1060a3ace /include
parentRDMA/cma: Export cma_get_service_id() (diff)
downloadlinux-edaa7a5578988bcf12f68f14fb002bc0c87e2801.tar.xz
linux-edaa7a5578988bcf12f68f14fb002bc0c87e2801.zip
RDMA/ucma: Add ability to query GID addresses
Part of address resolution is mapping IP addresses to IB GIDs. With the changes to support querying larger addresses and more path records, also provide a way to query IB GIDs after resolution completes. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/rdma/rdma_user_cm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/rdma/rdma_user_cm.h b/include/uapi/rdma/rdma_user_cm.h
index 07eb6cfa926c..ea79253ceb13 100644
--- a/include/uapi/rdma/rdma_user_cm.h
+++ b/include/uapi/rdma/rdma_user_cm.h
@@ -116,7 +116,8 @@ struct rdma_ucm_resolve_route {
enum {
RDMA_USER_CM_QUERY_ADDR,
- RDMA_USER_CM_QUERY_PATH
+ RDMA_USER_CM_QUERY_PATH,
+ RDMA_USER_CM_QUERY_GID
};
struct rdma_ucm_query {