On Wed, Oct 13, 2010 at 03:51:10PM +0200, Or Gerlitz wrote: > Eli Cohen wrote: > >Completions with non-zero (error) status and a wr_id / opcode > >combination were received that were never queued by the > >application. > >In case of error the opcode of the completed operation is not provided. I am > >not sure why. > Eli, there's nothing in the IB spec that mandates the WC.opcode of a > non successful work request to be valid, the only WC fields that > must be valid are the work-request ID (cookie) and the status code, > I believe that hardware vendors would also make sure to have the > vendor id valid...
Maybe I am misinterpreting the spec. Looking at volume 1.2.1 of the spec, 11.4.2.1, it says: "If the status of the operation that generates the Work Completion is anything other than success, the contents of the Work Completion are undefined except as noted below. The contents of a Work Completion are:" Then it lists the reported fileds with wrid first and the opcodes following. -- 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
