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

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmod_hdr.c75 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts)
82 num_actions = mod_hdr_acts->num_actions;
85 key.actions = mod_hdr_acts->actions;
161 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts)
167 if (mod_hdr_acts->num_actions < mod_hdr_acts->max_actions)
172 mod_hdr_acts->actions ?
173 mod_hdr_acts->max_actions * 2 : 1);
174 if (mod_hdr_acts->max_actions == new_num_actions)
178 old_sz = mod_hdr_acts
72 mlx5e_mod_hdr_attach(struct mlx5_core_dev *mdev, struct mod_hdr_tbl *tbl, enum mlx5_flow_namespace_type namespace, struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts) argument
160 mlx5e_mod_hdr_alloc(struct mlx5_core_dev *mdev, int namespace, struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts) argument
202 mlx5e_mod_hdr_dealloc(struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts) argument
213 mlx5e_mod_hdr_get_item(struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, int pos) argument
[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 in struct:mlx5e_tc_flow_parse_attr
H A Dtc_tun_encap.c712 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
738 err = mlx5e_tc_match_to_reg_set_and_get_id(esw->dev, mod_hdr_acts,
754 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
779 mlx5e_tc_match_to_reg_mod_hdr_change(esw->dev, mod_hdr_acts, VPORT_TO_REG, act_id, data);
1372 err = mlx5e_set_vf_tunnel(esw, attr, &parse_attr->mod_hdr_acts, e->out_dev,
1521 err = mlx5e_update_vf_tunnel(esw, esw_attr, &parse_attr->mod_hdr_acts,
710 mlx5e_set_vf_tunnel(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr, struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, struct net_device *out_dev, int route_dev_ifindex, int out_index) argument
752 mlx5e_update_vf_tunnel(struct mlx5_eswitch *esw, struct mlx5_esw_flow_attr *attr, struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, struct net_device *out_dev, int route_dev_ifindex, int out_index) argument
H A Dtc_ct.c1948 err = mlx5e_tc_match_to_reg_set(priv->mdev, &attr->parse_attr->mod_hdr_acts,
1960 err = mlx5e_tc_match_to_reg_set(priv->mdev, &attr->parse_attr->mod_hdr_acts,
1998 err = mlx5_tc_ct_entry_set_registers(priv, &attr->parse_attr->mod_hdr_acts,
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.h261 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
267 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
282 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
H A Den_tc.c259 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
270 modact = mlx5e_mod_hdr_alloc(mdev, ns, mod_hdr_acts);
283 err = mod_hdr_acts->num_actions;
284 mod_hdr_acts->num_actions++;
534 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
539 int ret = mlx5e_tc_match_to_reg_set_and_get_id(mdev, mod_hdr_acts, ns, type, data);
545 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts,
554 modact = mlx5e_mod_hdr_get_item(mod_hdr_acts, act_id);
666 &attr->parse_attr->mod_hdr_acts);
1436 mlx5e_mod_hdr_dealloc(&attr->parse_attr->mod_hdr_acts);
258 mlx5e_tc_match_to_reg_set_and_get_id(struct mlx5_core_dev *mdev, struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, enum mlx5_flow_namespace_type ns, enum mlx5e_tc_attr_to_reg type, u32 data) argument
533 mlx5e_tc_match_to_reg_set(struct mlx5_core_dev *mdev, struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, enum mlx5_flow_namespace_type ns, enum mlx5e_tc_attr_to_reg type, u32 data) argument
544 mlx5e_tc_match_to_reg_mod_hdr_change(struct mlx5_core_dev *mdev, struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, enum mlx5e_tc_attr_to_reg type, int act_id, u32 data) argument
2136 struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dact.c126 mod_acts = &attr->parse_attr->mod_hdr_acts;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dsample.c531 mod_acts = &attr->parse_attr->mod_hdr_acts;

Completed in 127 milliseconds