Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c2399 static void ocrdma_update_wc(struct ocrdma_qp *qp, struct ib_wc *ibwc, in ocrdma_update_wc() argument
2408 ibwc->wr_id = qp->wqe_wr_id_tbl[wqe_idx].wrid; in ocrdma_update_wc()
2413 ibwc->opcode = IB_WC_RDMA_WRITE; in ocrdma_update_wc()
2417 ibwc->opcode = IB_WC_RDMA_READ; in ocrdma_update_wc()
2418 ibwc->byte_len = rw->len; in ocrdma_update_wc()
2421 ibwc->opcode = IB_WC_SEND; in ocrdma_update_wc()
2424 ibwc->opcode = IB_WC_REG_MR; in ocrdma_update_wc()
2427 ibwc->opcode = IB_WC_LOCAL_INV; in ocrdma_update_wc()
2430 ibwc->status = IB_WC_GENERAL_ERR; in ocrdma_update_wc()
2469 static bool ocrdma_update_err_cqe(struct ib_wc *ibwc, struct ocrdma_cqe *cqe, in ocrdma_update_err_cqe() argument
[all …]
/linux-6.6.21/drivers/infiniband/ulp/ipoib/
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()
976 n = ib_poll_cq(priv->recv_cq, IPOIB_NUM_WC, priv->ibwc); in ipoib_drain_cq()
983 if (priv->ibwc[i].status == IB_WC_SUCCESS) in ipoib_drain_cq()
984 priv->ibwc[i].status = IB_WC_WR_FLUSH_ERR; in ipoib_drain_cq()
986 if (priv->ibwc[i].wr_id & IPOIB_OP_RECV) { in ipoib_drain_cq()
987 if (priv->ibwc[i].wr_id & IPOIB_OP_CM) in ipoib_drain_cq()
988 ipoib_cm_handle_rx_wc(dev, priv->ibwc + i); in ipoib_drain_cq()
990 ipoib_ib_handle_rx_wc(dev, priv->ibwc + i); in ipoib_drain_cq()
Dipoib.h281 struct ib_wc ibwc[IPOIB_NUM_WC]; member
393 struct ib_wc ibwc[IPOIB_NUM_WC]; member
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_comp.c405 struct ib_wc *wc = &cqe->ibwc; in make_send_cqe()
569 struct ib_wc *wc = &cqe.ibwc; in flush_send_wqe()
Drxe_verbs.h55 struct ib_wc ibwc; member
Drxe_resp.c1055 struct ib_wc *wc = &cqe.ibwc; in do_complete()
1429 struct ib_wc *wc = &cqe.ibwc; in flush_recv_wqe()
Drxe_verbs.c1158 memcpy(wc++, &cqe->ibwc, sizeof(*wc)); in rxe_poll_cq()