Lines Matching refs:qpn
99 return qp->mqp.qpn >= dev->dev->caps.sqp_start &&
100 qp->mqp.qpn <= dev->dev->caps.sqp_start + 3;
105 return qp->mqp.qpn >= dev->dev->caps.sqp_start &&
106 qp->mqp.qpn <= dev->dev->caps.sqp_start + 1;
249 "on QP %06x\n", type, qp->qpn);
459 int qpn;
555 qpn = sqpn;
557 err = mlx4_qp_reserve_range(dev->dev, 1, 1, &qpn);
562 err = mlx4_qp_alloc(dev->dev, qpn, &qp->mqp);
571 qp->doorbell_qpn = swab32(qp->mqp.qpn << 8);
579 mlx4_qp_release_range(dev->dev, qpn, 1);
661 qp->mqp.qpn);
669 __mlx4_ib_cq_clean(recv_cq, qp->mqp.qpn,
672 __mlx4_ib_cq_clean(send_cq, qp->mqp.qpn, NULL);
682 mlx4_qp_release_range(dev->dev, qp->mqp.qpn, 1);
736 qp->ibqp.qp_num = qp->mqp.qpn;
1149 mlx4_ib_cq_clean(to_mcq(ibqp->recv_cq), qp->mqp.qpn,
1152 mlx4_ib_cq_clean(to_mcq(ibqp->send_cq), qp->mqp.qpn, NULL);