Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmod_hdr.c167 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()
180 if (mod_hdr_acts->is_static) { in mlx5e_mod_hdr_alloc()
184 mod_hdr_acts->is_static = false; in mlx5e_mod_hdr_alloc()
194 mod_hdr_acts->actions = ret; in mlx5e_mod_hdr_alloc()
198 return mod_hdr_acts->actions + (mod_hdr_acts->num_actions * MLX5_MH_ACT_SZ); in mlx5e_mod_hdr_alloc()
204 if (!mod_hdr_acts->is_static) in mlx5e_mod_hdr_dealloc()
205 kfree(mod_hdr_acts->actions); in mlx5e_mod_hdr_dealloc()
207 mod_hdr_acts->actions = NULL; in mlx5e_mod_hdr_dealloc()
208 mod_hdr_acts->num_actions = 0; in mlx5e_mod_hdr_dealloc()
[all …]
H A 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);
H A Dtc_priv.h41 struct mlx5e_tc_mod_hdr_acts mod_hdr_acts; member
H A 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()
H A Dtc_ct.c1949 err = mlx5e_tc_match_to_reg_set(priv->mdev, &attr->parse_attr->mod_hdr_acts, in __mlx5_tc_ct_flow_offload()
1961 err = mlx5e_tc_match_to_reg_set(priv->mdev, &attr->parse_attr->mod_hdr_acts, in __mlx5_tc_ct_flow_offload()
1999 err = mlx5_tc_ct_entry_set_registers(priv, &attr->parse_attr->mod_hdr_acts, in mlx5_tc_ct_flow_offload()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.h263 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
269 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
284 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
H A Den_tc.c259 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_tc_match_to_reg_set_and_get_id() argument
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
545 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_tc_match_to_reg_mod_hdr_change() argument
666 &attr->parse_attr->mod_hdr_acts); in mlx5e_tc_attach_mod_hdr()
2134 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts; in mlx5e_get_flow_tunnel_id() local
2200 mod_hdr_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_get_flow_tunnel_id()
2202 mod_hdr_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5e_get_flow_tunnel_id()
3207 mod_acts = &parse_attr->mod_hdr_acts; in offload_pedit_fields()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dact.c126 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_act_set_next_post_act()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dsample.c531 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_sample_offload()