]> 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:27:46 +0000 (10:27 -0700)
commit3346f04fb2cdbd6d05ab848d9ea6ad67d511157e
treeaff44b871980ab9e18c7d2c9b90bc34b060bb30d
parent145e9c03553f4d2a6f4b6217435fb22147f8e57e
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