Lines Matching defs:cqe
83 cq->ibcq.cqe, &head);
105 int entries = attr->cqe;
132 cq->ibcq.cqe = entries;
186 cmd->cqe = entries;
195 cq->ibcq.cqe = resp->cqe;
288 cq->ibcq.cqe, &head);
293 cq->ibcq.cqe);
294 struct pvrdma_cqe *cqe;
298 (cq->ibcq.cqe - head + tail);
302 curr = cq->ibcq.cqe - 1;
304 tail = cq->ibcq.cqe - 1;
308 cqe = get_cqe(cq, tail);
309 *cqe = *curr_cqe;
315 cq->ibcq.cqe);
329 struct pvrdma_cqe *cqe;
333 cq->ibcq.cqe, &head);
347 cqe = get_cqe(cq, head);
349 /* Ensure cqe is valid. */
351 if (dev->qp_tbl[cqe->qp & 0xffff])
352 *cur_qp = (struct pvrdma_qp *)dev->qp_tbl[cqe->qp & 0xffff];
356 wc->opcode = pvrdma_wc_opcode_to_ib(cqe->opcode);
357 wc->status = pvrdma_wc_status_to_ib(cqe->status);
358 wc->wr_id = cqe->wr_id;
360 wc->byte_len = cqe->byte_len;
361 wc->ex.imm_data = cqe->imm_data;
362 wc->src_qp = cqe->src_qp;
363 wc->wc_flags = pvrdma_wc_flags_to_ib(cqe->wc_flags);
364 wc->pkey_index = cqe->pkey_index;
365 wc->slid = cqe->slid;
366 wc->sl = cqe->sl;
367 wc->dlid_path_bits = cqe->dlid_path_bits;
368 wc->port_num = cqe->port_num;
369 wc->vendor_err = cqe->vendor_err;
370 wc->network_hdr_type = pvrdma_network_type_to_ib(cqe->network_hdr_type);
373 pvrdma_idx_ring_inc(&cq->ring_state->rx.cons_head, cq->ibcq.cqe);