]> git.openfabrics.org - ~ardavis/dapl.git/commit
common: add CM-EP linking to support mutiple CM's and proper protection during destru...
authorArlin Davis <arlin.r.davis@intel.com>
Wed, 24 Feb 2010 18:03:57 +0000 (10:03 -0800)
committerArlin Davis <arlin.r.davis@intel.com>
Wed, 24 Feb 2010 18:03:57 +0000 (10:03 -0800)
commit7ff4f840bf1150fa2c2f541c93d810622ea9733b
tree22ab12c0903e58abe49807f72fe7e291e2712d14
parentc9fbd6e7a8131d4077039d5da716b618727d4009
common: add CM-EP linking to support mutiple CM's and proper protection during destruction

Add linking for CM to EP, including reference counting, to insure syncronization
during creation and destruction. A cm_list_head has been added to the EP object to
support multiple CM objects (UD) per EP. If the CM object is linked to an EP it
cannot be destroyed.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
15 files changed:
dapl/common/dapl_cr_callback.c
dapl/common/dapl_ep_free.c
dapl/common/dapl_ep_util.c
dapl/common/dapl_ep_util.h
dapl/common/dapl_evd_connection_callb.c
dapl/common/dapl_evd_util.c
dapl/include/dapl.h
dapl/openib_cma/cm.c
dapl/openib_cma/dapl_ib_util.h
dapl/openib_common/dapl_ib_common.h
dapl/openib_common/qp.c
dapl/openib_scm/cm.c
dapl/openib_scm/dapl_ib_util.h
dapl/openib_ucm/cm.c
dapl/openib_ucm/dapl_ib_util.h