]> git.openfabrics.org - ~ardavis/dapl.git/commit
common: restructure EVD processing to handle EP destruction phase
authorArlin Davis <arlin.r.davis@intel.com>
Mon, 20 Sep 2010 17:42:41 +0000 (10:42 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Mon, 20 Sep 2010 17:42:41 +0000 (10:42 -0700)
commit6fefe33f9e691d4527a6e077ae1fe71bf138a41c
tree7459bd5a5281802c471bc28bc209a9b0f88e4830
parent9a52436fab39201ccccc76cde10c0fc6f54f5585
common: restructure EVD processing to handle EP destruction phase

EVD processing in the common code will return unformated events
if EP context is invalid as a result of destruction. During
EP destruction, add changes to flush EVD and process DTO completions
before the EP freeing is called. Simplified the locking in the
EVD code to eliminate the unecessary and very confusing condition
checking of evd_producer_locking_needed.

new dapls_ep_flush_cqs() call created to syncronize flush and
event processing.

unnecessary KDAPL code removed in the EVD processing.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
dapl/common/dapl_cno_util.c
dapl/common/dapl_ep_disconnect.c
dapl/common/dapl_ep_free.c
dapl/common/dapl_ep_util.c
dapl/common/dapl_ep_util.h
dapl/common/dapl_evd_util.c
dapl/common/dapl_evd_util.h
dapl/include/dapl.h
dapl/udapl/dapl_evd_set_unwaitable.c
dapl/udapl/dapl_evd_wait.c