Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmod_hdr.c75 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts) in mlx5e_mod_hdr_attach() argument
82 num_actions = mod_hdr_acts->num_actions; in mlx5e_mod_hdr_attach()
85 key.actions = mod_hdr_acts->actions; in mlx5e_mod_hdr_attach()
161 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts) in mlx5e_mod_hdr_alloc() argument
167 if (mod_hdr_acts->num_actions < mod_hdr_acts->max_actions) in mlx5e_mod_hdr_alloc()
172 mod_hdr_acts->actions ? in mlx5e_mod_hdr_alloc()
173 mod_hdr_acts->max_actions * 2 : 1); in mlx5e_mod_hdr_alloc()
174 if (mod_hdr_acts->max_actions == new_num_actions) in mlx5e_mod_hdr_alloc()
178 old_sz = mod_hdr_acts->max_actions * MLX5_MH_ACT_SZ; in mlx5e_mod_hdr_alloc()
180 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_priv.h41 struct mlx5e_tc_mod_hdr_acts mod_hdr_acts; member
Dtc_tun_encap.c712 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_set_vf_tunnel() argument
738 err = mlx5e_tc_match_to_reg_set_and_get_id(esw->dev, mod_hdr_acts, in mlx5e_set_vf_tunnel()
754 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_update_vf_tunnel() argument
779 mlx5e_tc_match_to_reg_mod_hdr_change(esw->dev, mod_hdr_acts, VPORT_TO_REG, act_id, data); in mlx5e_update_vf_tunnel()
1372 err = mlx5e_set_vf_tunnel(esw, attr, &parse_attr->mod_hdr_acts, e->out_dev, in mlx5e_attach_encap_route()
1521 err = mlx5e_update_vf_tunnel(esw, esw_attr, &parse_attr->mod_hdr_acts, in mlx5e_reoffload_encap()
Dtc_ct.c1967 err = mlx5e_tc_match_to_reg_set(priv->mdev, &attr->parse_attr->mod_hdr_acts, in __mlx5_tc_ct_flow_offload()
1979 err = mlx5e_tc_match_to_reg_set(priv->mdev, &attr->parse_attr->mod_hdr_acts, in __mlx5_tc_ct_flow_offload()
2017 err = mlx5_tc_ct_entry_set_registers(priv, &attr->parse_attr->mod_hdr_acts, in mlx5_tc_ct_flow_offload()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h262 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
268 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
283 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
Den_tc.c259 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_tc_match_to_reg_set_and_get_id() argument
270 modact = mlx5e_mod_hdr_alloc(mdev, ns, mod_hdr_acts); in mlx5e_tc_match_to_reg_set_and_get_id()
283 err = mod_hdr_acts->num_actions; in mlx5e_tc_match_to_reg_set_and_get_id()
284 mod_hdr_acts->num_actions++; in mlx5e_tc_match_to_reg_set_and_get_id()
534 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_tc_match_to_reg_set() argument
539 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()
545 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_tc_match_to_reg_mod_hdr_change() argument
554 modact = mlx5e_mod_hdr_get_item(mod_hdr_acts, act_id); in mlx5e_tc_match_to_reg_mod_hdr_change()
666 &attr->parse_attr->mod_hdr_acts); in mlx5e_tc_attach_mod_hdr()
1435 mlx5e_mod_hdr_dealloc(&attr->parse_attr->mod_hdr_acts); in mlx5e_tc_del_nic_flow()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dact.c126 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_act_set_next_post_act()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c531 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_sample_offload()