Lines Matching full:wc
324 struct ib_wc *wc) in pvrdma_poll_one() argument
357 wc->opcode = pvrdma_wc_opcode_to_ib(cqe->opcode); in pvrdma_poll_one()
358 wc->status = pvrdma_wc_status_to_ib(cqe->status); in pvrdma_poll_one()
359 wc->wr_id = cqe->wr_id; in pvrdma_poll_one()
360 wc->qp = &(*cur_qp)->ibqp; in pvrdma_poll_one()
361 wc->byte_len = cqe->byte_len; in pvrdma_poll_one()
362 wc->ex.imm_data = cqe->imm_data; in pvrdma_poll_one()
363 wc->src_qp = cqe->src_qp; in pvrdma_poll_one()
364 wc->wc_flags = pvrdma_wc_flags_to_ib(cqe->wc_flags); in pvrdma_poll_one()
365 wc->pkey_index = cqe->pkey_index; in pvrdma_poll_one()
366 wc->slid = cqe->slid; in pvrdma_poll_one()
367 wc->sl = cqe->sl; in pvrdma_poll_one()
368 wc->dlid_path_bits = cqe->dlid_path_bits; in pvrdma_poll_one()
369 wc->port_num = cqe->port_num; in pvrdma_poll_one()
370 wc->vendor_err = cqe->vendor_err; in pvrdma_poll_one()
371 wc->network_hdr_type = pvrdma_network_type_to_ib(cqe->network_hdr_type); in pvrdma_poll_one()
383 * @wc: pointer to work completion array
387 int pvrdma_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) in pvrdma_poll_cq() argument
394 if (num_entries < 1 || wc == NULL) in pvrdma_poll_cq()
399 if (pvrdma_poll_one(cq, &cur_qp, wc + npolled)) in pvrdma_poll_cq()