]> git.openfabrics.org - ~shefty/librdmacm.git/commit
librdmacm: Support using GIDs with rdma_getaddrinfo
authorSean Hefty <sean.hefty@intel.com>
Tue, 28 Aug 2012 19:33:04 +0000 (12:33 -0700)
committerSean Hefty <sean.hefty@intel.com>
Fri, 7 Sep 2012 17:31:16 +0000 (10:31 -0700)
commit7ada839ae4e288fadf40ffa49b6b6fb0e1a6bf78
treeaff44b871980ab9e18c7d2c9b90bc34b060bb30d
parent3524c878f537ef2c57f973fad54b1204c299026d
librdmacm: Support using GIDs with rdma_getaddrinfo

Allow the user to specify a GID as the node parameter into
rdma_getaddrinfo.

To distinguish between the node being an IPv6 address or a GID,
we add a new flag, RAI_FAMILY, which can be set as part of the
hints to rdma_getaddrinfo.  When set, this flag indicates that the
value of ai_family in the hints should be used when interpretting
the node parameter.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
include/rdma/rdma_cma.h
man/rdma_getaddrinfo.3
src/acm.c
src/addrinfo.c
src/cma.c
src/cma.h