Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.c374 find_flow_rule(struct fs_fte *fte,
600 static void modify_fte(struct fs_fte *fte) in modify_fte() argument
608 fs_get_obj(fg, fte->node.parent); in modify_fte()
610 dev = get_dev(&fte->node); in modify_fte()
613 err = root->cmds->update_fte(root, ft, fg, fte->act_dests.modify_mask, fte); in modify_fte()
617 __func__, fg->id, fte->index); in modify_fte()
618 fte->act_dests.modify_mask = 0; in modify_fte()
624 struct fs_fte *fte; in del_sw_hw_dup_rule() local
627 fs_get_obj(fte, rule->node.parent); in del_sw_hw_dup_rule()
649 struct fs_fte *fte; in del_sw_hw_rule() local
[all …]
H A Dfs_cmd.c94 struct fs_fte *fte) in mlx5_cmd_stub_create_fte() argument
103 struct fs_fte *fte) in mlx5_cmd_stub_update_fte() argument
110 struct fs_fte *fte) in mlx5_cmd_stub_delete_fte() argument
482 struct fs_fte *fte, bool *extended_dest) in mlx5_set_extended_dest() argument
491 if (!(fte->act_dests.action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST)) in mlx5_set_extended_dest()
494 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_set_extended_dest()
521 mlx5_cmd_set_fte_flow_meter(struct fs_fte *fte, void *in_flow_context) in mlx5_cmd_set_fte_flow_meter() argument
530 fte->act_dests.action.exe_aso.object_id); in mlx5_cmd_set_fte_flow_meter()
534 fte->act_dests.action.exe_aso.return_reg_id); in mlx5_cmd_set_fte_flow_meter()
536 fte->act_dests.action.exe_aso.type); in mlx5_cmd_set_fte_flow_meter()
[all …]
H A Dfs_cmd.h62 struct fs_fte *fte);
68 struct fs_fte *fte);
72 struct fs_fte *fte);
H A Dfs_core.h411 #define fs_for_each_dst(pos, fte) \ argument
412 fs_list_for_each_entry(pos, &(fte)->node.children)
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dfs_hws.c742 struct fs_fte *fte, in mlx5_fs_fte_get_hws_actions() argument
745 struct mlx5_flow_act *fte_action = &fte->act_dests.action; in mlx5_fs_fte_get_hws_actions()
879 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_fs_fte_get_hws_actions()
906 if (fte->act_dests.flow_context.flow_tag) { in mlx5_fs_fte_get_hws_actions()
916 (*ractions)[num_actions].tag.value = fte->act_dests.flow_context.flow_tag; in mlx5_fs_fte_get_hws_actions()
952 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_fs_fte_get_hws_actions()
1052 fte->fs_hws_rule.num_fs_actions = num_fs_actions; in mlx5_fs_fte_get_hws_actions()
1053 fte->fs_hws_rule.hws_fs_actions = fs_actions; in mlx5_fs_fte_get_hws_actions()
1073 struct fs_fte *fte) in mlx5_cmd_hws_create_fte() argument
1081 return mlx5_fs_cmd_get_fw_cmds()->create_fte(ns, ft, group, fte); in mlx5_cmd_hws_create_fte()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c1225 struct mlx5_flow_handle *fte; in ipsec_counter_rule_tx() local
1238 fte = mlx5_add_flow_rules(tx->ft.status, spec, &flow_act, &dest, 1); in ipsec_counter_rule_tx()
1239 if (IS_ERR(fte)) { in ipsec_counter_rule_tx()
1240 err = PTR_ERR(fte); in ipsec_counter_rule_tx()
1246 tx->status.rule = fte; in ipsec_counter_rule_tx()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_types.h1540 struct mlx5dr_cmd_fte_info *fte);