[Openib-windows] RE: Errors handeling on Winsock direct
Fab Tillier
ftillier at silverstorm.com
Thu Oct 27 17:06:59 PDT 2005
> From: Dror Goldenberg [mailto:gdror at mellanox.co.il]
> Sent: Thursday, October 27, 2005 3:50 PM
>
> > From: Fab Tillier [mailto:ftillier at silverstorm.com]
> >
> > > As a meter of fact the problem is harder, since the function
> > > ib_cq_comp doesn't have a way to return an error. Please note
> > > that returning 0 is not enough because 0 is a legal option if
> > > nothing was found. As a result, there is a need to change all
> > > the callers of this function, so that the error will be
> > > propagated to there caller.
> >
> > What will the callers do with the propagated value? Would all
> > cases of errors on the CQ be accompanied by async affiliated
> > error notification for that CQ? What about for the QP?
>
> Not sure I understand the question, but in general there are
> problems that are:
> - reported to the CQ (without async error), those are errors
> that have a WQE affiliated with them
These will result in a work completion being retrieved by ib_poll_cq and are
handled.
> - reported as async errors, no CQE generated because there is no WQE
> affiliated with them
Async CQ errors aren't currently handled, but should be. Handling these is
going to be somewhat complicated, but certainly not impossible, due to the one
to many CQ to QP relationship.
> - reported as async errors because CQ overflows
CQ overflow cannot happen due to the design of the provider.
- Fab
More information about the ofw
mailing list