Home
last modified time | relevance | path

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

/linux-6.6.21/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 *post_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);
Dpost_meter.c148 struct mlx5e_post_act *post_act, in mlx5e_post_meter_rate_rules_create() argument
251 struct mlx5e_post_act *post_act, in mlx5e_post_meter_rate_create() argument
276 err = mlx5e_post_meter_rate_rules_create(priv, post_meter, post_act, in mlx5e_post_meter_rate_create()
336 struct mlx5e_post_act *post_act, in mlx5e_post_meter_mtu_create() argument
395 struct mlx5e_post_act *post_act, in mlx5e_post_meter_init() argument
411 err = mlx5e_post_meter_mtu_create(priv, ns_type, post_act, in mlx5e_post_meter_init()
416 err = mlx5e_post_meter_rate_create(priv, ns_type, post_act, in mlx5e_post_meter_init()
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
503 ft = mlx5e_tc_post_act_get_ft(tc_psample->post_act); in mlx5e_tc_sample_offload()
617 mlx5e_tc_sample_init(struct mlx5_eswitch *esw, struct mlx5e_post_act *post_act) in mlx5e_tc_sample_init() argument
625 if (IS_ERR_OR_NULL(post_act)) { in mlx5e_tc_sample_init()
626 err = PTR_ERR(post_act); in mlx5e_tc_sample_init()
629 tc_psample->post_act = post_act; in mlx5e_tc_sample_init()
Dmeter.c48 struct mlx5e_post_act *post_act; member
517 struct mlx5e_post_act *post_act) in mlx5e_flow_meters_init() argument
527 if (IS_ERR_OR_NULL(post_act)) { in mlx5e_flow_meters_init()
556 flow_meters->post_act = post_act; in mlx5e_flow_meters_init()
Dpost_meter.h36 struct mlx5e_post_act *post_act,
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.h100 struct mlx5e_post_act *post_act);
137 struct mlx5e_post_act *post_act) in mlx5_tc_ct_init() argument
Dtc_ct.c72 struct mlx5e_post_act *post_act; member
827 attr->dest_ft = mlx5e_tc_post_act_get_ft(ct_priv->post_act); in mlx5_tc_ct_entry_add_rule()
1609 dest.ft = mlx5e_tc_post_act_get_ft(ct_priv->post_act); in tc_ct_pre_ct_add_rules()
2045 struct mlx5_flow_table *post_ct = mlx5e_tc_post_act_get_ft(ct_priv->post_act); in mlx5_tc_ct_fs_init()
2109 struct mlx5e_post_act *post_act) in mlx5_tc_ct_init_check_support() argument
2115 if (IS_ERR_OR_NULL(post_act)) { in mlx5_tc_ct_init_check_support()
2158 struct mlx5e_post_act *post_act) in mlx5_tc_ct_init() argument
2166 err = mlx5_tc_ct_init_check_support(priv, ns_type, post_act); in mlx5_tc_ct_init()
2215 ct_priv->post_act = post_act; in mlx5_tc_ct_init()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c86 struct mlx5e_post_act *post_act; member
340 uplink_priv->post_act); in mlx5e_get_flow_meters()
395 return uplink_priv->post_act; in get_post_action()
398 return tc->post_act; in get_post_action()
441 struct mlx5e_post_act *post_act = get_post_action(priv); in mlx5e_tc_add_flow_meter() local
447 if (IS_ERR(post_act)) in mlx5e_tc_add_flow_meter()
448 return PTR_ERR(post_act); in mlx5e_tc_add_flow_meter()
458 post_meter = mlx5e_post_meter_init(priv, ns_type, post_act, in mlx5e_tc_add_flow_meter()
3607 struct mlx5e_post_act *post_act = get_post_action(flow->priv); in mlx5e_tc_unoffload_flow_post_acts() local
3614 mlx5e_tc_post_act_unoffload(post_act, attr->post_act_handle); in mlx5e_tc_unoffload_flow_post_acts()
[all …]
Den_rep.h89 struct mlx5e_post_act *post_act; member
DMakefile49 en/tc/post_act.o en/tc/int_port.o en/tc/meter.o \