ibwc             2415 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static void ocrdma_update_wc(struct ocrdma_qp *qp, struct ib_wc *ibwc,
ibwc             2424 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->wr_id = qp->wqe_wr_id_tbl[wqe_idx].wrid;
ibwc             2429 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->opcode = IB_WC_RDMA_WRITE;
ibwc             2433 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->opcode = IB_WC_RDMA_READ;
ibwc             2434 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->byte_len = rw->len;
ibwc             2437 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->opcode = IB_WC_SEND;
ibwc             2440 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->opcode = IB_WC_REG_MR;
ibwc             2443 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->opcode = IB_WC_LOCAL_INV;
ibwc             2446 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->status = IB_WC_GENERAL_ERR;
ibwc             2485 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static bool ocrdma_update_err_cqe(struct ib_wc *ibwc, struct ocrdma_cqe *cqe,
ibwc             2490 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->byte_len = 0;
ibwc             2491 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->qp = &qp->ibqp;
ibwc             2492 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->status = ocrdma_to_ibwc_err(status);
ibwc             2507 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_update_err_rcqe(struct ib_wc *ibwc, struct ocrdma_cqe *cqe,
ibwc             2510 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->opcode = IB_WC_RECV;
ibwc             2511 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->wr_id = qp->rqe_wr_id_tbl[qp->rq.tail];
ibwc             2514 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	return ocrdma_update_err_cqe(ibwc, cqe, qp, status);
ibwc             2517 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_update_err_scqe(struct ib_wc *ibwc, struct ocrdma_cqe *cqe,
ibwc             2520 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ocrdma_update_wc(qp, ibwc, qp->sq.tail);
ibwc             2523 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	return ocrdma_update_err_cqe(ibwc, cqe, qp, status);
ibwc             2528 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 				 struct ocrdma_cqe *cqe, struct ib_wc *ibwc,
ibwc             2548 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			expand = ocrdma_update_err_rcqe(ibwc, cqe, qp, status);
ibwc             2566 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		expand = ocrdma_update_err_scqe(ibwc, cqe, qp, status);
ibwc             2573 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 				     struct ib_wc *ibwc, bool *polled)
ibwc             2582 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->status = IB_WC_SUCCESS;
ibwc             2583 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->wc_flags = 0;
ibwc             2584 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->qp = &qp->ibqp;
ibwc             2585 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ocrdma_update_wc(qp, ibwc, tail);
ibwc             2598 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			     struct ib_wc *ibwc, bool *polled, bool *stop)
ibwc             2607 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		expand = ocrdma_poll_success_scqe(qp, cqe, ibwc, polled);
ibwc             2609 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		expand = ocrdma_poll_err_scqe(qp, cqe, ibwc, polled, stop);
ibwc             2613 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static int ocrdma_update_ud_rcqe(struct ocrdma_dev *dev, struct ib_wc *ibwc,
ibwc             2621 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->src_qp = le32_to_cpu(cqe->flags_status_srcqpn) &
ibwc             2623 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->pkey_index = 0;
ibwc             2624 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->wc_flags = IB_WC_GRH;
ibwc             2625 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->byte_len = (le32_to_cpu(cqe->ud.rxlen_pkey) >>
ibwc             2633 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->wc_flags |= IB_WC_WITH_NETWORK_HDR_TYPE;
ibwc             2634 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->network_hdr_type = hdr_type;
ibwc             2640 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c static void ocrdma_update_free_srq_cqe(struct ib_wc *ibwc,
ibwc             2653 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->wr_id = srq->rqe_wr_id_tbl[wqe_idx];
ibwc             2661 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 				struct ib_wc *ibwc, bool *polled, bool *stop,
ibwc             2677 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			expand = ocrdma_update_err_scqe(ibwc, cqe, qp, status);
ibwc             2690 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		expand = ocrdma_update_err_rcqe(ibwc, cqe, qp, status);
ibwc             2696 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 				     struct ocrdma_cqe *cqe, struct ib_wc *ibwc)
ibwc             2701 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->opcode = IB_WC_RECV;
ibwc             2702 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->qp = &qp->ibqp;
ibwc             2703 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->status = IB_WC_SUCCESS;
ibwc             2706 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ocrdma_update_ud_rcqe(dev, ibwc, cqe);
ibwc             2708 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->byte_len = le32_to_cpu(cqe->rq.rxlen);
ibwc             2711 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->ex.imm_data = htonl(le32_to_cpu(cqe->rq.lkey_immdt));
ibwc             2712 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->wc_flags |= IB_WC_WITH_IMM;
ibwc             2714 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->opcode = IB_WC_RECV_RDMA_WITH_IMM;
ibwc             2715 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->ex.imm_data = htonl(le32_to_cpu(cqe->rq.lkey_immdt));
ibwc             2716 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->wc_flags |= IB_WC_WITH_IMM;
ibwc             2718 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->ex.invalidate_rkey = le32_to_cpu(cqe->rq.lkey_immdt);
ibwc             2719 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->wc_flags |= IB_WC_WITH_INVALIDATE;
ibwc             2722 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ocrdma_update_free_srq_cqe(ibwc, cqe, qp);
ibwc             2724 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->wr_id = qp->rqe_wr_id_tbl[qp->rq.tail];
ibwc             2730 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			     struct ib_wc *ibwc, bool *polled, bool *stop)
ibwc             2735 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ibwc->wc_flags = 0;
ibwc             2747 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ocrdma_poll_success_rcqe(qp, cqe, ibwc);
ibwc             2749 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		expand = ocrdma_poll_err_rcqe(qp, cqe, ibwc, polled, stop,
ibwc             2768 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			    struct ib_wc *ibwc)
ibwc             2793 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			expand = ocrdma_poll_scqe(qp, cqe, ibwc, &polled,
ibwc             2796 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			expand = ocrdma_poll_rcqe(qp, cqe, ibwc, &polled,
ibwc             2813 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			ibwc = ibwc + 1;
ibwc             2828 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			      struct ocrdma_qp *qp, struct ib_wc *ibwc)
ibwc             2836 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			ocrdma_update_wc(qp, ibwc, qp->sq.tail);
ibwc             2839 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			ibwc->wr_id = qp->rqe_wr_id_tbl[qp->rq.tail];
ibwc             2844 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->byte_len = 0;
ibwc             2845 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc->status = IB_WC_WR_FLUSH_ERR;
ibwc             2846 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		ibwc = ibwc + 1;
ibwc              408 drivers/infiniband/sw/rxe/rxe_comp.c 		struct ib_wc		*wc	= &cqe->ibwc;
ibwc              841 drivers/infiniband/sw/rxe/rxe_resp.c 	struct ib_wc *wc = &cqe.ibwc;
ibwc              860 drivers/infiniband/sw/rxe/rxe_verbs.c 		memcpy(wc++, &cqe->ibwc, sizeof(*wc));
ibwc               82 drivers/infiniband/sw/rxe/rxe_verbs.h 		struct ib_wc		ibwc;
ibwc              281 drivers/infiniband/ulp/ipoib/ipoib.h 	struct ib_wc		ibwc[IPOIB_NUM_WC];
ibwc              393 drivers/infiniband/ulp/ipoib/ipoib.h 	struct ib_wc ibwc[IPOIB_NUM_WC];
ibwc              466 drivers/infiniband/ulp/ipoib/ipoib_ib.c 		n = ib_poll_cq(priv->recv_cq, t, priv->ibwc);
ibwc              469 drivers/infiniband/ulp/ipoib/ipoib_ib.c 			struct ib_wc *wc = priv->ibwc + i;
ibwc              985 drivers/infiniband/ulp/ipoib/ipoib_ib.c 		n = ib_poll_cq(priv->recv_cq, IPOIB_NUM_WC, priv->ibwc);
ibwc              992 drivers/infiniband/ulp/ipoib/ipoib_ib.c 			if (priv->ibwc[i].status == IB_WC_SUCCESS)
ibwc              993 drivers/infiniband/ulp/ipoib/ipoib_ib.c 				priv->ibwc[i].status = IB_WC_WR_FLUSH_ERR;
ibwc              995 drivers/infiniband/ulp/ipoib/ipoib_ib.c 			if (priv->ibwc[i].wr_id & IPOIB_OP_RECV) {
ibwc              996 drivers/infiniband/ulp/ipoib/ipoib_ib.c 				if (priv->ibwc[i].wr_id & IPOIB_OP_CM)
ibwc              997 drivers/infiniband/ulp/ipoib/ipoib_ib.c 					ipoib_cm_handle_rx_wc(dev, priv->ibwc + i);
ibwc              999 drivers/infiniband/ulp/ipoib/ipoib_ib.c 					ipoib_ib_handle_rx_wc(dev, priv->ibwc + i);