Searched refs:mod_acts (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | sample.c | 234 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 531 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_sample_offload() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | indir_table.c | 101 struct mlx5e_tc_mod_hdr_acts mod_acts = {}; in mlx5_esw_indir_table_rule_get() local 120 err = mlx5e_tc_match_to_reg_set(esw->dev, &mod_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get() 125 err = mlx5e_tc_match_to_reg_set(esw->dev, &mod_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get() 131 mod_acts.num_actions, mod_acts.actions); in mlx5_esw_indir_table_rule_get() 152 mlx5e_mod_hdr_dealloc(&mod_acts); in mlx5_esw_indir_table_rule_get() 165 mlx5e_mod_hdr_dealloc(&mod_acts); in mlx5_esw_indir_table_rule_get()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | act.c | 123 struct mlx5e_tc_mod_hdr_acts *mod_acts; in mlx5e_tc_act_set_next_post_act() local 126 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_act_set_next_post_act() 129 err = mlx5e_tc_post_act_set_handle(mdev, next_attr->post_act_handle, mod_acts); in mlx5e_tc_act_set_next_post_act()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 564 struct mlx5e_tc_mod_hdr_acts *mod_acts, in mlx5_tc_ct_entry_set_registers() argument 574 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers() 579 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers() 584 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers() 589 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers() 599 err = mlx5e_tc_match_to_reg_set(dev, mod_acts, ns, in mlx5_tc_ct_entry_set_registers() 681 struct mlx5e_tc_mod_hdr_acts *mod_acts) in mlx5_tc_ct_entry_create_nat() argument 692 modact = mlx5e_mod_hdr_alloc(mdev, ct_priv->ns_type, mod_acts); in mlx5_tc_ct_entry_create_nat() 700 mod_acts->num_actions++; in mlx5_tc_ct_entry_create_nat() 723 DECLARE_MOD_HDR_ACTS(mod_acts, actions_arr); in mlx5_tc_ct_entry_create_mod_hdr() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 1501 struct mlx5e_tc_mod_hdr_acts mod_acts = {}; in mlx5e_tc_offload_to_slow_path() local 1526 err = mlx5e_tc_match_to_reg_set(esw->dev, &mod_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5e_tc_offload_to_slow_path() 1532 MLX5_FLOW_NAMESPACE_FDB, &mod_acts); in mlx5e_tc_offload_to_slow_path() 1552 mlx5e_mod_hdr_dealloc(&mod_acts); in mlx5e_tc_offload_to_slow_path() 1565 mlx5e_mod_hdr_dealloc(&mod_acts); in mlx5e_tc_offload_to_slow_path() 3318 struct mlx5e_tc_mod_hdr_acts *mod_acts; in offload_pedit_fields() local 3326 mod_acts = &parse_attr->mod_hdr_acts; in offload_pedit_fields() 3396 action = mlx5e_mod_hdr_alloc(priv->mdev, namespace, mod_acts); in offload_pedit_fields() 3402 mod_acts->num_actions); in offload_pedit_fields() 3428 ++mod_acts->num_actions; in offload_pedit_fields()
|