]> 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>
Mon, 4 Oct 2010 18:32:25 +0000 (11:32 -0700)
commit0a94c7ee2fd0d807117d31953f949935320f12da
tree6e1690af48f30c8d7839fc5dbf6e9f6c7bd92ede
parent45f8f810c9eece2c436fcf0409f8b253b3fcc7e5
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>