]> git.openfabrics.org - ~shefty/rdma-win.git/commit
winverbs/nd: do not convert wv_io_timeout to nd_timeout
authorSean Hefty <sean.hefty@intel.com>
Fri, 5 Mar 2010 18:53:35 +0000 (10:53 -0800)
committerSean Hefty <sean.hefty@intel.com>
Tue, 9 Mar 2010 01:13:46 +0000 (17:13 -0800)
commitc46bba1afc58d0b565fe65b8026bb430de7e32e0
tree02d09035a9cf925bf13136853435afd7360e1dfb
parente3b1b0d8bbbdd49922b557125c782d13e13b1404
winverbs/nd: do not convert wv_io_timeout to nd_timeout

wv_io_timeout is an error value, but nd_timeout is a
success value.  This means that an overlapped request
can be completed in error, but GetOverlappedResult can
return a success value.  Instead, if a timeout is fatal,
report the status as wv_io_timeout, but if the timeout
can be retried, then report the status as wv_timeout.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
trunk/ulp/netdirect/user/nd_base.cpp