Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dpost_act.c44 post_act = kzalloc(sizeof(*post_act), GFP_KERNEL); in mlx5e_tc_post_act_init()
45 if (!post_act) { in mlx5e_tc_post_act_init()
50 if (IS_ERR(post_act->ft)) { in mlx5e_tc_post_act_init()
55 post_act->chains = chains; in mlx5e_tc_post_act_init()
57 post_act->priv = priv; in mlx5e_tc_post_act_init()
59 return post_act; in mlx5e_tc_post_act_init()
62 kfree(post_act); in mlx5e_tc_post_act_init()
73 xa_destroy(&post_act->ids); in mlx5e_tc_post_act_destroy()
74 mlx5_chains_destroy_global_table(post_act->chains, post_act->ft); in mlx5e_tc_post_act_destroy()
75 kfree(post_act); in mlx5e_tc_post_act_destroy()
[all …]
A 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);
A Dsample.c29 struct mlx5e_post_act *post_act; member
528 ft = mlx5e_tc_post_act_get_ft(tc_psample->post_act); in mlx5e_tc_sample_offload()
530 post_act_handle = mlx5e_tc_post_act_add(tc_psample->post_act, attr); in mlx5e_tc_sample_offload()
614 mlx5e_tc_post_act_del(tc_psample->post_act, post_act_handle); in mlx5e_tc_sample_offload()
642 mlx5e_tc_post_act_del(tc_psample->post_act, sample_flow->post_act_handle); in mlx5e_tc_sample_unoffload()
651 mlx5e_tc_sample_init(struct mlx5_eswitch *esw, struct mlx5e_post_act *post_act) in mlx5e_tc_sample_init() argument
659 if (IS_ERR_OR_NULL(post_act)) { in mlx5e_tc_sample_init()
660 err = PTR_ERR(post_act); in mlx5e_tc_sample_init()
663 tc_psample->post_act = post_act; in mlx5e_tc_sample_init()
A Dsample.h38 mlx5e_tc_sample_init(struct mlx5_eswitch *esw, struct mlx5e_post_act *post_act);
58 mlx5e_tc_sample_init(struct mlx5_eswitch *esw, struct mlx5e_post_act *post_act) in mlx5e_tc_sample_init() argument
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_ct.h96 struct mlx5e_post_act *post_act);
138 struct mlx5e_post_act *post_act) in mlx5_tc_ct_init() argument
A 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()
1444 dest.ft = mlx5e_tc_post_act_get_ft(ct_priv->post_act); in tc_ct_pre_ct_add_rules()
1781 handle = mlx5e_tc_post_act_add(ct_priv->post_act, attr); in __mlx5_tc_ct_flow_offload()
1880 mlx5e_tc_post_act_del(ct_priv->post_act, handle); in __mlx5_tc_ct_flow_offload()
1989 mlx5e_tc_post_act_del(ct_priv->post_act, ct_flow->post_act_handle); in __mlx5_tc_ct_delete_flow()
2050 struct mlx5e_post_act *post_act) in mlx5_tc_ct_init_check_support() argument
2063 if (IS_ERR_OR_NULL(post_act)) { in mlx5_tc_ct_init_check_support()
2088 struct mlx5e_post_act *post_act) in mlx5_tc_ct_init() argument
2096 err = mlx5_tc_ct_init_check_support(priv, ns_type, post_act); in mlx5_tc_ct_init()
[all …]
A Dfs.h24 struct mlx5e_post_act *post_act; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_rep.h93 struct mlx5e_post_act *post_act; member
A DMakefile48 en/tc/post_act.o en/tc/int_port.o
A Den_tc.c5177 tc->post_act = mlx5e_tc_post_act_init(priv, tc->chains, MLX5_FLOW_NAMESPACE_KERNEL); in mlx5e_tc_nic_init()
5179 MLX5_FLOW_NAMESPACE_KERNEL, tc->post_act); in mlx5e_tc_nic_init()
5195 mlx5e_tc_post_act_destroy(tc->post_act); in mlx5e_tc_nic_init()
5234 mlx5e_tc_post_act_destroy(tc->post_act); in mlx5e_tc_nic_cleanup()
5255 uplink_priv->post_act = mlx5e_tc_post_act_init(priv, esw_chains(esw), in mlx5e_tc_esw_init()
5261 uplink_priv->post_act); in mlx5e_tc_esw_init()
5265 uplink_priv->tc_psample = mlx5e_tc_sample_init(esw, uplink_priv->post_act); in mlx5e_tc_esw_init()
5316 mlx5e_tc_post_act_destroy(uplink_priv->post_act); in mlx5e_tc_esw_init()
5335 mlx5e_tc_post_act_destroy(uplink_priv->post_act); in mlx5e_tc_esw_cleanup()

Completed in 62 milliseconds