Home
last modified time | relevance | path

Searched refs:ibwc (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c2400 static void ocrdma_update_wc(struct ocrdma_qp *qp, struct ib_wc *ibwc, in ocrdma_update_wc() argument
2409 ibwc->wr_id = qp->wqe_wr_id_tbl[wqe_idx].wrid; in ocrdma_update_wc()
2414 ibwc->opcode = IB_WC_RDMA_WRITE; in ocrdma_update_wc()
2418 ibwc->opcode = IB_WC_RDMA_READ; in ocrdma_update_wc()
2419 ibwc->byte_len = rw->len; in ocrdma_update_wc()
2422 ibwc->opcode = IB_WC_SEND; in ocrdma_update_wc()
2425 ibwc->opcode = IB_WC_REG_MR; in ocrdma_update_wc()
2428 ibwc->opcode = IB_WC_LOCAL_INV; in ocrdma_update_wc()
2431 ibwc->status = IB_WC_GENERAL_ERR; in ocrdma_update_wc()
2470 static bool ocrdma_update_err_cqe(struct ib_wc *ibwc, struct ocrdma_cqe *cqe, in ocrdma_update_err_cqe() argument
[all …]
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c466 n = ib_poll_cq(priv->recv_cq, t, priv->ibwc); in ipoib_rx_poll()
469 struct ib_wc *wc = priv->ibwc + i; in ipoib_rx_poll()
1000 n = ib_poll_cq(priv->recv_cq, IPOIB_NUM_WC, priv->ibwc); in ipoib_drain_cq()
1007 if (priv->ibwc[i].status == IB_WC_SUCCESS) in ipoib_drain_cq()
1008 priv->ibwc[i].status = IB_WC_WR_FLUSH_ERR; in ipoib_drain_cq()
1010 if (priv->ibwc[i].wr_id & IPOIB_OP_RECV) { in ipoib_drain_cq()
1011 if (priv->ibwc[i].wr_id & IPOIB_OP_CM) in ipoib_drain_cq()
1012 ipoib_cm_handle_rx_wc(dev, priv->ibwc + i); in ipoib_drain_cq()
1014 ipoib_ib_handle_rx_wc(dev, priv->ibwc + i); in ipoib_drain_cq()
H A Dipoib.h281 struct ib_wc ibwc[IPOIB_NUM_WC]; member
395 struct ib_wc ibwc[IPOIB_NUM_WC]; member
/linux/drivers/infiniband/sw/rxe/
H A Drxe_comp.c396 struct ib_wc *wc = &cqe->ibwc; in make_send_cqe()
560 struct ib_wc *wc = &cqe.ibwc; in flush_send_wqe()
H A Drxe_verbs.h55 struct ib_wc ibwc; member
H A Drxe_resp.c1058 struct ib_wc *wc = &cqe.ibwc; in do_complete()
1432 struct ib_wc *wc = &cqe.ibwc; in flush_recv_wqe()
H A Drxe_verbs.c1158 memcpy(wc++, &cqe->ibwc, sizeof(*wc)); in rxe_poll_cq()