]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: Convert acm_addr_index call to return address
authorSean Hefty <sean.hefty@intel.com>
Sat, 22 Mar 2014 07:07:40 +0000 (00:07 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 16 Apr 2014 06:33:20 +0000 (23:33 -0700)
commit0672403c17beb576e7592e962494f373adcbce62
tree94cb94b1acde7fcf896c033f3a334503973bc2ca
parentb3872d7e653d93869a646ad2462b83b5dcda0968
ibacm: Convert acm_addr_index call to return address

Rename acm_addr_index to acm_addr_lookup and have it
return the acm_address that matches the source address,
rather than the index that the address is located.
The index is an internal limitation of the acm core
and the acm_address is usable by the providers.

Change acm_addr_lookup to take the endpoint as input
in place of the provider ep.  acm_addr_lookup is
intended to be exported by the acm core.

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