]> git.openfabrics.org - ~shefty/librdmacm.git/commit
librdmacm: Support RAI_NUMERICHOST and no delay options
authorSean Hefty <sean.hefty@intel.com>
Mon, 6 Dec 2010 21:17:03 +0000 (13:17 -0800)
committerSean Hefty <sean.hefty@intel.com>
Thu, 9 Dec 2010 01:25:10 +0000 (17:25 -0800)
commit169310cf4503cc7a0644fb10cf8090a067ae8662
treeeee790fcdcca566d1f8a3919e3688bf6d285b2e0
parenta692e420a689008f61eefb62991318f8aadb3705
librdmacm: Support RAI_NUMERICHOST and no delay options

Add support similar to getaddrinfo AI_NUMERICHOST.  This
indicates that lengthy address resolution protocols should
not be used.  Also allow a caller of rdma_getaddrinfo to
indicate that lengthy route resolution protocols should not
be used.

Since rdma_getaddrinfo is a synchronous call, this allows a
user to obtain locally available data only without long
delays that may block an application thread.  Callers can then
use the asynchronous librdmacm calls to complete any missing
information.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
include/rdma/rdma_cma.h [changed mode: 0644->0755]
man/rdma_getaddrinfo.3 [changed mode: 0644->0755]
src/acm.c
src/addrinfo.c