Lines Matching refs:mqp
1021 err = mlx5_core_create_qp(dev->mdev, &qp->mqp, in, inlen); in create_qp_common()
1032 qp->doorbell_qpn = swab32(qp->mqp.qpn << 8); in create_qp_common()
1034 qp->mqp.event = mlx5_ib_qp_event; in create_qp_common()
1158 MLX5_QP_STATE_RST, in, 0, &qp->mqp)) in destroy_qp_common()
1160 qp->mqp.qpn); in destroy_qp_common()
1167 __mlx5_ib_cq_clean(recv_cq, qp->mqp.qpn, in destroy_qp_common()
1170 __mlx5_ib_cq_clean(send_cq, qp->mqp.qpn, NULL); in destroy_qp_common()
1174 err = mlx5_core_destroy_qp(dev->mdev, &qp->mqp); in destroy_qp_common()
1176 mlx5_ib_warn(dev, "failed to destroy QP 0x%x\n", qp->mqp.qpn); in destroy_qp_common()
1275 qp->ibqp.qp_num = qp->mqp.qpn; in mlx5_ib_create_qp()
1278 qp->ibqp.qp_num, qp->mqp.qpn, to_mcq(init_attr->recv_cq)->mcq.cqn, in mlx5_ib_create_qp()
1302 struct mlx5_ib_qp *mqp = to_mqp(qp); in mlx5_ib_destroy_qp() local
1304 destroy_qp_common(dev, mqp); in mlx5_ib_destroy_qp()
1306 kfree(mqp); in mlx5_ib_destroy_qp()
1717 &qp->mqp); in __mlx5_ib_modify_qp()
1740 mlx5_ib_cq_clean(recv_cq, qp->mqp.qpn, in __mlx5_ib_modify_qp()
1743 mlx5_ib_cq_clean(send_cq, qp->mqp.qpn, NULL); in __mlx5_ib_modify_qp()
2573 ctrl->qpn_ds = cpu_to_be32(size | (qp->mqp.qpn << 8)); in finish_wqe()
3049 err = mlx5_core_qp_query(dev->mdev, &qp->mqp, outb, sizeof(*outb)); in mlx5_ib_query_qp()