Home
last modified time | relevance | path

Searched refs:cur_qp (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/hw/mthca/
Dmthca_cq.c485 struct mthca_qp **cur_qp, in mthca_poll_one() argument
519 if (!*cur_qp || be32_to_cpu(cqe->my_qpn) != (*cur_qp)->qpn) { in mthca_poll_one()
525 *cur_qp = mthca_array_get(&dev->qp_table.qp, in mthca_poll_one()
528 if (!*cur_qp) { in mthca_poll_one()
536 entry->qp = &(*cur_qp)->ibqp; in mthca_poll_one()
539 wq = &(*cur_qp)->sq; in mthca_poll_one()
540 wqe_index = ((be32_to_cpu(cqe->wqe) - (*cur_qp)->send_wqe_offset) in mthca_poll_one()
542 entry->wr_id = (*cur_qp)->wrid[wqe_index + in mthca_poll_one()
543 (*cur_qp)->rq.max]; in mthca_poll_one()
544 } else if ((*cur_qp)->ibqp.srq) { in mthca_poll_one()
[all …]
/drivers/infiniband/hw/mlx4/
Dcq.c582 struct mlx4_ib_qp **cur_qp, in mlx4_ib_poll_one() argument
638 if (!*cur_qp || in mlx4_ib_poll_one()
639 (be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK) != (*cur_qp)->mqp.qpn) { in mlx4_ib_poll_one()
653 *cur_qp = to_mibqp(mqp); in mlx4_ib_poll_one()
656 wc->qp = &(*cur_qp)->ibqp; in mlx4_ib_poll_one()
673 wq = &(*cur_qp)->sq; in mlx4_ib_poll_one()
674 if (!(*cur_qp)->sq_signal_bits) { in mlx4_ib_poll_one()
680 } else if ((*cur_qp)->ibqp.srq) { in mlx4_ib_poll_one()
681 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx4_ib_poll_one()
691 wq = &(*cur_qp)->rq; in mlx4_ib_poll_one()
[all …]
/drivers/infiniband/hw/ocrdma/
Docrdma_main.c483 struct ocrdma_qp *qp, **cur_qp; in ocrdma_close() local
491 cur_qp = dev->qp_tbl; in ocrdma_close()
493 qp = cur_qp[i]; in ocrdma_close()
/drivers/infiniband/hw/ehca/
Dhipz_hw.h308 u32 cur_qp; member
Dehca_main.c674 EHCA_RESOURCE_ATTR(cur_qp);