]> git.openfabrics.org - ~shefty/rdma-win.git/commit
dapl/ibal: delay QP transition until user disconnects
authorSean Hefty <sean.hefty@intel.com>
Fri, 17 Sep 2010 21:17:20 +0000 (14:17 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 21 Sep 2010 16:22:31 +0000 (09:22 -0700)
commit418e23caf57561d7601153d84ca615e443e5a253
tree640f7d75ebc627f65f8cb62fc80cfb06b9de82e9
parent83299e9a772068a302a4d39ff4e7ba45d4bd26b5
dapl/ibal: delay QP transition until user disconnects

The ibal provider calls ib_cm_drep in response to receiving
a dreq.  The result is that the user's QP is transitioned
through the error state, which fails any outstanding send
operations and flushes all receives.  The disconnect request
is then reported to the user.

Since a user can receive errors from the QP before they are
aware of a pending disconnect request, the application may
respond to the errors as, well, actual errors.  Fix this by
delaying the QP transition until the user responds to the
dreq.

This fixes an error with Intel MPI running over the ibal
dapl provider with a 'spawn' test.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
trunk/ulp/dapl2/dapl/ibal/dapl_ibal_cm.c
trunk/ulp/dapl2/dapl/ibal/dapl_ibal_util.h
trunk/ulp/dapl2/dapl/include/dapl.h