]> 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>
Fri, 5 Mar 2010 18:53:35 +0000 (10:53 -0800)
commita1877ca5323c12b03d462e06df0cc77936d85cf6
tree53423a529c18ba6c9ec2e586bfdbb8e7122a80a1
parent300de0bd7f1c968103f5020d38828b4dbc2f57b3
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