]> git.openfabrics.org - ~ardavis/dapl.git/commit
openib: add IB UD cm_free/ah_free extension support in UCM provider
authorArlin Davis <arlin.r.davis@intel.com>
Thu, 25 Sep 2014 23:06:33 +0000 (16:06 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Thu, 25 Sep 2014 23:06:33 +0000 (16:06 -0700)
commit110425e3a7a59e3c108a1e59819eaa006be995ca
tree26fe648165e7962c85e59804957e621d2dd07a65
parent4eec39c98e8484cdd423a4eae8ae3e5771674099
openib: add IB UD cm_free/ah_free extension support in UCM provider

Make changes to UCM provider for new CM and AH destroy extensions.
Allow consumer to schedule CM object destroy after CM connection
event has been processed. Active side will put CM object in
TIMEWAIT in case RTU is dropped, passive side can schedule
CM object destroy immediatly when called. In the case where
consumer requests CM object destroy, the provider will remove
all internal references to AH since consumer will call AH
destroy directly when finished with UD sends.

All other providers, MCM, CMA, SCM will return UNSUPPORTED
if new extensions are called.

See dtestx source for code examples of new extensions.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/openib_cma/cm.c
dapl/openib_cma/dapl_ib_util.h
dapl/openib_mcm/cm.c
dapl/openib_mcm/dapl_ib_util.h
dapl/openib_scm/cm.c
dapl/openib_scm/dapl_ib_util.h
dapl/openib_ucm/cm.c
dapl/openib_ucm/dapl_ib_util.h