Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dpost_act.c35 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_offload(struct mlx5e_post_act *post_act,
32 mlx5e_tc_post_act_unoffload(struct mlx5e_post_act *post_act,
36 mlx5e_tc_post_act_get_ft(struct mlx5e_post_act *post_act);
Dsample.h37 mlx5e_tc_sample_init(struct mlx5_eswitch *esw, struct mlx5e_post_act *post_act);
56 mlx5e_tc_sample_init(struct mlx5_eswitch *esw, struct mlx5e_post_act *post_act) in mlx5e_tc_sample_init() argument
Dsample.c31 struct mlx5e_post_act *post_act; member
504 ft = mlx5e_tc_post_act_get_ft(tc_psample->post_act); in mlx5e_tc_sample_offload()
618 mlx5e_tc_sample_init(struct mlx5_eswitch *esw, struct mlx5e_post_act *post_act) in mlx5e_tc_sample_init() argument
626 if (IS_ERR_OR_NULL(post_act)) { in mlx5e_tc_sample_init()
627 err = PTR_ERR(post_act); in mlx5e_tc_sample_init()
630 tc_psample->post_act = post_act; in mlx5e_tc_sample_init()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.h98 struct mlx5e_post_act *post_act);
142 struct mlx5e_post_act *post_act) in mlx5_tc_ct_init() argument
Dtc_ct.c70 struct mlx5e_post_act *post_act; member
835 attr->dest_ft = mlx5e_tc_post_act_get_ft(ct_priv->post_act); in mlx5_tc_ct_entry_add_rule()
1502 dest.ft = mlx5e_tc_post_act_get_ft(ct_priv->post_act); in tc_ct_pre_ct_add_rules()
1984 struct mlx5_flow_table *post_ct = mlx5e_tc_post_act_get_ft(ct_priv->post_act); in mlx5_tc_ct_fs_init()
2048 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()
2109 struct mlx5e_post_act *post_act) in mlx5_tc_ct_init() argument
2117 err = mlx5_tc_ct_init_check_support(priv, ns_type, post_act); in mlx5_tc_ct_init()
2165 ct_priv->post_act = post_act; in mlx5_tc_ct_init()
Dfs.h26 struct mlx5e_post_act *post_act; member
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c288 return uplink_priv->post_act; in get_post_action()
291 return priv->fs.tc.post_act; in get_post_action()
3466 struct mlx5e_post_act *post_act = get_post_action(flow->priv); in mlx5e_tc_unoffload_flow_post_acts() local
3473 mlx5e_tc_post_act_unoffload(post_act, attr->post_act_handle); in mlx5e_tc_unoffload_flow_post_acts()
3481 struct mlx5e_post_act *post_act = get_post_action(flow->priv); in free_flow_post_acts() local
3490 mlx5e_tc_post_act_del(post_act, attr->post_act_handle); in free_flow_post_acts()
3512 struct mlx5e_post_act *post_act = get_post_action(flow->priv); in mlx5e_tc_offload_flow_post_acts() local
3520 err = mlx5e_tc_post_act_offload(post_act, attr->post_act_handle); in mlx5e_tc_offload_flow_post_acts()
3551 struct mlx5e_post_act *post_act = get_post_action(flow->priv); in alloc_flow_post_acts() local
3599 handle = mlx5e_tc_post_act_add(post_act, attr); in alloc_flow_post_acts()
[all …]
Den_rep.h88 struct mlx5e_post_act *post_act; member
DMakefile48 en/tc/post_act.o en/tc/int_port.o