Lines Matching defs:cqe
50 struct siw_cqe *cqe;
55 cqe = &cq->queue[cq->cq_get % cq->num_cqe];
56 if (READ_ONCE(cqe->flags) & SIW_WQE_VALID) {
58 wc->wr_id = cqe->id;
59 wc->byte_len = cqe->bytes;
67 if (cqe->flags & SIW_WQE_REM_INVAL) {
68 wc->ex.invalidate_rkey = cqe->inval_stag;
71 wc->qp = cqe->base_qp;
72 wc->opcode = map_wc_opcode[cqe->opcode];
73 wc->status = map_cqe_status[cqe->status].ib;
76 cq->cq_get % cq->num_cqe, cqe->opcode,
77 cqe->flags, (void *)(uintptr_t)cqe->id);
86 u8 opcode = cqe->opcode;
87 u16 status = cqe->status;
99 WRITE_ONCE(cqe->flags, 0);