Home
last modified time | relevance | path

Searched refs:tdn (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Den_common.c102 err = mlx5_core_alloc_transport_domain(mdev, &res->td.tdn); in mlx5e_create_mdev_resources()
128 mlx5_core_dealloc_transport_domain(mdev, res->td.tdn); in mlx5e_create_mdev_resources()
140 mlx5_core_dealloc_transport_domain(mdev, res->td.tdn); in mlx5e_destroy_mdev_resources()
Dtransobj.c37 int mlx5_core_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn) in mlx5_core_alloc_transport_domain() argument
48 *tdn = MLX5_GET(alloc_transport_domain_out, out, in mlx5_core_alloc_transport_domain()
55 void mlx5_core_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn) in mlx5_core_dealloc_transport_domain() argument
62 MLX5_SET(dealloc_transport_domain_in, in, transport_domain, tdn); in mlx5_core_dealloc_transport_domain()
Den_tc.c159 u32 tdn; member
460 err = mlx5_core_alloc_transport_domain(hp->func_mdev, &hp->tdn); in mlx5e_hairpin_create_transport()
468 MLX5_SET(tirc, tirc, transport_domain, hp->tdn); in mlx5e_hairpin_create_transport()
477 mlx5_core_dealloc_transport_domain(hp->func_mdev, hp->tdn); in mlx5e_hairpin_create_transport()
485 mlx5_core_dealloc_transport_domain(hp->func_mdev, hp->tdn); in mlx5e_hairpin_destroy_transport()
548 MLX5_SET(tirc, tirc, transport_domain, hp->tdn); in mlx5e_hairpin_create_indirect_tirs()
Den_main.c3168 MLX5_SET(tisc, tisc, transport_domain, mdev->mlx5e_res.td.tdn); in mlx5e_create_tis()
3241 MLX5_SET(tirc, tirc, transport_domain, priv->mdev->mlx5e_res.td.tdn); in mlx5e_build_indir_tir_ctx_common()
/drivers/infiniband/hw/mlx5/
Dcmd.h54 int mlx5_cmd_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn,
56 void mlx5_cmd_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn,
Dcmd.c234 int mlx5_cmd_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn, in mlx5_cmd_alloc_transport_domain() argument
247 *tdn = MLX5_GET(alloc_transport_domain_out, out, in mlx5_cmd_alloc_transport_domain()
253 void mlx5_cmd_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn, in mlx5_cmd_dealloc_transport_domain() argument
262 MLX5_SET(dealloc_transport_domain_in, in, transport_domain, tdn); in mlx5_cmd_dealloc_transport_domain()
Dqp.c1192 struct mlx5_ib_sq *sq, u32 tdn, in create_raw_packet_qp_tis() argument
1199 MLX5_SET(tisc, tisc, transport_domain, tdn); in create_raw_packet_qp_tis()
1399 struct mlx5_ib_rq *rq, u32 tdn, in create_raw_packet_qp_tir() argument
1419 MLX5_SET(tirc, tirc, transport_domain, tdn); in create_raw_packet_qp_tir()
1462 u32 tdn = mucontext->tdn; in create_raw_packet_qp() local
1467 err = create_raw_packet_qp_tis(dev, qp, sq, tdn, pd); in create_raw_packet_qp()
1498 dev, rq, tdn, &qp->flags_en, pd, out, in create_raw_packet_qp()
1604 u32 tdn = mucontext->tdn; in create_rss_raw_qp_tir() local
1690 MLX5_SET(tirc, tirc, transport_domain, tdn); in create_rss_raw_qp_tir()
Dmain.c1732 static int mlx5_ib_alloc_transport_domain(struct mlx5_ib_dev *dev, u32 *tdn, in mlx5_ib_alloc_transport_domain() argument
1740 err = mlx5_cmd_alloc_transport_domain(dev->mdev, tdn, uid); in mlx5_ib_alloc_transport_domain()
1752 static void mlx5_ib_dealloc_transport_domain(struct mlx5_ib_dev *dev, u32 tdn, in mlx5_ib_dealloc_transport_domain() argument
1758 mlx5_cmd_dealloc_transport_domain(dev->mdev, tdn, uid); in mlx5_ib_dealloc_transport_domain()
1877 err = mlx5_ib_alloc_transport_domain(dev, &context->tdn, in mlx5_ib_alloc_ucontext()
1974 mlx5_ib_dealloc_transport_domain(dev, context->tdn, context->devx_uid); in mlx5_ib_alloc_ucontext()
1999 mlx5_ib_dealloc_transport_domain(dev, context->tdn, context->devx_uid); in mlx5_ib_dealloc_ucontext()
Dmlx5_ib.h135 u32 tdn; member