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

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A 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
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Dfs_dr.c263 struct fs_fte *fte)
283 return mlx5_fs_cmd_get_fw_cmds()->create_fte(ns, ft, group, fte);
306 match_sz = sizeof(fte->val);
309 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST) {
310 list_for_each_entry(dst, &fte->node.children, node.list) {
314 fte->action.action &= ~MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT;
324 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_DECAP) {
340 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT) {
343 if (fte->action.pkt_reformat->owner == MLX5_FLOW_RESOURCE_OWNER_FW) {
349 is_decap = fte
260 mlx5_cmd_dr_create_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, struct fs_fte *fte) argument
735 mlx5_cmd_dr_delete_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct fs_fte *fte) argument
759 mlx5_cmd_dr_update_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, int modify_mask, struct fs_fte *fte) argument
[all...]
H A Ddr_cmd.c745 struct mlx5dr_cmd_fte_info *fte,
754 if (!(fte->action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST))
756 for (i = 0; i < fte->dests_size; i++) {
757 if (fte->dest_arr[i].type == MLX5_FLOW_DESTINATION_TYPE_COUNTER ||
758 fte->dest_arr[i].type == MLX5_FLOW_DESTINATION_TYPE_NONE)
760 if ((fte->dest_arr[i].type == MLX5_FLOW_DESTINATION_TYPE_VPORT ||
761 fte->dest_arr[i].type == MLX5_FLOW_DESTINATION_TYPE_UPLINK) &&
762 fte->dest_arr[i].vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID)
787 struct mlx5dr_cmd_fte_info *fte)
800 if (mlx5dr_cmd_set_extended_dest(dev, fte,
744 mlx5dr_cmd_set_extended_dest(struct mlx5_core_dev *dev, struct mlx5dr_cmd_fte_info *fte, bool *extended_dest) argument
783 mlx5dr_cmd_set_fte(struct mlx5_core_dev *dev, int opmod, int modify_mask, struct mlx5dr_cmd_ft_info *ft, u32 group_id, struct mlx5dr_cmd_fte_info *fte) argument
[all...]
H A Ddr_types.h1536 struct mlx5dr_cmd_fte_info *fte);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c94 struct fs_fte *fte)
103 struct fs_fte *fte)
110 struct fs_fte *fte)
457 struct fs_fte *fte, bool *extended_dest)
466 if (!(fte->action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST))
469 list_for_each_entry(dst, &fte->node.children, node.list) {
496 mlx5_cmd_set_fte_flow_meter(struct fs_fte *fte, void *in_flow_context) argument
505 fte->action.exe_aso.object_id);
509 fte->action.exe_aso.return_reg_id);
511 fte
91 mlx5_cmd_stub_create_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, struct fs_fte *fte) argument
99 mlx5_cmd_stub_update_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, int modify_mask, struct fs_fte *fte) argument
108 mlx5_cmd_stub_delete_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct fs_fte *fte) argument
456 mlx5_set_extended_dest(struct mlx5_core_dev *dev, struct fs_fte *fte, bool *extended_dest) argument
518 mlx5_cmd_set_fte(struct mlx5_core_dev *dev, int opmod, int modify_mask, struct mlx5_flow_table *ft, unsigned group_id, struct fs_fte *fte) argument
749 mlx5_cmd_create_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *group, struct fs_fte *fte) argument
760 mlx5_cmd_update_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct mlx5_flow_group *fg, int modify_mask, struct fs_fte *fte) argument
778 mlx5_cmd_delete_fte(struct mlx5_flow_root_namespace *ns, struct mlx5_flow_table *ft, struct fs_fte *fte) argument
[all...]
H A Dfs_core.c369 find_flow_rule(struct fs_fte *fte,
595 static void modify_fte(struct fs_fte *fte) argument
603 fs_get_obj(fg, fte->node.parent);
605 dev = get_dev(&fte->node);
608 err = root->cmds->update_fte(root, ft, fg, fte->modify_mask, fte);
612 __func__, fg->id, fte->index);
613 fte->modify_mask = 0;
619 struct fs_fte *fte; local
622 fs_get_obj(fte, rul
667 struct fs_fte *fte; local
692 struct fs_fte *fte; local
747 insert_fte(struct mlx5_flow_group *fg, struct fs_fte *fte) argument
777 struct fs_fte *fte; local
1112 struct fs_fte *fte; local
1456 destroy_flow_handle(struct fs_fte *fte, struct mlx5_flow_handle *handle, struct mlx5_flow_destination *dest, int i) argument
1472 create_flow_handle(struct fs_fte *fte, struct mlx5_flow_destination *dest, int dest_num, int *modify_mask, bool *new_rule) argument
1535 add_rule_fte(struct fs_fte *fte, struct mlx5_flow_group *fg, struct mlx5_flow_destination *dest, int dest_num, bool update_action) argument
1710 find_flow_rule(struct fs_fte *fte, struct mlx5_flow_destination *dest) argument
1773 check_conflicting_ftes(struct fs_fte *fte, const struct mlx5_flow_context *flow_context, const struct mlx5_flow_act *flow_act) argument
1795 add_rule_fg(struct mlx5_flow_group *fg, const struct mlx5_flow_spec *spec, struct mlx5_flow_act *flow_act, struct mlx5_flow_destination *dest, int dest_num, struct fs_fte *fte) argument
1978 struct fs_fte *fte; local
2077 struct fs_fte *fte; local
2247 struct fs_fte *fte; local
[all...]
H A Dfs_cmd.h62 struct fs_fte *fte);
68 struct fs_fte *fte);
72 struct fs_fte *fte);
H A Dfs_core.h357 #define fs_for_each_dst(pos, fte) \
358 fs_list_for_each_entry(pos, &(fte)->node.children)
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c865 struct mlx5_flow_handle *fte; local
873 /* create fte */
878 fte = mlx5_add_flow_rules(tx->ft.status, spec, &flow_act, &dest, 1);
879 if (IS_ERR(fte)) {
880 err = PTR_ERR(fte);
886 tx->status.rule = fte;

Completed in 195 milliseconds