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