Home
last modified time | relevance | path

Searched refs:ct_priv (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c50 netdev_dbg(ct_priv->netdev, "ct_debug: " fmt "\n", ##args)
108 struct mlx5_tc_ct_priv *ct_priv; member
157 struct mlx5_tc_ct_priv *ct_priv; member
165 mlx5_tc_ct_entry_destroy_mod_hdr(struct mlx5_tc_ct_priv *ct_priv,
207 mlx5_get_label_mapping(struct mlx5_tc_ct_priv *ct_priv, in mlx5_get_label_mapping() argument
215 if (mapping_add(ct_priv->labels_mapping, labels, id)) in mlx5_get_label_mapping()
222 mlx5_put_label_mapping(struct mlx5_tc_ct_priv *ct_priv, u32 id) in mlx5_put_label_mapping() argument
225 mapping_remove(ct_priv->labels_mapping, id); in mlx5_put_label_mapping()
341 mlx5_tc_ct_get_flow_source_match(struct mlx5_tc_ct_priv *ct_priv, in mlx5_tc_ct_get_flow_source_match() argument
345 struct mlx5_core_dev *mdev = ct_priv->dev; in mlx5_tc_ct_get_flow_source_match()
[all …]
Dtc_ct.h102 mlx5_tc_ct_clean(struct mlx5_tc_ct_priv *ct_priv);
128 mlx5e_tc_ct_restore_flow(struct mlx5_tc_ct_priv *ct_priv,
143 mlx5_tc_ct_clean(struct mlx5_tc_ct_priv *ct_priv) in mlx5_tc_ct_clean() argument
196 mlx5e_tc_ct_restore_flow(struct mlx5_tc_ct_priv *ct_priv, in mlx5e_tc_ct_restore_flow() argument
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dct.c16 err = mlx5_tc_ct_parse_action(parse_state->ct_priv, attr, act, parse_state->extack); in tc_act_parse_ct()
38 return mlx5_tc_ct_flow_offload(parse_state->ct_priv, attr); in tc_act_post_parse_ct()
Dact.h30 struct mlx5_tc_ct_priv *ct_priv; member
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c693 struct mlx5_tc_ct_priv *ct_priv; in mlx5e_rep_tc_receive() local
716 ct_priv = uplink_priv->ct_priv; in mlx5e_rep_tc_receive()
730 if (!mlx5e_tc_update_skb(cqe, skb, mapping_ctx, reg_c0, ct_priv, in mlx5e_rep_tc_receive()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h90 struct mlx5_tc_ct_priv *ct_priv; member
Den_tc.c360 return uplink_priv->ct_priv; in get_ct_priv()
4031 parse_state->ct_priv = get_ct_priv(priv); in parse_tc_nic_actions()
4168 parse_state->ct_priv = get_ct_priv(priv); in parse_tc_fdb_actions()
5304 uplink_priv->ct_priv = mlx5_tc_ct_init(netdev_priv(priv->netdev), in mlx5e_tc_esw_init()
5366 mlx5_tc_ct_clean(uplink_priv->ct_priv); in mlx5e_tc_esw_init()
5392 mlx5_tc_ct_clean(uplink_priv->ct_priv); in mlx5e_tc_esw_cleanup()
5568 static bool mlx5e_tc_restore_skb_tc_meta(struct sk_buff *skb, struct mlx5_tc_ct_priv *ct_priv, in mlx5e_tc_restore_skb_tc_meta() argument
5581 if (!mlx5e_tc_ct_restore_flow(ct_priv, skb, zone_restore_id)) in mlx5e_tc_restore_skb_tc_meta()
5647 struct mlx5_tc_ct_priv *ct_priv, in mlx5e_tc_update_skb() argument
5666 return mlx5e_tc_restore_skb_tc_meta(skb, ct_priv, &mapped_obj, zone_restore_id, in mlx5e_tc_update_skb()
[all …]
Den_tc.h391 struct mlx5_tc_ct_priv *ct_priv,