Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A 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 …]
H A 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
H A Dmeter.h43 struct mlx5e_post_meter_priv *post_meter; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A DMakefile50 en/tc/post_meter.o en/tc/act_stats.o
H A Den_tc.c442 struct mlx5e_post_meter_priv *post_meter; in mlx5e_tc_add_flow_meter() local
458 post_meter = mlx5e_post_meter_init(priv, ns_type, post_act, in mlx5e_tc_add_flow_meter()
462 if (IS_ERR(post_meter)) { in mlx5e_tc_add_flow_meter()
468 attr->meter_attr.post_meter = post_meter; in mlx5e_tc_add_flow_meter()
469 attr->dest_ft = mlx5e_post_meter_get_ft(post_meter); in mlx5e_tc_add_flow_meter()
476 return PTR_ERR(post_meter); in mlx5e_tc_add_flow_meter()
482 mlx5e_post_meter_cleanup(esw, attr->meter_attr.post_meter); in mlx5e_tc_del_flow_meter()
H A Deswitch_offloads.c210 dest[i].range.hit_ft = mlx5e_post_meter_get_mtu_true_ft(meter->post_meter); in esw_setup_mtu_dest()
211 dest[i].range.miss_ft = mlx5e_post_meter_get_mtu_false_ft(meter->post_meter); in esw_setup_mtu_dest()