On Wed, Mar 09, 2011 at 08:28:31AM +0200, Or Gerlitz wrote:
> On 3/9/2011 6:26 AM, Jason Gunthorpe wrote:
> >Roland: I don't have a PRM to check if this is correct for the chip, but
> >it is definately in line with what the IBA expects to happen here.

> Hi Jason, I've been taught that by IBTA if the completion isn't
> successful then the only valid WC field is the opcode, isn't that
> correct?

Did you mean wr_id not opcode?

I'd say that 11.4.2.1 supports the view that wr_id and status are the
only valid fields. However, the whole error handling architecture that
the WC's fit into is based around the idea that you can go from an
error WC back to the RQ/SQ that caused the error, correct the
situation and resume operation. That requires the opcode indicate at
least SEND vs RECV, and that qp_num be valid.

Frankly, it makes no sense that only wr_id is valid. The wr_id was
taken from a RQ/SQ, so qp_num and opcode must be knowable.

mlx4 HW can do this right now, it looks to me like QIB does it
already, donno about mthca. I'd say even if you have the view that
IBTA says it is not portable, having the information come out is still
very useful.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to