Home
last modified time | relevance | path

Searched refs:tir (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Drss.c74 struct mlx5e_tir *tir[MLX5E_NUM_INDIR_TIRS]; member
109 return inner ? &rss->inner_tir[tt] : &rss->tir[tt]; in rss_get_tirp()
136 struct mlx5e_tir *tir; in mlx5e_rss_create_tir() local
151 tir = kvzalloc(sizeof(*tir), GFP_KERNEL); in mlx5e_rss_create_tir()
152 if (!tir) in mlx5e_rss_create_tir()
168 err = mlx5e_tir_init(tir, builder, rss->mdev, true); in mlx5e_rss_create_tir()
176 *tir_p = tir; in mlx5e_rss_create_tir()
180 kvfree(tir); in mlx5e_rss_create_tir()
188 struct mlx5e_tir *tir; in mlx5e_rss_destroy_tir() local
194 tir = *tir_p; in mlx5e_rss_destroy_tir()
[all …]
Dtir.c158 int mlx5e_tir_init(struct mlx5e_tir *tir, struct mlx5e_tir_builder *builder, in mlx5e_tir_init() argument
163 tir->mdev = mdev; in mlx5e_tir_init()
165 err = mlx5_core_create_tir(tir->mdev, builder->in, &tir->tirn); in mlx5e_tir_init()
170 struct mlx5e_hw_objs *res = &tir->mdev->mlx5e_res.hw_objs; in mlx5e_tir_init()
173 list_add(&tir->list, &res->td.tirs_list); in mlx5e_tir_init()
176 INIT_LIST_HEAD(&tir->list); in mlx5e_tir_init()
182 void mlx5e_tir_destroy(struct mlx5e_tir *tir) in mlx5e_tir_destroy() argument
184 struct mlx5e_hw_objs *res = &tir->mdev->mlx5e_res.hw_objs; in mlx5e_tir_destroy()
191 if (!list_empty(&tir->list)) { in mlx5e_tir_destroy()
193 list_del(&tir->list); in mlx5e_tir_destroy()
[all …]
Dtir.h47 int mlx5e_tir_init(struct mlx5e_tir *tir, struct mlx5e_tir_builder *builder,
49 void mlx5e_tir_destroy(struct mlx5e_tir *tir);
51 static inline u32 mlx5e_tir_get_tirn(struct mlx5e_tir *tir) in mlx5e_tir_get_tirn() argument
53 return tir->tirn; in mlx5e_tir_get_tirn()
56 int mlx5e_tir_modify(struct mlx5e_tir *tir, struct mlx5e_tir_builder *builder);
Dtrap.c99 static int mlx5e_create_trap_direct_rq_tir(struct mlx5_core_dev *mdev, struct mlx5e_tir *tir, in mlx5e_create_trap_direct_rq_tir() argument
110 err = mlx5e_tir_init(tir, builder, mdev, true); in mlx5e_create_trap_direct_rq_tir()
156 err = mlx5e_create_trap_direct_rq_tir(t->mdev, &t->tir, t->rq.rqn); in mlx5e_open_trap()
172 mlx5e_tir_destroy(&trap->tir); in mlx5e_close_trap()
215 return en_trap->tir.tirn; in mlx5e_trap_get_tirn()
Drx_res.c31 struct mlx5e_tir tir; member
360 err = mlx5e_tir_init(&res->ptp.tir, builder, res->mdev, true); in mlx5e_rx_res_ptp_init()
388 mlx5e_tir_destroy(&res->ptp.tir); in mlx5e_rx_res_ptp_destroy()
463 return mlx5e_tir_get_tirn(&res->ptp.tir); in mlx5e_rx_res_get_tirn_ptp()
615 struct mlx5e_tir *tir) in mlx5e_rx_res_tls_tir_create() argument
634 err = mlx5e_tir_init(tir, builder, res->mdev, false); in mlx5e_rx_res_tls_tir_create()
Dtrap.h13 struct mlx5e_tir tir; member
Drx_res.h68 struct mlx5e_tir *tir);
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_common.c133 struct mlx5e_tir *tir; in mlx5e_refresh_tirs() local
159 list_for_each_entry(tir, &mdev->mlx5e_res.hw_objs.td.tirs_list, list) { in mlx5e_refresh_tirs()
160 tirn = tir->tirn; in mlx5e_refresh_tirs()
DMakefile25 mlx5_core-$(CONFIG_MLX5_CORE_EN) += en/rqt.o en/tir.o en/rss.o en/rx_res.o \
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_rx.c52 struct mlx5e_tir tir; member
115 mlx5e_tir_get_tirn(&priv_rx->tir), in accel_rule_handle_work()
150 mlx5e_tir_get_tirn(&priv_rx->tir), in post_static_params()
180 mlx5e_tir_get_tirn(&priv_rx->tir), in post_progress_params()
302 psv->psv_index[0] = cpu_to_be32(mlx5e_tir_get_tirn(&priv_rx->tir)); in resync_post_get_progress_params()
653 err = mlx5e_rx_res_tls_tir_create(priv->rx_res, rxq, &priv_rx->tir); in mlx5e_ktls_add_rx()
674 mlx5e_tir_destroy(&priv_rx->tir); in mlx5e_ktls_add_rx()
709 mlx5e_tir_destroy(&priv_rx->tir); in mlx5e_ktls_del_rx()