]> 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>
Fri, 17 Sep 2010 21:17:20 +0000 (14:17 -0700)
commit6c93b00684a49b6100466e270e63398d7c69ce3f
treea29a4793e7a5376c6cc2d9879e70b4ba09e1f492
parentb88d4dfeaedcc085e5e588cf7aa1b0a2ae58316f
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>