Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c234 struct mlx5e_tc_mod_hdr_acts *mod_acts) in sample_modify_hdr_get() argument
239 err = mlx5e_tc_match_to_reg_set(mdev, mod_acts, MLX5_FLOW_NAMESPACE_FDB, in sample_modify_hdr_get()
245 mod_acts->num_actions, in sample_modify_hdr_get()
246 mod_acts->actions); in sample_modify_hdr_get()
252 mlx5e_mod_hdr_dealloc(mod_acts); in sample_modify_hdr_get()
256 mlx5e_mod_hdr_dealloc(mod_acts); in sample_modify_hdr_get()
263 struct mlx5e_tc_mod_hdr_acts *mod_acts) in sample_restore_get() argument
283 modify_hdr = sample_modify_hdr_get(mdev, obj_id, mod_acts); in sample_restore_get()
476 struct mlx5e_tc_mod_hdr_acts *mod_acts; in mlx5e_tc_sample_offload() local
532 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_sample_offload()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.h114 struct mlx5e_tc_mod_hdr_acts *mod_acts,
133 struct mlx5e_tc_mod_hdr_acts *mod_acts);
178 struct mlx5e_tc_mod_hdr_acts *mod_acts) in mlx5_tc_ct_set_ct_clear_regs() argument
186 struct mlx5e_tc_mod_hdr_acts *mod_acts, in mlx5_tc_ct_parse_action() argument
Dtc_ct.c557 struct mlx5e_tc_mod_hdr_acts *mod_acts, in mlx5_tc_ct_entry_set_registers() argument
567 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers()
572 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers()
577 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers()
582 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers()
592 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers()
601 struct mlx5e_tc_mod_hdr_acts *mod_acts) in mlx5_tc_ct_set_ct_clear_regs() argument
603 return mlx5_tc_ct_entry_set_registers(priv, mod_acts, 0, 0, 0, 0); in mlx5_tc_ct_set_ct_clear_regs()
680 struct mlx5e_tc_mod_hdr_acts *mod_acts) in mlx5_tc_ct_entry_create_nat() argument
691 modact = mlx5e_mod_hdr_alloc(mdev, ct_priv->ns_type, mod_acts); in mlx5_tc_ct_entry_create_nat()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dact.c138 struct mlx5e_tc_mod_hdr_acts *mod_acts; in mlx5e_tc_act_set_next_post_act() local
141 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_act_set_next_post_act()
144 err = mlx5e_tc_post_act_set_handle(mdev, next_attr->post_act_handle, mod_acts); in mlx5e_tc_act_set_next_post_act()
Dct.c64 struct mlx5e_tc_mod_hdr_acts *mod_acts = &attr->parse_attr->mod_hdr_acts; in tc_act_post_parse_ct() local
72 err = mlx5_tc_ct_set_ct_clear_regs(parse_state->ct_priv, mod_acts); in tc_act_post_parse_ct()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dindir_table.c129 struct mlx5e_tc_mod_hdr_acts mod_acts = {}; in mlx5_esw_indir_table_rule_get() local
203 err = mlx5e_tc_match_to_reg_set(esw->dev, &mod_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get()
208 err = mlx5e_tc_match_to_reg_set(esw->dev, &mod_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get()
214 mod_acts.num_actions, mod_acts.actions); in mlx5_esw_indir_table_rule_get()
234 mlx5e_mod_hdr_dealloc(&mod_acts); in mlx5_esw_indir_table_rule_get()
251 mlx5e_mod_hdr_dealloc(&mod_acts); in mlx5_esw_indir_table_rule_get()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c1408 struct mlx5e_tc_mod_hdr_acts mod_acts = {}; in mlx5e_tc_offload_to_slow_path() local
1433 err = mlx5e_tc_match_to_reg_set(esw->dev, &mod_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5e_tc_offload_to_slow_path()
1439 MLX5_FLOW_NAMESPACE_FDB, &mod_acts); in mlx5e_tc_offload_to_slow_path()
1459 mlx5e_mod_hdr_dealloc(&mod_acts); in mlx5e_tc_offload_to_slow_path()
1472 mlx5e_mod_hdr_dealloc(&mod_acts); in mlx5e_tc_offload_to_slow_path()
3140 struct mlx5e_tc_mod_hdr_acts *mod_acts; in offload_pedit_fields() local
3146 mod_acts = &parse_attr->mod_hdr_acts; in offload_pedit_fields()
3222 action = mlx5e_mod_hdr_alloc(priv->mdev, namespace, mod_acts); in offload_pedit_fields()
3228 mod_acts->num_actions); in offload_pedit_fields()
3255 ++mod_acts->num_actions; in offload_pedit_fields()