Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_action.c594 struct mlx5dr_action *dest_action, in dr_action_handle_cs_recalc() argument
599 switch (dest_action->action_type) { in dr_action_handle_cs_recalc()
605 if (dest_action->dest_tbl->is_fw_tbl) { in dr_action_handle_cs_recalc()
606 *final_icm_addr = dest_action->dest_tbl->fw_tbl.rx_icm_addr; in dr_action_handle_cs_recalc()
618 ret = mlx5dr_domain_get_recalc_cs_ft_addr(dest_action->vport->dmn, in dr_action_handle_cs_recalc()
619 dest_action->vport->caps->num, in dr_action_handle_cs_recalc()
768 struct mlx5dr_action *dest_action = NULL; in mlx5dr_actions_build_ste_arr() local
794 dest_action = action; in mlx5dr_actions_build_ste_arr()
883 dest_action = action; in mlx5dr_actions_build_ste_arr()
953 if (recalc_cs_required && dest_action) { in mlx5dr_actions_build_ste_arr()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dfs_hws.c751 struct mlx5hws_action *dest_action; in mlx5_fs_fte_get_hws_actions() local
940 dest_action = mlx5_fs_get_dest_action_drop(fs_ctx); in mlx5_fs_fte_get_hws_actions()
941 if (!dest_action) { in mlx5_fs_fte_get_hws_actions()
945 dest_actions[num_dest_actions++].dest = dest_action; in mlx5_fs_fte_get_hws_actions()
964 dest_action = mlx5_fs_get_dest_action_ft(fs_ctx, dst); in mlx5_fs_fte_get_hws_actions()
970 dest_action = mlx5_fs_get_dest_action_table_num(fs_ctx, in mlx5_fs_fte_get_hws_actions()
972 if (dest_action) in mlx5_fs_fte_get_hws_actions()
974 dest_action = mlx5_fs_create_dest_action_table_num(fs_ctx, in mlx5_fs_fte_get_hws_actions()
976 fs_actions[num_fs_actions++].action = dest_action; in mlx5_fs_fte_get_hws_actions()
979 dest_action = mlx5_fs_create_dest_action_range(ctx, dst); in mlx5_fs_fte_get_hws_actions()
[all …]