summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSean Hefty <sean.hefty@intel.com>2013-05-29 10:09:29 -0700
committerRoland Dreier <roland@purestorage.com>2013-06-20 23:35:42 -0700
commitedaa7a5578988bcf12f68f14fb002bc0c87e2801 (patch)
tree550e6654cc78dfc32ce18f44d9ffbdb1060a3ace /include
parentcf53936f229d81131fef475919f163ce566a205f (diff)
downloadlinux-0-day-edaa7a5578988bcf12f68f14fb002bc0c87e2801.tar.gz
linux-0-day-edaa7a5578988bcf12f68f14fb002bc0c87e2801.tar.xz
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 07eb6cfa926c2..ea79253ceb135 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 {