Lines Matching refs:wc
48 int siw_reap_cqe(struct siw_cq *cq, struct ib_wc *wc) in siw_reap_cqe() argument
57 memset(wc, 0, sizeof(*wc)); in siw_reap_cqe()
58 wc->wr_id = cqe->id; in siw_reap_cqe()
59 wc->byte_len = cqe->bytes; in siw_reap_cqe()
68 wc->ex.invalidate_rkey = cqe->inval_stag; in siw_reap_cqe()
69 wc->wc_flags = IB_WC_WITH_INVALIDATE; in siw_reap_cqe()
71 wc->qp = cqe->base_qp; in siw_reap_cqe()
72 wc->opcode = map_wc_opcode[cqe->opcode]; in siw_reap_cqe()
73 wc->status = map_cqe_status[cqe->status].ib; in siw_reap_cqe()
95 wc->opcode = map_wc_opcode[opcode]; in siw_reap_cqe()
96 wc->status = map_cqe_status[status].ib; in siw_reap_cqe()
118 struct ib_wc wc; in siw_cq_flush() local
120 while (siw_reap_cqe(cq, &wc)) in siw_cq_flush()