Searched refs:ibwc (Results 1 – 7 of 7) sorted by relevance
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 2521 static void ocrdma_update_wc(struct ocrdma_qp *qp, struct ib_wc *ibwc, in ocrdma_update_wc() argument 2530 ibwc->wr_id = qp->wqe_wr_id_tbl[wqe_idx].wrid; in ocrdma_update_wc() 2535 ibwc->opcode = IB_WC_RDMA_WRITE; in ocrdma_update_wc() 2539 ibwc->opcode = IB_WC_RDMA_READ; in ocrdma_update_wc() 2540 ibwc->byte_len = rw->len; in ocrdma_update_wc() 2543 ibwc->opcode = IB_WC_SEND; in ocrdma_update_wc() 2546 ibwc->opcode = IB_WC_REG_MR; in ocrdma_update_wc() 2549 ibwc->opcode = IB_WC_LOCAL_INV; in ocrdma_update_wc() 2552 ibwc->status = IB_WC_GENERAL_ERR; in ocrdma_update_wc() 2591 static bool ocrdma_update_err_cqe(struct ib_wc *ibwc, struct ocrdma_cqe *cqe, in ocrdma_update_err_cqe() argument [all …]
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_ib.c | 457 n = ib_poll_cq(priv->recv_cq, t, priv->ibwc); in ipoib_poll() 460 struct ib_wc *wc = priv->ibwc + i; in ipoib_poll() 820 n = ib_poll_cq(priv->recv_cq, IPOIB_NUM_WC, priv->ibwc); in ipoib_drain_cq() 827 if (priv->ibwc[i].status == IB_WC_SUCCESS) in ipoib_drain_cq() 828 priv->ibwc[i].status = IB_WC_WR_FLUSH_ERR; in ipoib_drain_cq() 830 if (priv->ibwc[i].wr_id & IPOIB_OP_RECV) { in ipoib_drain_cq() 831 if (priv->ibwc[i].wr_id & IPOIB_OP_CM) in ipoib_drain_cq() 832 ipoib_cm_handle_rx_wc(dev, priv->ibwc + i); in ipoib_drain_cq() 834 ipoib_ib_handle_rx_wc(dev, priv->ibwc + i); in ipoib_drain_cq() 836 ipoib_cm_handle_tx_wc(dev, priv->ibwc + i); in ipoib_drain_cq()
|
D | ipoib.h | 283 struct ib_wc ibwc[IPOIB_NUM_WC]; member 382 struct ib_wc ibwc[IPOIB_NUM_WC]; member
|
/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.h | 80 struct ib_wc ibwc; member
|
D | rxe_comp.c | 391 struct ib_wc *wc = &cqe->ibwc; in make_send_cqe()
|
D | rxe_resp.c | 820 struct ib_wc *wc = &cqe.ibwc; in do_complete()
|
D | rxe_verbs.c | 992 memcpy(wc++, &cqe->ibwc, sizeof(*wc)); in rxe_poll_cq()
|