Home
last modified time | relevance | path

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

/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c2523 static void ocrdma_update_wc(struct ocrdma_qp *qp, struct ib_wc *ibwc, in ocrdma_update_wc() argument
2532 ibwc->wr_id = qp->wqe_wr_id_tbl[wqe_idx].wrid; in ocrdma_update_wc()
2537 ibwc->opcode = IB_WC_RDMA_WRITE; in ocrdma_update_wc()
2541 ibwc->opcode = IB_WC_RDMA_READ; in ocrdma_update_wc()
2542 ibwc->byte_len = rw->len; in ocrdma_update_wc()
2545 ibwc->opcode = IB_WC_SEND; in ocrdma_update_wc()
2548 ibwc->opcode = IB_WC_REG_MR; in ocrdma_update_wc()
2551 ibwc->opcode = IB_WC_LOCAL_INV; in ocrdma_update_wc()
2554 ibwc->status = IB_WC_GENERAL_ERR; in ocrdma_update_wc()
2593 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.c446 n = ib_poll_cq(priv->recv_cq, t, priv->ibwc); in ipoib_poll()
449 struct ib_wc *wc = priv->ibwc + i; in ipoib_poll()
791 n = ib_poll_cq(priv->recv_cq, IPOIB_NUM_WC, priv->ibwc); in ipoib_drain_cq()
798 if (priv->ibwc[i].status == IB_WC_SUCCESS) in ipoib_drain_cq()
799 priv->ibwc[i].status = IB_WC_WR_FLUSH_ERR; in ipoib_drain_cq()
801 if (priv->ibwc[i].wr_id & IPOIB_OP_RECV) { in ipoib_drain_cq()
802 if (priv->ibwc[i].wr_id & IPOIB_OP_CM) in ipoib_drain_cq()
803 ipoib_cm_handle_rx_wc(dev, priv->ibwc + i); in ipoib_drain_cq()
805 ipoib_ib_handle_rx_wc(dev, priv->ibwc + i); in ipoib_drain_cq()
807 ipoib_cm_handle_tx_wc(dev, priv->ibwc + i); in ipoib_drain_cq()
Dipoib.h279 struct ib_wc ibwc[IPOIB_NUM_WC]; member
378 struct ib_wc ibwc[IPOIB_NUM_WC]; member