]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
winverbs: allow WV:Disconnect() to be retried
authorSean Hefty <sean.hefty@intel.com>
Tue, 9 Mar 2010 01:53:21 +0000 (17:53 -0800)
committerSean Hefty <sean.hefty@intel.com>
Tue, 9 Mar 2010 01:53:21 +0000 (17:53 -0800)
ND for some odd reason wants a successful return code for
a failed disconnect call.  If a Disconnect() call fails,
allow it to be retried.  Return STATUS_TIMEOUT - a 'successful'
failure, rather than STATUS_IO_TIMEOUT, which is a 'failed' failure.
(I love Windows, really, I do.)  A subsequent call to EP:
Disconnect() after a timeout will force the QP into the error
state and force the EP into the disconnected state.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>

No differences found