Searched refs:fte (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fs_tracepoint.h | 181 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->act_dests.action.action; 208 __entry->flow_tag = fte->act_dests.flow_context.flow_tag; 209 __entry->flow_source = fte->act_dests.flow_context.flow_source; 227 &fte->val, [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | fs_dr.c | 255 struct fs_fte *fte) in mlx5_cmd_dr_create_fte() argument 275 return mlx5_fs_cmd_get_fw_cmds()->create_fte(ns, ft, group, fte); in mlx5_cmd_dr_create_fte() 298 match_sz = sizeof(fte->val); in mlx5_cmd_dr_create_fte() 301 if (fte->act_dests.action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST) { in mlx5_cmd_dr_create_fte() 302 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_cmd_dr_create_fte() 306 fte->act_dests.action.action &= ~MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT; in mlx5_cmd_dr_create_fte() 316 if (fte->act_dests.action.action & MLX5_FLOW_CONTEXT_ACTION_DECAP) { in mlx5_cmd_dr_create_fte() 332 if (fte->act_dests.action.action & MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT) { in mlx5_cmd_dr_create_fte() 335 if (fte->act_dests.action.pkt_reformat->owner == MLX5_FLOW_RESOURCE_OWNER_FW) { in mlx5_cmd_dr_create_fte() 341 is_decap = fte->act_dests.action.pkt_reformat->reformat_type == in mlx5_cmd_dr_create_fte() [all …]
|
H A D | dr_cmd.c | 745 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 …]
|
H A D | dr_types.h | 1541 struct mlx5dr_cmd_fte_info *fte);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_core.c | 369 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->act_dests.modify_mask, fte); in modify_fte() 612 __func__, fg->id, fte->index); in modify_fte() 613 fte->act_dests.modify_mask = 0; in modify_fte() 619 struct fs_fte *fte; in del_sw_hw_dup_rule() local 622 fs_get_obj(fte, rule->node.parent); in del_sw_hw_dup_rule() 644 struct fs_fte *fte; in del_sw_hw_rule() local [all …]
|
H A D | fs_cmd.c | 94 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->act_dests.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->act_dests.action.exe_aso.object_id); in mlx5_cmd_set_fte_flow_meter() 509 fte->act_dests.action.exe_aso.return_reg_id); in mlx5_cmd_set_fte_flow_meter() 511 fte->act_dests.action.exe_aso.type); in mlx5_cmd_set_fte_flow_meter() [all …]
|
H A D | fs_cmd.h | 62 struct fs_fte *fte); 68 struct fs_fte *fte); 72 struct fs_fte *fte);
|
H A D | fs_core.h | 369 #define fs_for_each_dst(pos, fte) \ argument 370 fs_list_for_each_entry(pos, &(fte)->node.children)
|