Home
last modified time | relevance | path

Searched refs:post_meter (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dpost_meter.c41 mlx5e_post_meter_get_ft(struct mlx5e_post_meter_priv *post_meter) in mlx5e_post_meter_get_ft() argument
43 return post_meter->rate_steering_table.ft; in mlx5e_post_meter_get_ft()
47 mlx5e_post_meter_get_mtu_true_ft(struct mlx5e_post_meter_priv *post_meter) in mlx5e_post_meter_get_mtu_true_ft() argument
49 return post_meter->mtu_tables.green_table.ft; in mlx5e_post_meter_get_mtu_true_ft()
53 mlx5e_post_meter_get_mtu_false_ft(struct mlx5e_post_meter_priv *post_meter) in mlx5e_post_meter_get_mtu_false_ft() argument
55 return post_meter->mtu_tables.red_table.ft; in mlx5e_post_meter_get_mtu_false_ft()
81 struct mlx5e_post_meter_priv *post_meter) in mlx5e_post_meter_rate_fg_create() argument
83 struct mlx5e_post_meter_rate_table *table = &post_meter->rate_steering_table; in mlx5e_post_meter_rate_fg_create()
114 struct mlx5e_post_meter_priv *post_meter, in mlx5e_post_meter_add_rule() argument
147 struct mlx5e_post_meter_priv *post_meter, in mlx5e_post_meter_rate_rules_create() argument
[all …]
Dpost_meter.h25 mlx5e_post_meter_get_ft(struct mlx5e_post_meter_priv *post_meter);
28 mlx5e_post_meter_get_mtu_true_ft(struct mlx5e_post_meter_priv *post_meter);
31 mlx5e_post_meter_get_mtu_false_ft(struct mlx5e_post_meter_priv *post_meter);
44 mlx5e_post_meter_cleanup(struct mlx5_eswitch *esw, struct mlx5e_post_meter_priv *post_meter);
49 mlx5e_post_meter_get_mtu_true_ft(struct mlx5e_post_meter_priv *post_meter) in mlx5e_post_meter_get_mtu_true_ft() argument
55 mlx5e_post_meter_get_mtu_false_ft(struct mlx5e_post_meter_priv *post_meter) in mlx5e_post_meter_get_mtu_false_ft() argument
Dmeter.h43 struct mlx5e_post_meter_priv *post_meter; member
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile50 en/tc/post_meter.o en/tc/act_stats.o
Den_tc.c442 struct mlx5e_post_meter_priv *post_meter; in mlx5e_tc_add_flow_meter() local
455 post_meter = mlx5e_post_meter_init(priv, ns_type, post_act, in mlx5e_tc_add_flow_meter()
459 if (IS_ERR(post_meter)) { in mlx5e_tc_add_flow_meter()
465 attr->meter_attr.post_meter = post_meter; in mlx5e_tc_add_flow_meter()
466 attr->dest_ft = mlx5e_post_meter_get_ft(post_meter); in mlx5e_tc_add_flow_meter()
473 return PTR_ERR(post_meter); in mlx5e_tc_add_flow_meter()
479 mlx5e_post_meter_cleanup(esw, attr->meter_attr.post_meter); in mlx5e_tc_del_flow_meter()
Deswitch_offloads.c206 dest[i].range.hit_ft = mlx5e_post_meter_get_mtu_true_ft(meter->post_meter); in esw_setup_mtu_dest()
207 dest[i].range.miss_ft = mlx5e_post_meter_get_mtu_false_ft(meter->post_meter); in esw_setup_mtu_dest()