[openib-general] ib_mad shutdown WC status code ?
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)
> - Sean
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the general