]> 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:24:40 +0000 (17:24 -0800)
commita1f7a8e10f4072b483c67571f2f08108babd1a57
treee7cce3c83c48436a231c8ed19afff31b41ba8e9a
parent07e99cfc4b3c927361925d099215dd15d008f5c5
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