Home
last modified time | relevance | path

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

/Linux-v6.1/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.h122 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts);
198 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts) in mlx5_tc_ct_flow_offload() argument
Dtc_priv.h41 struct mlx5e_tc_mod_hdr_acts mod_hdr_acts; member
Dtc_tun_encap.c660 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_set_vf_tunnel() argument
686 err = mlx5e_tc_match_to_reg_set_and_get_id(esw->dev, mod_hdr_acts, in mlx5e_set_vf_tunnel()
702 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_update_vf_tunnel() argument
727 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-v6.1/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.c141 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_act_set_next_post_act()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h257 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
263 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
278 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
Den_tc.c240 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_tc_match_to_reg_set_and_get_id() argument
251 modact = mlx5e_mod_hdr_alloc(mdev, ns, mod_hdr_acts); in mlx5e_tc_match_to_reg_set_and_get_id()
264 err = mod_hdr_acts->num_actions; in mlx5e_tc_match_to_reg_set_and_get_id()
265 mod_hdr_acts->num_actions++; in mlx5e_tc_match_to_reg_set_and_get_id()
450 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts = in mlx5e_tc_rule_offload() local
451 &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_rule_offload()
455 mod_hdr_acts); in mlx5e_tc_rule_offload()
503 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_tc_match_to_reg_set() argument
508 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()
514 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_tc_match_to_reg_mod_hdr_change() argument
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c532 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_sample_offload()