Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Dfs_dr.c255 struct fs_fte *fte) in mlx5_cmd_dr_create_fte() argument
276 return mlx5_fs_cmd_get_fw_cmds()->create_fte(ns, ft, group, fte); in mlx5_cmd_dr_create_fte()
297 match_sz = sizeof(fte->val); in mlx5_cmd_dr_create_fte()
300 if (fte->act_dests.action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST) { in mlx5_cmd_dr_create_fte()
301 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_cmd_dr_create_fte()
305 fte->act_dests.action.action &= ~MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT; in mlx5_cmd_dr_create_fte()
315 if (fte->act_dests.action.action & MLX5_FLOW_CONTEXT_ACTION_DECAP) { in mlx5_cmd_dr_create_fte()
331 if (fte->act_dests.action.action & MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT) { in mlx5_cmd_dr_create_fte()
334 pkt_reformat = fte->act_dests.action.pkt_reformat; in mlx5_cmd_dr_create_fte()
351 if (fte->act_dests.action.action & MLX5_FLOW_CONTEXT_ACTION_VLAN_POP) { in mlx5_cmd_dr_create_fte()
[all …]
H A Ddr_types.h1540 struct mlx5dr_cmd_fte_info *fte);
/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()
876 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_fs_fte_get_hws_actions()
903 if (fte->act_dests.flow_context.flow_tag) { in mlx5_fs_fte_get_hws_actions()
913 (*ractions)[num_actions].tag.value = fte->act_dests.flow_context.flow_tag; in mlx5_fs_fte_get_hws_actions()
949 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_fs_fte_get_hws_actions()
1049 fte->fs_hws_rule.num_fs_actions = num_fs_actions; in mlx5_fs_fte_get_hws_actions()
1050 fte->fs_hws_rule.hws_fs_actions = fs_actions; in mlx5_fs_fte_get_hws_actions()
1070 struct fs_fte *fte) in mlx5_cmd_hws_create_fte() argument
1078 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 Dpsp.c141 struct mlx5_flow_handle *fte; in accel_psp_fs_rx_err_add_rule() local
176 fte = mlx5_add_flow_rules(rx_err->ft, spec, &flow_act, dest, 2); in accel_psp_fs_rx_err_add_rule()
177 if (IS_ERR(fte)) { in accel_psp_fs_rx_err_add_rule()
178 err = PTR_ERR(fte); in accel_psp_fs_rx_err_add_rule()
182 rx_err->rule = fte; in accel_psp_fs_rx_err_add_rule()
193 fte = mlx5_add_flow_rules(rx_err->ft, spec, &flow_act, dest, 1); in accel_psp_fs_rx_err_add_rule()
194 if (IS_ERR(fte)) { in accel_psp_fs_rx_err_add_rule()
195 err = PTR_ERR(fte); in accel_psp_fs_rx_err_add_rule()
200 rx_err->auth_fail_rule = fte; in accel_psp_fs_rx_err_add_rule()
211 fte = mlx5_add_flow_rules(rx_err->ft, spec, &flow_act, dest, 1); in accel_psp_fs_rx_err_add_rule()
[all …]
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/
H A Dfs_cmd.h62 struct fs_fte *fte);
68 struct fs_fte *fte);
72 struct fs_fte *fte);