[openib-general] ib_mad shutdown WC status code ?
Sean Hefty
mshefty at ichips.intel.com
Fri Sep 24 09:40:32 PDT 2004
On Fri, 24 Sep 2004 08:23:50 -0700
"Fab Tillier" <ftillier at infiniconsys.com> wrote:
> > From: Hal Rosenstock [mailto:halr at voltaire.com]
> > Sent: Friday, September 24, 2004 8:16 AM
> >
> > Should there be a separate WC status code to be returned when the ib_mad
> > layer is shutdown and there are MADs queued on the send queue ? We added
> > IB_WC_RESP_TIMEOUT_ERR. Should there be an IB_WC_SHUTDOWN added too ? Or
> > is there some other status code to use for this scenario ?
> >
>
> I would use IB_WC_WR_FLUSHED_ERR to indicate that a WR got flushed without
> having been sent. This is consistent with how WRs get flushed on QPs.
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?
- Sean
More information about the general
mailing list