]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: Allocate address handles dynamically when needed
authorSean Hefty <sean.hefty@intel.com>
Fri, 1 Apr 2011 23:03:40 +0000 (16:03 -0700)
committerSean Hefty <sean.hefty@intel.com>
Sat, 2 Apr 2011 00:52:24 +0000 (17:52 -0700)
commit5fbe7e58a578d4a4e353e3477aa9051013c3eb4c
treee8b5bb1cf92f403d8767fc1d61cb8c538da64fe3
parent1058fcd62957c0ba92ef1965ae6dc8b2aa8f1ec4
ibacm: Allocate address handles dynamically when needed

ibacm allocates an address handle for every remote destination
that it tracks.  However, under normal operation, the handle
is used infrequently - typically only once by the target
service to send a response and not at all on the initiator
service.  Avoid the overhead of having 1 address handle per
destination by allocating them dynamically only when they are needed.

The exceptions to this are the address handles allocated to
communicate with the SA and the primary multicast group.

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