Lines Matching defs:dct
13 struct mlx5_core_dct *dct);
96 struct mlx5_core_dct *dct;
105 rsn = be32_to_cpu(eqe->data.dct.dctn) & 0xffffff;
140 dct = (struct mlx5_core_dct *)common;
142 complete(&dct->drained);
190 struct mlx5_core_dct *dct, bool need_cleanup)
193 struct mlx5_core_qp *qp = &dct->mqp;
196 err = mlx5_core_drain_dct(dev, dct);
203 wait_for_completion(&dct->drained);
206 destroy_resource_common(dev, &dct->mqp);
214 int mlx5_core_create_dct(struct mlx5_ib_dev *dev, struct mlx5_core_dct *dct,
217 struct mlx5_core_qp *qp = &dct->mqp;
220 init_completion(&dct->drained);
235 _mlx5_core_destroy_dct(dev, dct, false);
272 struct mlx5_core_dct *dct)
275 struct mlx5_core_qp *qp = &dct->mqp;
284 struct mlx5_core_dct *dct)
286 return _mlx5_core_destroy_dct(dev, dct, true);
509 int mlx5_core_dct_query(struct mlx5_ib_dev *dev, struct mlx5_core_dct *dct,
513 struct mlx5_core_qp *qp = &dct->mqp;