Lines Matching refs:cqe
11 __be32 *cqe = get_queue_entry(cq->kern_cq.qbuf, cq->kern_cq.ci, in get_next_valid_cqe() local
14 __be32_to_cpu(READ_ONCE(*cqe))); in get_next_valid_cqe()
16 return owner ^ !!(cq->kern_cq.ci & cq->depth) ? cqe : NULL; in get_next_valid_cqe()
113 struct erdma_cqe *cqe; in erdma_poll_one_cqe() local
120 cqe = get_next_valid_cqe(cq); in erdma_poll_one_cqe()
121 if (!cqe) in erdma_poll_one_cqe()
129 qpn = be32_to_cpu(cqe->qpn); in erdma_poll_one_cqe()
130 wqe_idx = be32_to_cpu(cqe->qe_idx); in erdma_poll_one_cqe()
131 cqe_hdr = be32_to_cpu(cqe->hdr); in erdma_poll_one_cqe()
156 wc->byte_len = be32_to_cpu(cqe->size); in erdma_poll_one_cqe()
162 wc->ex.imm_data = cpu_to_be32(le32_to_cpu(cqe->imm_data)); in erdma_poll_one_cqe()
165 wc->ex.invalidate_rkey = be32_to_cpu(cqe->inv_rkey); in erdma_poll_one_cqe()