]> git.openfabrics.org - ~ardavis/dapl.git/commit
ucm: add timer/retry CM logic to the ucm provider
authorArlin Davis <arlin.r.davis@intel.com>
Thu, 8 Oct 2009 23:02:52 +0000 (16:02 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Thu, 8 Oct 2009 23:02:52 +0000 (16:02 -0700)
commitd80ce42390eb57b9c4f816b4df063f90bd5699bc
tree3bdca61370a60248f9fbd7048091de1f683acddf
parent1186bfc949f4bb7278c30c2c59b7fcb6d5142638
ucm: add timer/retry CM logic to the ucm provider

add reply, rtu and retry count options via
environment variables. Times in msecs.
DAPL_UCM_RETRY 10
DAPL_UCM_REP_TIME 400
DAPL_UCM_RTU_TIME 200

Add RTU_PENDING and DISC_RECV states

Add check timer code to the cm_thread
and the option to the select abstaction
to take timeout values in msecs.
DREQ, REQ, and REPLY will all be timed
and retried.

Split out reply code and disconnect_final
code to better facilitate retry timers.
Add checking for duplicate messages.

Added new UD extension events for errors.
DAT_IB_UD_CONNECTION_REJECT_EVENT
DAT_IB_UD_CONNECTION_ERROR_EVENT

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/common/dapl_debug.c
dapl/openib_common/dapl_ib_common.h
dapl/openib_ucm/cm.c
dapl/openib_ucm/dapl_ib_util.h
dapl/openib_ucm/device.c
dat/include/dat2/dat_ib_extensions.h