Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en/
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 …]
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);
A Dtc_priv.h41 struct mlx5e_tc_mod_hdr_acts mod_hdr_acts; member
A Dtc_tun_encap.c720 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_set_vf_tunnel() argument
746 err = mlx5e_tc_match_to_reg_set_and_get_id(esw->dev, mod_hdr_acts, in mlx5e_set_vf_tunnel()
761 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, in mlx5e_update_vf_tunnel() argument
786 mlx5e_tc_match_to_reg_mod_hdr_change(esw->dev, mod_hdr_acts, VPORT_TO_REG, act_id, data); in mlx5e_update_vf_tunnel()
1378 err = mlx5e_set_vf_tunnel(esw, attr, &parse_attr->mod_hdr_acts, e->out_dev, in mlx5e_attach_encap_route()
1527 err = mlx5e_update_vf_tunnel(esw, esw_attr, &parse_attr->mod_hdr_acts, in mlx5e_reoffload_encap()
A Dtc_ct.c1999 err = mlx5e_tc_match_to_reg_set(priv->mdev, &attr->parse_attr->mod_hdr_acts, in __mlx5_tc_ct_flow_offload()
2011 err = mlx5e_tc_match_to_reg_set(priv->mdev, &attr->parse_attr->mod_hdr_acts, in __mlx5_tc_ct_flow_offload()
2049 err = mlx5_tc_ct_entry_set_registers(priv, &attr->parse_attr->mod_hdr_acts, in mlx5_tc_ct_flow_offload()
/drivers/net/ethernet/mellanox/mlx5/core/
A 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,
A Den_tc.c283 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()
1824 &parse_attr->mod_hdr_acts); in extra_split_attr_dests()
2251 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts; in mlx5e_get_flow_tunnel_id() local
2317 mod_hdr_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_get_flow_tunnel_id()
2319 mod_hdr_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5e_get_flow_tunnel_id()
3323 mod_acts = &parse_attr->mod_hdr_acts; in offload_pedit_fields()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
A Dact.c126 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_act_set_next_post_act()
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dsample.c531 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_sample_offload()

Completed in 31 milliseconds