Searched refs:post_meter (Results 1 – 6 of 6) sorted by relevance
41 mlx5e_post_meter_get_ft(struct mlx5e_post_meter_priv *post_meter) in mlx5e_post_meter_get_ft() argument43 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() argument49 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() argument55 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() argument83 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() argument147 struct mlx5e_post_meter_priv *post_meter, in mlx5e_post_meter_rate_rules_create() argument[all …]
25 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() argument55 mlx5e_post_meter_get_mtu_false_ft(struct mlx5e_post_meter_priv *post_meter) in mlx5e_post_meter_get_mtu_false_ft() argument
43 struct mlx5e_post_meter_priv *post_meter; member
50 en/tc/post_meter.o en/tc/act_stats.o
442 struct mlx5e_post_meter_priv *post_meter; in mlx5e_tc_add_flow_meter() local458 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()
210 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()