Searched refs:post_meter (Results 1 – 6 of 6) sorted by relevance
43 return post_meter->rate_steering_table.ft; in mlx5e_post_meter_get_ft()49 return post_meter->mtu_tables.green_table.ft; in mlx5e_post_meter_get_mtu_true_ft()55 return post_meter->mtu_tables.red_table.ft; in mlx5e_post_meter_get_mtu_false_ft()261 post_meter->type = MLX5E_POST_METER_RATE; in mlx5e_post_meter_rate_create()270 post_meter->rate_steering_table.ft = ft; in mlx5e_post_meter_rate_create()348 post_meter->type = MLX5E_POST_METER_MTU; in mlx5e_post_meter_mtu_create()405 post_meter = kzalloc(sizeof(*post_meter), GFP_KERNEL); in mlx5e_post_meter_init()406 if (!post_meter) in mlx5e_post_meter_init()427 return post_meter; in mlx5e_post_meter_init()430 kfree(post_meter); in mlx5e_post_meter_init()[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()
206 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()