Searched refs:post_act (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | post_act.c | 31 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 …]
|
D | post_act.h | 19 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);
|
D | sample.c | 30 struct mlx5e_post_act *post_act; member 535 ft = mlx5e_tc_post_act_get_ft(tc_psample->post_act); in mlx5e_tc_sample_offload() 537 post_act_handle = mlx5e_tc_post_act_add(tc_psample->post_act, attr); in mlx5e_tc_sample_offload() 621 mlx5e_tc_post_act_del(tc_psample->post_act, post_act_handle); in mlx5e_tc_sample_offload() 662 mlx5e_tc_post_act_del(tc_psample->post_act, sample_flow->post_act_handle); in mlx5e_tc_sample_unoffload() 677 mlx5e_tc_sample_init(struct mlx5_eswitch *esw, struct mlx5e_post_act *post_act) in mlx5e_tc_sample_init() argument 685 if (IS_ERR_OR_NULL(post_act)) { in mlx5e_tc_sample_init() 686 err = PTR_ERR(post_act); in mlx5e_tc_sample_init() 689 tc_psample->post_act = post_act; in mlx5e_tc_sample_init()
|
D | sample.h | 38 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
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_ct.h | 96 struct mlx5e_post_act *post_act); 138 struct mlx5e_post_act *post_act) in mlx5_tc_ct_init() argument
|
D | tc_ct.c | 52 struct mlx5e_post_act *post_act; member 761 attr->dest_ft = mlx5e_tc_post_act_get_ft(ct_priv->post_act); in mlx5_tc_ct_entry_add_rule() 1440 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 2061 if (IS_ERR_OR_NULL(post_act)) { in mlx5_tc_ct_init_check_support() 2077 struct mlx5e_post_act *post_act) in mlx5_tc_ct_init() argument 2086 err = mlx5_tc_ct_init_check_support(priv, ns_type, post_act, &msg); in mlx5_tc_ct_init() [all …]
|
D | fs.h | 26 struct mlx5e_post_act *post_act; member
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.h | 92 struct mlx5e_post_act *post_act; member
|
D | Makefile | 48 en/tc/post_act.o
|
D | en_tc.c | 5048 tc->post_act = mlx5e_tc_post_act_init(priv, tc->chains, MLX5_FLOW_NAMESPACE_KERNEL); in mlx5e_tc_nic_init() 5050 MLX5_FLOW_NAMESPACE_KERNEL, tc->post_act); in mlx5e_tc_nic_init() 5066 mlx5e_tc_post_act_destroy(tc->post_act); in mlx5e_tc_nic_init() 5107 mlx5e_tc_post_act_destroy(tc->post_act); in mlx5e_tc_nic_cleanup() 5129 uplink_priv->post_act = mlx5e_tc_post_act_init(priv, esw_chains(esw), in mlx5e_tc_esw_init() 5135 uplink_priv->post_act); in mlx5e_tc_esw_init() 5137 uplink_priv->tc_psample = mlx5e_tc_sample_init(esw, uplink_priv->post_act); in mlx5e_tc_esw_init() 5185 mlx5e_tc_post_act_destroy(uplink_priv->post_act); in mlx5e_tc_esw_init() 5203 mlx5e_tc_post_act_destroy(uplink_priv->post_act); in mlx5e_tc_esw_cleanup()
|