Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.h181 TP_PROTO(const struct fs_fte *fte, int new_fte),
182 TP_ARGS(fte, new_fte),
184 __field(const struct fs_fte *, fte)
201 __entry->fte = fte;
203 fs_get_obj(__entry->fg, fte->node.parent);
205 __entry->index = fte->index;
206 __entry->action = fte->action.action;
208 __entry->flow_tag = fte->flow_context.flow_tag;
209 __entry->flow_source = fte->flow_context.flow_source;
227 &fte->val,
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dfs_dr.c256 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()
299 match_sz = sizeof(fte->val); in mlx5_cmd_dr_create_fte()
302 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST) { in mlx5_cmd_dr_create_fte()
303 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_cmd_dr_create_fte()
307 fte->action.action &= ~MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT; in mlx5_cmd_dr_create_fte()
317 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_DECAP) { in mlx5_cmd_dr_create_fte()
333 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT) { in mlx5_cmd_dr_create_fte()
336 if (fte->action.pkt_reformat->owner == MLX5_FLOW_RESOURCE_OWNER_FW) { in mlx5_cmd_dr_create_fte()
342 is_decap = fte->action.pkt_reformat->reformat_type == in mlx5_cmd_dr_create_fte()
[all …]
Ddr_cmd.c745 struct mlx5dr_cmd_fte_info *fte, in mlx5dr_cmd_set_extended_dest() argument
754 if (!(fte->action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST)) in mlx5dr_cmd_set_extended_dest()
756 for (i = 0; i < fte->dests_size; i++) { in mlx5dr_cmd_set_extended_dest()
757 if (fte->dest_arr[i].type == MLX5_FLOW_DESTINATION_TYPE_COUNTER || in mlx5dr_cmd_set_extended_dest()
758 fte->dest_arr[i].type == MLX5_FLOW_DESTINATION_TYPE_NONE) in mlx5dr_cmd_set_extended_dest()
760 if ((fte->dest_arr[i].type == MLX5_FLOW_DESTINATION_TYPE_VPORT || in mlx5dr_cmd_set_extended_dest()
761 fte->dest_arr[i].type == MLX5_FLOW_DESTINATION_TYPE_UPLINK) && in mlx5dr_cmd_set_extended_dest()
762 fte->dest_arr[i].vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID) in mlx5dr_cmd_set_extended_dest()
787 struct mlx5dr_cmd_fte_info *fte) in mlx5dr_cmd_set_fte() argument
800 if (mlx5dr_cmd_set_extended_dest(dev, fte, &extended_dest)) in mlx5dr_cmd_set_fte()
[all …]
Ddr_types.h1539 struct mlx5dr_cmd_fte_info *fte);
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
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
457 struct fs_fte *fte, bool *extended_dest) in mlx5_set_extended_dest() argument
466 if (!(fte->action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST)) in mlx5_set_extended_dest()
469 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_set_extended_dest()
496 mlx5_cmd_set_fte_flow_meter(struct fs_fte *fte, void *in_flow_context) in mlx5_cmd_set_fte_flow_meter() argument
505 fte->action.exe_aso.object_id); in mlx5_cmd_set_fte_flow_meter()
509 fte->action.exe_aso.return_reg_id); in mlx5_cmd_set_fte_flow_meter()
511 fte->action.exe_aso.type); in mlx5_cmd_set_fte_flow_meter()
[all …]
Dfs_core.c369 find_flow_rule(struct fs_fte *fte,
595 static void modify_fte(struct fs_fte *fte) in modify_fte() argument
603 fs_get_obj(fg, fte->node.parent); in modify_fte()
605 dev = get_dev(&fte->node); in modify_fte()
608 err = root->cmds->update_fte(root, ft, fg, fte->modify_mask, fte); in modify_fte()
612 __func__, fg->id, fte->index); in modify_fte()
613 fte->modify_mask = 0; in modify_fte()
619 struct fs_fte *fte; in del_sw_hw_rule() local
622 fs_get_obj(fte, rule->node.parent); in del_sw_hw_rule()
631 --fte->dests_size; in del_sw_hw_rule()
[all …]
Dfs_cmd.h62 struct fs_fte *fte);
68 struct fs_fte *fte);
72 struct fs_fte *fte);
Dfs_core.h357 #define fs_for_each_dst(pos, fte) \ argument
358 fs_list_for_each_entry(pos, &(fte)->node.children)
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_fs.c627 struct mlx5_flow_handle *fte; in ipsec_counter_rule_tx() local
640 fte = mlx5_add_flow_rules(tx->ft.status, spec, &flow_act, &dest, 1); in ipsec_counter_rule_tx()
641 if (IS_ERR(fte)) { in ipsec_counter_rule_tx()
642 err = PTR_ERR(fte); in ipsec_counter_rule_tx()
648 tx->status.rule = fte; in ipsec_counter_rule_tx()