Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dfs_hws.c202 struct mlx5hws_action *dest_ft_action; in mlx5_fs_add_flow_table_dest_action() local
206 dest_ft_action = mlx5hws_action_create_dest_table_num(fs_ctx->hws_ctx, in mlx5_fs_add_flow_table_dest_action()
208 if (!dest_ft_action) { in mlx5_fs_add_flow_table_dest_action()
214 err = xa_insert(dests_xa, ft->id, dest_ft_action, GFP_KERNEL); in mlx5_fs_add_flow_table_dest_action()
216 mlx5hws_action_destroy(dest_ft_action); in mlx5_fs_add_flow_table_dest_action()
224 struct mlx5hws_action *dest_ft_action; in mlx5_fs_del_flow_table_dest_action() local
229 dest_ft_action = xa_erase(dests_xa, ft->id); in mlx5_fs_del_flow_table_dest_action()
230 if (!dest_ft_action) { in mlx5_fs_del_flow_table_dest_action()
235 err = mlx5hws_action_destroy(dest_ft_action); in mlx5_fs_del_flow_table_dest_action()