Home
last modified time | relevance | path

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

/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c2521 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/
Dipoib_ib.c457 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()
Dipoib.h283 struct ib_wc ibwc[IPOIB_NUM_WC]; member
382 struct ib_wc ibwc[IPOIB_NUM_WC]; member
/drivers/infiniband/sw/rxe/
Drxe_verbs.h80 struct ib_wc ibwc; member
Drxe_comp.c391 struct ib_wc *wc = &cqe->ibwc; in make_send_cqe()
Drxe_resp.c820 struct ib_wc *wc = &cqe.ibwc; in do_complete()
Drxe_verbs.c992 memcpy(wc++, &cqe->ibwc, sizeof(*wc)); in rxe_poll_cq()