Home
last modified time | relevance | path

Searched refs:post_act (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dpost_act.c31 struct mlx5e_post_act *post_act; in mlx5e_tc_post_act_init() local
45 post_act = kzalloc(sizeof(*post_act), GFP_KERNEL); in mlx5e_tc_post_act_init()
46 if (!post_act) { in mlx5e_tc_post_act_init()
50 post_act->ft = mlx5_chains_create_global_table(chains); in mlx5e_tc_post_act_init()
51 if (IS_ERR(post_act->ft)) { in mlx5e_tc_post_act_init()
52 err = PTR_ERR(post_act->ft); in mlx5e_tc_post_act_init()
56 post_act->chains = chains; in mlx5e_tc_post_act_init()
57 post_act->ns_type = ns_type; in mlx5e_tc_post_act_init()
58 post_act->priv = priv; in mlx5e_tc_post_act_init()
59 xa_init_flags(&post_act->ids, XA_FLAGS_ALLOC1); in mlx5e_tc_post_act_init()
[all …]
Dpost_act.h19 mlx5e_tc_post_act_destroy(struct mlx5e_post_act *post_act);
22 mlx5e_tc_post_act_add(struct mlx5e_post_act *post_act, struct mlx5_flow_attr *attr);
25 mlx5e_tc_post_act_del(struct mlx5e_post_act *post_act, struct mlx5e_post_act_handle *handle);
28 mlx5e_tc_post_act_get_ft(struct mlx5e_post_act *post_act);
Dsample.c29 struct mlx5e_post_act *post_act; member
534 ft = mlx5e_tc_post_act_get_ft(tc_psample->post_act); in mlx5e_tc_sample_offload()
536 post_act_handle = mlx5e_tc_post_act_add(tc_psample->post_act, attr); in mlx5e_tc_sample_offload()
620 mlx5e_tc_post_act_del(tc_psample->post_act, post_act_handle); in mlx5e_tc_sample_offload()
661 mlx5e_tc_post_act_del(tc_psample->post_act, sample_flow->post_act_handle); in mlx5e_tc_sample_unoffload()
676 mlx5e_tc_sample_init(struct mlx5_eswitch *esw, struct mlx5e_post_act *post_act) in mlx5e_tc_sample_init() argument
684 if (IS_ERR_OR_NULL(post_act)) { in mlx5e_tc_sample_init()
685 err = PTR_ERR(post_act); in mlx5e_tc_sample_init()
688 tc_psample->post_act = post_act; in mlx5e_tc_sample_init()
Dsample.h36 mlx5e_tc_sample_init(struct mlx5_eswitch *esw, struct mlx5e_post_act *post_act);
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.h96 struct mlx5e_post_act *post_act);
137 struct mlx5e_post_act *post_act) in mlx5_tc_ct_init() argument
Dtc_ct.c52 struct mlx5e_post_act *post_act; member
765 attr->dest_ft = mlx5e_tc_post_act_get_ft(ct_priv->post_act); in mlx5_tc_ct_entry_add_rule()
1429 dest.ft = mlx5e_tc_post_act_get_ft(ct_priv->post_act); in tc_ct_pre_ct_add_rules()
1766 handle = mlx5e_tc_post_act_add(ct_priv->post_act, attr); in __mlx5_tc_ct_flow_offload()
1865 mlx5e_tc_post_act_del(ct_priv->post_act, handle); in __mlx5_tc_ct_flow_offload()
1981 mlx5e_tc_post_act_del(ct_priv->post_act, ct_flow->post_act_handle); in __mlx5_tc_ct_delete_flow()
2042 struct mlx5e_post_act *post_act, in mlx5_tc_ct_init_check_support() argument
2053 if (IS_ERR_OR_NULL(post_act)) { in mlx5_tc_ct_init_check_support()
2069 struct mlx5e_post_act *post_act) in mlx5_tc_ct_init() argument
2078 err = mlx5_tc_ct_init_check_support(priv, ns_type, post_act, &msg); in mlx5_tc_ct_init()
[all …]
Dfs.h24 struct mlx5e_post_act *post_act; member
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h92 struct mlx5e_post_act *post_act; member
DMakefile48 en/tc/post_act.o
Den_tc.c4925 tc->post_act = mlx5e_tc_post_act_init(priv, tc->chains, MLX5_FLOW_NAMESPACE_KERNEL); in mlx5e_tc_nic_init()
4927 MLX5_FLOW_NAMESPACE_KERNEL, tc->post_act); in mlx5e_tc_nic_init()
4943 mlx5e_tc_post_act_destroy(tc->post_act); in mlx5e_tc_nic_init()
4982 mlx5e_tc_post_act_destroy(tc->post_act); in mlx5e_tc_nic_cleanup()
5003 uplink_priv->post_act = mlx5e_tc_post_act_init(priv, esw_chains(esw), in mlx5e_tc_esw_init()
5009 uplink_priv->post_act); in mlx5e_tc_esw_init()
5012 uplink_priv->tc_psample = mlx5e_tc_sample_init(esw, uplink_priv->post_act); in mlx5e_tc_esw_init()
5063 mlx5e_tc_post_act_destroy(uplink_priv->post_act); in mlx5e_tc_esw_init()
5083 mlx5e_tc_post_act_destroy(uplink_priv->post_act); in mlx5e_tc_esw_cleanup()