[openib-general] Bug in ib_mad.c completion handling

Hal Rosenstock halr at voltaire.com
Mon Oct 25 15:23:02 PDT 2004


On Mon, 2004-10-25 at 18:10, Sean Hefty wrote:
> On Mon, 25 Oct 2004 18:07:18 -0400
> Hal Rosenstock <halr at voltaire.com> wrote:
> 
> > On Mon, 2004-10-25 at 17:09, Roland Dreier wrote:
> > > ib_mad_completion_handler switches on wc.opcode, even if wc.status is
> > > not SUCCESS.  This isn't correct, since according to the IB spec,
> > > wc.opcode may not be valid if the completion has an unsuccessful
> > > status.
> > 
> > Can you cite the compliance or chapter/verse on this ?
> 
> See 11.4.2.1 of the 1.1 spec version (poll_cq documentation).

It says "undefined except as noted below" and operation type (as well as
WRID) are noted below.

-- Hal




More information about the general mailing list