[openib-general] ib_mad shutdown WC status code ?
Dror Goldenberg
gdror at mellanox.co.il
Sun Sep 26 11:17:08 PDT 2004
> -----Original Message-----
> From: Sean Hefty [mailto:mshefty at ichips.intel.com]
> Sent: Friday, September 24, 2004 6:41 PM
> I think that flushed makes sense. With queuing in the access
> layer, we should be able to stop and restart the QP in most
> error cases without affecting the user. If the link goes
> down, flushing the requests seems reasonable. What other
> cases would cause the MAD layer to shut down?
>
If link goes down, UD QP will go on "sending" the packets as
if link was up all the time. You wouldn't get flushed WQEs in this
case for a UD QP.
In general, for UD QPs, you'll get flushed WQEs when the QP
moves to the error state and that seldom happens. The exact
scenarios for this to happen (hopefully I don't miss anything):
- s/g element points at a wrong address/protection error
- HCA can't fetch a WQE (e.g. bus error)
-Dror
> - Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20040926/c5658f21/attachment.html>
More information about the general
mailing list