Sean Hefty [Fri, 17 Sep 2010 21:17:20 +0000 (14:17 -0700)]
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.
Sean Hefty [Thu, 9 Sep 2010 17:41:28 +0000 (10:41 -0700)]
dapl/ibal: wait for qp destroy callback before freeing ep
Make QP destruction 'synchronous' to ensure that no callbacks are
in progress for a QP after dapl has destroyed it. This fixes a
use after free error accessing the dapl ep structure from a qp
callback that results in an application crash.
Sean Hefty [Thu, 9 Sep 2010 17:41:28 +0000 (10:41 -0700)]
dapl/ibal: wait for qp destroy callback before freeing ep
Make QP destruction 'synchronous' to ensure that no callbacks are
in progress for a QP after dapl has destroyed it. This fixes a
use after free error accessing the dapl ep structure from a qp
callback that results in an application crash.
Sean Hefty [Thu, 9 Sep 2010 17:41:28 +0000 (10:41 -0700)]
dapl/ibal: wait for qp destroy callback before freeing ep
Make QP destruction 'synchronous' to ensure that no callbacks are
in progress for a QP after dapl has destroyed it. This fixes a
use after free error accessing the dapl ep structure from a qp
callback that results in an application crash.
Sean Hefty [Thu, 9 Sep 2010 17:41:28 +0000 (10:41 -0700)]
dapl/ibal: wait for qp destroy callback before freeing ep
Make QP destruction 'synchronous' to ensure that no callbacks are
in progress for a QP after dapl has destroyed it. This fixes a
use after free error accessing the dapl ep structure from a qp
callback that results in an application crash.
Sean Hefty [Thu, 9 Sep 2010 16:58:48 +0000 (16:58 +0000)]
winverbs: use export/import function appropriately
Winverbs defines WvGetObject that users must invoke to obtain the winverb provider interface. WvGetObject is defined in the header files as dllexport, but callers require dllimport. The winverbs sources file already defines EXPORT_WV_SYMBOLS that is intended to distinguish if we are really trying to export or import WvGetObject. Update winverbs.h to support dllimport for clients including
winverbs directly.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2905 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
Sean Hefty [Thu, 9 Sep 2010 16:48:44 +0000 (16:48 +0000)]
winmad: check return value of read/writefile
When performing synchronous operation, we need to check the return value of ReadFile/WriteFile before calling GetOverlappedResult. Otherwise GetOverlappedResult can hang.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2904 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
Stan Smith [Wed, 8 Sep 2010 23:14:12 +0000 (23:14 +0000)]
[WIX] install DAPL 32-bit binaries in SysWow64 on 64-bit systems.
Install DAPL UCM (Unreliable Datagram Connection Manager) as part of DAPL runtime package.
Tzachi Dar [Mon, 6 Sep 2010 15:21:18 +0000 (15:21 +0000)]
[IBBUS] fix BSOD during WHQL's "Pnpdtest with concurrent IO in parallel with DevPathExer" (mlnx 5186)
This test runs in parallel 3 tests: pnpdtest, pwrtest and devpathexer.
pwrtest unload/load the driver while pnpdtest send various requests.
BSOD was caused by Device Query Location PnP request to IpoIB PDO, which crashed, because bus_port_mgr has not yet managed acquire HCA.
Sean Hefty [Thu, 2 Sep 2010 18:48:33 +0000 (18:48 +0000)]
winmad: clear overlapped structures
Currently winmad does not support byte offset reads and writes. However, if we ever want to support that feature, than we need to specify an offset of 0 for current operations to avoid backwards compatibility issues.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2893 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86