[ofw] [WOF2-2] [PATCH v2 4/4] winverbs: allow WV:Disconnect() to be retried
Tzachi Dar
tzachid at mellanox.co.il
Wed Mar 10 00:04:10 PST 2010
> ND for some odd reason wants a successful return code for a
> failed disconnect call. If a Disconnect() call fails, allow
> it to be retried. Return STATUS_TIMEOUT - a 'successful'
> failure, rather than STATUS_IO_TIMEOUT, which is a 'failed' failure.
> (I love Windows, really, I do.) A subsequent call to EP:
> Disconnect() after a timeout will force the QP into the error
> state and force the EP into the disconnected state.
In my experience all the ioctls should be returned as SUCCESS (or pending). In the returned buffer have a variable that is the real status. This will allow you to pass data from the kernel to the user without having to deal with windows way of reporting errors ...
Thanks
Tzachi
More information about the ofw
mailing list