]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: support no delay options
authorSean Hefty <sean.hefty@intel.com>
Mon, 6 Dec 2010 21:07:41 +0000 (13:07 -0800)
committerSean Hefty <sean.hefty@intel.com>
Wed, 8 Dec 2010 20:40:39 +0000 (12:40 -0800)
commitc5d6ebe851029954ce5a3e64969039bb04c42542
tree6f14211892536dea81822fd014bde92a772ab5d9
parent1d7b8af5414b5560464b4696b2b933c763d2d679
ibacm: support no delay options

Allow a user to specify that address and/or route resolution
protocols should be suppressed, and that only locally cached
data should be returned.

This helps support rdma_getaddrinfo options RAI_NUMERICHOST
and RAI_NOROUTE.  If data for a request is available, it is
immediately returned.  Otherwise, the client request is
failed, but the lookup is still initiated.  This avoids
blocking a client for an extended period of time while
resolution completes, but allows future calls to find cached
data.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
include/infiniband/acm.h
man/ib_acme.1
src/acm.c
src/acme.c
src/libacm.c
src/libacm.h