Lines Matching full:dct
2414 qp->dct.in = kzalloc(MLX5_ST_SZ_BYTES(create_dct_in), GFP_KERNEL); in create_dct()
2415 if (!qp->dct.in) in create_dct()
2418 MLX5_SET(create_dct_in, qp->dct.in, uid, to_mpd(pd)->uid); in create_dct()
2419 dctc = MLX5_ADDR_OF(create_dct_in, qp->dct.in, dct_context_entry); in create_dct()
2443 if (attr->qp_type == IB_QPT_DRIVER && !MLX5_CAP_GEN(dev->mdev, dct)) in check_qp_type()
2857 err = mlx5_core_destroy_dct(dev, &mqp->dct.mdct); in mlx5_ib_destroy_dct()
2859 mlx5_ib_warn(dev, "failed to destroy DCT %d\n", err); in mlx5_ib_destroy_dct()
2864 kfree(mqp->dct.in); in mlx5_ib_destroy_dct()
4152 /* mlx5_ib_modify_dct: modify a DCT QP
4176 dctc = MLX5_ADDR_OF(create_dct_in, qp->dct.in, dct_context_entry); in mlx5_ib_modify_dct()
4179 * DCT doesn't initialize QP till modify command is executed, in mlx5_ib_modify_dct()
4249 err = mlx5_core_create_dct(dev, &qp->dct.mdct, qp->dct.in, in mlx5_ib_modify_dct()
4254 resp.dctn = qp->dct.mdct.mqp.qpn; in mlx5_ib_modify_dct()
4259 mlx5_core_destroy_dct(dev, &qp->dct.mdct); in mlx5_ib_modify_dct()
4263 mlx5_ib_warn(dev, "Modify DCT: Invalid transition from %d to %d\n", cur_state, new_state); in mlx5_ib_modify_dct()
4674 struct mlx5_core_dct *dct = &mqp->dct.mdct; in mlx5_ib_dct_query_qp() local
4697 err = mlx5_core_dct_query(dev, dct, out, outlen); in mlx5_ib_dct_query_qp()