Lines Matching refs:qp
37 #include <linux/mlx5/qp.h>
73 struct mlx5_core_qp *qp;
80 qp = (struct mlx5_core_qp *)common;
81 qp->event(qp, event_type);
92 struct mlx5_core_qp *qp,
117 qp->qpn = be32_to_cpu(out.qpn) & 0xffffff;
118 mlx5_core_dbg(dev, "qpn = 0x%x\n", qp->qpn);
120 qp->common.res = MLX5_RES_QP;
122 err = radix_tree_insert(&table->tree, qp->qpn, qp);
129 err = mlx5_debug_qp_add(dev, qp);
132 qp->qpn);
134 qp->pid = current->pid;
135 atomic_set(&qp->common.refcount, 1);
137 init_completion(&qp->common.free);
145 din.qpn = cpu_to_be32(qp->qpn);
153 struct mlx5_core_qp *qp)
161 mlx5_debug_qp_remove(dev, qp);
164 radix_tree_delete(&table->tree, qp->qpn);
167 mlx5_core_put_rsc((struct mlx5_core_rsc_common *)qp);
168 wait_for_completion(&qp->common.free);
173 in.qpn = cpu_to_be32(qp->qpn);
189 struct mlx5_core_qp *qp)
239 in->qpn = cpu_to_be32(qp->qpn);
262 int mlx5_core_qp_query(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp,
271 in.qpn = cpu_to_be32(qp->qpn);