Sean Hefty [Tue, 27 Jul 2010 22:23:27 +0000 (22:23 +0000)]
nd2: add SRQ support for 32-bit library
The SRQ receive code assumes that ND_SGE can map
to a WV_SGE. This is only true for 64-bit platforms.
A 32-bit library must convert ND_SGE to WV_SGE. The
ND_SGE size varies based on the build; WV_SGE is a fixed
size for all platforms.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2857 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
Sean Hefty [Tue, 27 Jul 2010 22:18:29 +0000 (22:18 +0000)]
nd2: set file completion notification mode
Add an Init() call to the NDProvider in order to report
failure during initialization. Set the winverbs file handle
completion notification mode according to the latest ND spec.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2853 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
Sean Hefty [Tue, 27 Jul 2010 22:10:02 +0000 (22:10 +0000)]
nd2: update provider APIs to match latest spec
This updates the implementation to match the latest ndspi.h header file. Changes include:
- Functions that return an interface take a REFIID as input and return VOID** rather than IND**
- Functions that take an interface as input use IUnknown* rather than IND*
- SGE became Sge
- A few acronyms are now spelled out.
- A couple new functions were defined, and parameters added in a couple places.
No significant functionality is added.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2850 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
Sean Hefty [Tue, 27 Jul 2010 00:30:12 +0000 (17:30 -0700)]
nd: add SRQ support for 32-bit library
The SRQ receive code assumes that ND_SGE can map
to a WV_SGE. This is only true for 64-bit platforms.
A 32-bit library must convert ND_SGE to WV_SGE. The
ND_SGE size varies based on the build; WV_SGE is a fixed
size for all platforms.
Sean Hefty [Tue, 27 Jul 2010 00:30:12 +0000 (17:30 -0700)]
nd: add SRQ support for 32-bit library
The SRQ receive code assumes that ND_SGE can map
to a WV_SGE. This is only true for 64-bit platforms.
A 32-bit library must convert ND_SGE to WV_SGE. The
ND_SGE size varies based on the build; WV_SGE is a fixed
size for all platforms.
Sean Hefty [Tue, 27 Jul 2010 00:30:12 +0000 (17:30 -0700)]
nd: add SRQ support for 32-bit library
The SRQ receive code assumes that ND_SGE can map
to a WV_SGE. This is only true for 64-bit platforms.
A 32-bit library must convert ND_SGE to WV_SGE. The
ND_SGE size varies based on the build; WV_SGE is a fixed
size for all platforms.
Sean Hefty [Mon, 26 Jul 2010 23:51:57 +0000 (16:51 -0700)]
nd: update MR/MW APIs to match latest spec
This includes deriving MR from NDOverlapped and supporting
CancelOverlappedRequests(). We need to track overlapped
registration requests and cancel them independently from
the winverbs protection domain.
Sean Hefty [Mon, 26 Jul 2010 23:51:57 +0000 (16:51 -0700)]
nd: update MR/MW APIs to match latest spec
This includes deriving MR from NDOverlapped and supporting
CancelOverlappedRequests(). We need to track overlapped
registration requests and cancel them independently from
the winverbs protection domain.
Sean Hefty [Mon, 26 Jul 2010 22:12:11 +0000 (15:12 -0700)]
nd2/provider: set file completion notification mode
Add an Init() call to the NDProvider in order to report
failure during initialization. Set the winverbs file handle
completion notification mode according to the latest ND spec.
Sean Hefty [Mon, 26 Jul 2010 22:12:11 +0000 (15:12 -0700)]
nd2/provider: set file completion notification mode
Add an Init() call to the NDProvider in order to report
failure during initialization. Set the winverbs file handle
completion notification mode according to the latest ND spec.