Searched refs:mod_acts (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | tc_ct.c | 490 struct mlx5e_tc_mod_hdr_acts *mod_acts, in mlx5_tc_ct_entry_set_registers() argument 500 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers() 505 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers() 510 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers() 515 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers() 525 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers() 607 struct mlx5e_tc_mod_hdr_acts *mod_acts) in mlx5_tc_ct_entry_create_nat() argument 622 mod_acts); in mlx5_tc_ct_entry_create_nat() 626 modact = mod_acts->actions + in mlx5_tc_ct_entry_create_nat() 627 mod_acts->num_actions * action_size; in mlx5_tc_ct_entry_create_nat() [all …]
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| D | indir_table.c | 124 struct mlx5e_tc_mod_hdr_acts mod_acts = {}; in mlx5_esw_indir_table_rule_get() local 198 err = mlx5e_tc_match_to_reg_set(esw->dev, &mod_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get() 203 err = mlx5e_tc_match_to_reg_set(esw->dev, &mod_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get() 209 mod_acts.num_actions, mod_acts.actions); in mlx5_esw_indir_table_rule_get() 229 dealloc_mod_hdr_actions(&mod_acts); in mlx5_esw_indir_table_rule_get() 246 dealloc_mod_hdr_actions(&mod_acts); in mlx5_esw_indir_table_rule_get()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| D | sample.c | 235 struct mlx5e_tc_mod_hdr_acts mod_acts = {}; in sample_modify_hdr_get() local 239 err = mlx5e_tc_match_to_reg_set(mdev, &mod_acts, MLX5_FLOW_NAMESPACE_FDB, in sample_modify_hdr_get() 245 err = mlx5e_tc_post_act_set_handle(mdev, handle, &mod_acts); in sample_modify_hdr_get() 251 mod_acts.num_actions, in sample_modify_hdr_get() 252 mod_acts.actions); in sample_modify_hdr_get() 258 dealloc_mod_hdr_actions(&mod_acts); in sample_modify_hdr_get() 263 dealloc_mod_hdr_actions(&mod_acts); in sample_modify_hdr_get()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_tc.c | 2695 struct mlx5e_tc_mod_hdr_acts *mod_acts; in offload_pedit_fields() local 2701 mod_acts = &parse_attr->mod_hdr_acts; in offload_pedit_fields() 2779 err = alloc_mod_hdr_actions(priv->mdev, namespace, mod_acts); in offload_pedit_fields() 2785 mod_acts->num_actions); in offload_pedit_fields() 2789 action = mod_acts->actions + in offload_pedit_fields() 2790 (mod_acts->num_actions * action_size); in offload_pedit_fields() 2814 ++mod_acts->num_actions; in offload_pedit_fields()
|