Title: RE: [openib-general] ib_mad shutdown WC status code ?


> -----Original Message-----
> From: Sean Hefty [mailto:[EMAIL PROTECTED]]
> 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

_______________________________________________
openib-general mailing list
[EMAIL PROTECTED]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to