Home
last modified time | relevance | path

Searched refs:mod_hdr_acts (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/ !
Dmod_hdr.c74 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts) in mlx5e_mod_hdr_attach() argument
81 num_actions = mod_hdr_acts->num_actions; in mlx5e_mod_hdr_attach()
84 key.actions = mod_hdr_acts->actions; in mlx5e_mod_hdr_attach()
160 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts) in mlx5e_mod_hdr_alloc() argument
166 if (mod_hdr_acts->num_actions < mod_hdr_acts->max_actions) in mlx5e_mod_hdr_alloc()
171 mod_hdr_acts->actions ? in mlx5e_mod_hdr_alloc()
172 mod_hdr_acts->max_actions * 2 : 1); in mlx5e_mod_hdr_alloc()
173 if (mod_hdr_acts->max_actions == new_num_actions) in mlx5e_mod_hdr_alloc()
177 old_sz = mod_hdr_acts->max_actions * MLX5_MH_ACT_SZ; in mlx5e_mod_hdr_alloc()
179 if (mod_hdr_acts->is_static) { in mlx5e_mod_hdr_alloc()
[all …]
Dmod_hdr.h32 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts);
33 void mlx5e_mod_hdr_dealloc(struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts);
34 char *mlx5e_mod_hdr_get_item(struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, int pos);
40 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts);
Dtc_ct.h123 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts);
199 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts) in mlx5_tc_ct_flow_offload() argument
Dtc_priv.h42 struct mlx5e_tc_mod_hdr_acts mod_hdr_acts; member
Dtc_tun_encap.c658 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_set_vf_tunnel() argument
684 err = mlx5e_tc_match_to_reg_set_and_get_id(esw->dev, mod_hdr_acts, in mlx5e_set_vf_tunnel()
700 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_update_vf_tunnel() argument
725 mlx5e_tc_match_to_reg_mod_hdr_change(esw->dev, mod_hdr_acts, VPORT_TO_REG, act_id, data); in mlx5e_update_vf_tunnel()
1249 err = mlx5e_set_vf_tunnel(esw, attr, &parse_attr->mod_hdr_acts, e->out_dev, in mlx5e_attach_encap_route()
1393 err = mlx5e_update_vf_tunnel(esw, esw_attr, &parse_attr->mod_hdr_acts, in mlx5e_reoffload_encap()
Dtc_ct.c1846 pre_mod_acts = &pre_ct_attr->parse_attr->mod_hdr_acts; in __mlx5_tc_ct_flow_offload()
1932 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts) in mlx5_tc_ct_flow_offload() argument
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ !
Dct.c39 &attr->parse_attr->mod_hdr_acts, in tc_act_parse_ct()
64 struct mlx5e_tc_mod_hdr_acts *mod_acts = &attr->parse_attr->mod_hdr_acts; in tc_act_post_parse_ct()
Dact.c169 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_act_set_next_post_act()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ !
Den_tc.h248 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
254 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
269 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
Den_tc.c196 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_tc_match_to_reg_set_and_get_id() argument
207 modact = mlx5e_mod_hdr_alloc(mdev, ns, mod_hdr_acts); in mlx5e_tc_match_to_reg_set_and_get_id()
220 err = mod_hdr_acts->num_actions; in mlx5e_tc_match_to_reg_set_and_get_id()
221 mod_hdr_acts->num_actions++; in mlx5e_tc_match_to_reg_set_and_get_id()
330 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts = in mlx5e_tc_rule_offload() local
331 &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_rule_offload()
335 mod_hdr_acts); in mlx5e_tc_rule_offload()
374 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_tc_match_to_reg_set() argument
379 int ret = mlx5e_tc_match_to_reg_set_and_get_id(mdev, mod_hdr_acts, ns, type, data); in mlx5e_tc_match_to_reg_set()
385 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_tc_match_to_reg_mod_hdr_change() argument
[all …]
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ !
Dsample.c532 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_sample_offload()