]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[IBAL] Fix UAL_NDI_NOOP handling
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 12 Aug 2008 08:23:29 +0000 (08:23 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 12 Aug 2008 08:23:29 +0000 (08:23 +0000)
commitc80a4ce445d46a56aa74920346601445a19bda23
tree3ce8ae9fad087a79158900cc23a61aa4b0d93c27
parentf229da0c1217c24567f3b850fa2c68c7ff69cb89
[IBAL] Fix UAL_NDI_NOOP handling

The NOOP IOCTL allows the ND provider to complete requests asynchronously when a synchronous operation completes in user-land.  This is used for memory registration and deregistration, as well as for connection establishment when ARP resolution is in progress (IBAT returns E_PENDING) in the NetworkDirect provider.  In the latter case, the expectation is that the IOCTL will complete asynchronously with STATUS_TIMEOUT.  However the code processes the IOCTL synchronously, so the IOCTL fails with an immediate error rather than an asynchronous error.

This patch completes the IRP so that it's completion will be reported asynchronously.

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1479 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/core/al/kernel/al_proxy_ndi.c