Lines Matching refs:qpn
94 return qp->mqp.qpn >= dev->dev->caps.sqp_start && in is_sqp()
95 qp->mqp.qpn <= dev->dev->caps.sqp_start + 3; in is_sqp()
100 return qp->mqp.qpn >= dev->dev->caps.sqp_start && in is_qp0()
101 qp->mqp.qpn <= dev->dev->caps.sqp_start + 1; in is_qp0()
244 "on QP %06x\n", type, qp->qpn); in mlx4_ib_qp_event()
454 int qpn; in create_qp_common() local
550 qpn = sqpn; in create_qp_common()
552 err = mlx4_qp_reserve_range(dev->dev, 1, 1, &qpn); in create_qp_common()
557 err = mlx4_qp_alloc(dev->dev, qpn, &qp->mqp); in create_qp_common()
566 qp->doorbell_qpn = swab32(qp->mqp.qpn << 8); in create_qp_common()
574 mlx4_qp_release_range(dev->dev, qpn, 1); in create_qp_common()
652 qp->mqp.qpn); in destroy_qp_common()
660 __mlx4_ib_cq_clean(recv_cq, qp->mqp.qpn, in destroy_qp_common()
663 __mlx4_ib_cq_clean(send_cq, qp->mqp.qpn, NULL); in destroy_qp_common()
673 mlx4_qp_release_range(dev->dev, qp->mqp.qpn, 1); in destroy_qp_common()
727 qp->ibqp.qp_num = qp->mqp.qpn; in mlx4_ib_create_qp()
1141 mlx4_ib_cq_clean(to_mcq(ibqp->recv_cq), qp->mqp.qpn, in __mlx4_ib_modify_qp()
1144 mlx4_ib_cq_clean(to_mcq(ibqp->send_cq), qp->mqp.qpn, NULL); in __mlx4_ib_modify_qp()