Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c2415 static void ocrdma_update_wc(struct ocrdma_qp *qp, struct ib_wc *ibwc, in ocrdma_update_wc() argument
2424 ibwc->wr_id = qp->wqe_wr_id_tbl[wqe_idx].wrid; in ocrdma_update_wc()
2429 ibwc->opcode = IB_WC_RDMA_WRITE; in ocrdma_update_wc()
2433 ibwc->opcode = IB_WC_RDMA_READ; in ocrdma_update_wc()
2434 ibwc->byte_len = rw->len; in ocrdma_update_wc()
2437 ibwc->opcode = IB_WC_SEND; in ocrdma_update_wc()
2440 ibwc->opcode = IB_WC_REG_MR; in ocrdma_update_wc()
2443 ibwc->opcode = IB_WC_LOCAL_INV; in ocrdma_update_wc()
2446 ibwc->status = IB_WC_GENERAL_ERR; in ocrdma_update_wc()
2485 static bool ocrdma_update_err_cqe(struct ib_wc *ibwc, struct ocrdma_cqe *cqe, in ocrdma_update_err_cqe() argument
[all …]
/Linux-v5.4/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c464 n = ib_poll_cq(priv->recv_cq, t, priv->ibwc); in ipoib_rx_poll()
467 struct ib_wc *wc = priv->ibwc + i; in ipoib_rx_poll()
980 n = ib_poll_cq(priv->recv_cq, IPOIB_NUM_WC, priv->ibwc); in ipoib_drain_cq()
987 if (priv->ibwc[i].status == IB_WC_SUCCESS) in ipoib_drain_cq()
988 priv->ibwc[i].status = IB_WC_WR_FLUSH_ERR; in ipoib_drain_cq()
990 if (priv->ibwc[i].wr_id & IPOIB_OP_RECV) { in ipoib_drain_cq()
991 if (priv->ibwc[i].wr_id & IPOIB_OP_CM) in ipoib_drain_cq()
992 ipoib_cm_handle_rx_wc(dev, priv->ibwc + i); in ipoib_drain_cq()
994 ipoib_ib_handle_rx_wc(dev, priv->ibwc + i); in ipoib_drain_cq()
Dipoib.h281 struct ib_wc ibwc[IPOIB_NUM_WC]; member
389 struct ib_wc ibwc[IPOIB_NUM_WC]; member
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_verbs.h82 struct ib_wc ibwc; member
Drxe_comp.c408 struct ib_wc *wc = &cqe->ibwc; in make_send_cqe()
Drxe_resp.c834 struct ib_wc *wc = &cqe.ibwc; in do_complete()
Drxe_verbs.c860 memcpy(wc++, &cqe->ibwc, sizeof(*wc)); in rxe_poll_cq()