]> git.openfabrics.org - ~shefty/librdmacm.git/commit
librdmacm: use sockaddr_ib addressing if IB ACM is in use
authorSean Hefty <sean.hefty@intel.com>
Thu, 6 May 2010 22:49:55 +0000 (15:49 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 6 May 2010 22:49:55 +0000 (15:49 -0700)
commit20d8c11bcf21ff2de365518635b68908fc11e8eb
treea133649be617552f952122d312d63de7b48c4c9b
parent614ec5127cae36e2faf7ed06c23ba487d06e0ccd
librdmacm: use sockaddr_ib addressing if IB ACM is in use

If IB ACM route resolution succeeds, provide the user with
AF_IB addresses, rather than AF_INET or AF_INET6 addressing.
AF_IB identifies the local and remote devices directly,
eliminating the need to perform address resolution a second
time via rdma_resolve_addr.

AF_IB addresses are returned using sockaddr_ib as part of
rdma_getaddrinfo.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/acm.c
src/cma.h