]> 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)
commit78fd4e73b99a5477ca57ef2ed033c91cd897ea63
tree6f35cb9cf89fce2670f21a9bcb36f37ebc15063a
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>
trunk/ulp/dapl2/dapl/ibal/dapl_ibal_cm.c
trunk/ulp/dapl2/dapl/include/dapl.h