Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c81 struct fs_fte *fte; member
756 struct fs_fte *fte, in mlx5_fpga_ipsec_fs_create_sa_ctx() argument
764 fs_get_obj(fg, fte->node.parent); in mlx5_fpga_ipsec_fs_create_sa_ctx()
770 fte->val, in mlx5_fpga_ipsec_fs_create_sa_ctx()
771 &fte->action, in mlx5_fpga_ipsec_fs_create_sa_ctx()
772 &fte->flow_context)) in mlx5_fpga_ipsec_fs_create_sa_ctx()
777 fte->val)) in mlx5_fpga_ipsec_fs_create_sa_ctx()
782 (struct mlx5_accel_esp_xfrm *)fte->action.esp_id; in mlx5_fpga_ipsec_fs_create_sa_ctx()
786 fte->val)) { in mlx5_fpga_ipsec_fs_create_sa_ctx()
789 fte->val, in mlx5_fpga_ipsec_fs_create_sa_ctx()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dfs_dr.c213 struct fs_fte *fte) in mlx5_cmd_dr_create_fte() argument
232 return mlx5_fs_cmd_get_fw_cmds()->create_fte(ns, ft, group, fte); in mlx5_cmd_dr_create_fte()
246 match_sz = sizeof(fte->val); in mlx5_cmd_dr_create_fte()
253 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH) { in mlx5_cmd_dr_create_fte()
254 tmp_action = create_action_push_vlan(domain, &fte->action.vlan[0]); in mlx5_cmd_dr_create_fte()
263 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH_2) { in mlx5_cmd_dr_create_fte()
264 tmp_action = create_action_push_vlan(domain, &fte->action.vlan[1]); in mlx5_cmd_dr_create_fte()
273 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_DECAP) { in mlx5_cmd_dr_create_fte()
288 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT) { in mlx5_cmd_dr_create_fte()
289 bool is_decap = fte->action.pkt_reformat->reformat_type == in mlx5_cmd_dr_create_fte()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c244 find_flow_rule(struct fs_fte *fte,
455 static void modify_fte(struct fs_fte *fte) in modify_fte() argument
463 fs_get_obj(fg, fte->node.parent); in modify_fte()
465 dev = get_dev(&fte->node); in modify_fte()
468 err = root->cmds->update_fte(root, ft, fg, fte->modify_mask, fte); in modify_fte()
472 __func__, fg->id, fte->index); in modify_fte()
473 fte->modify_mask = 0; in modify_fte()
479 struct fs_fte *fte; in del_sw_hw_rule() local
482 fs_get_obj(fte, rule->node.parent); in del_sw_hw_rule()
491 --fte->dests_size) { in del_sw_hw_rule()
[all …]
Dfs_cmd.c89 struct fs_fte *fte) in mlx5_cmd_stub_create_fte() argument
98 struct fs_fte *fte) in mlx5_cmd_stub_update_fte() argument
105 struct fs_fte *fte) in mlx5_cmd_stub_delete_fte() argument
364 struct fs_fte *fte, bool *extended_dest) in mlx5_set_extended_dest() argument
373 if (!(fte->action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST)) in mlx5_set_extended_dest()
376 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_set_extended_dest()
403 struct fs_fte *fte) in mlx5_cmd_set_fte() argument
416 if (mlx5_set_extended_dest(dev, fte, &extended_dest)) in mlx5_cmd_set_fte()
424 inlen = MLX5_ST_SZ_BYTES(set_fte_in) + fte->dests_size * dst_cnt_size; in mlx5_cmd_set_fte()
434 MLX5_SET(set_fte_in, in, flow_index, fte->index); in mlx5_cmd_set_fte()
[all …]
Dfs_cmd.h62 struct fs_fte *fte);
68 struct fs_fte *fte);
72 struct fs_fte *fte);
Dfs_core.h307 #define fs_for_each_dst(pos, fte) \ argument
308 fs_list_for_each_entry(pos, &(fte)->node.children)