Searched refs:flow_meters (Results 1 – 4 of 4) sorted by relevance
115 struct mlx5e_flow_meters *flow_meters; in mlx5e_tc_meter_modify() local155 flow_meters = meter->flow_meters; in mlx5e_tc_meter_modify()156 aso = flow_meters->aso; in mlx5e_tc_meter_modify()158 mutex_lock(&flow_meters->aso_lock); in mlx5e_tc_meter_modify()196 mutex_unlock(&flow_meters->aso_lock); in mlx5e_tc_meter_modify()202 mlx5e_flow_meter_create_aso_obj(struct mlx5e_flow_meters *flow_meters, int *obj_id) in mlx5e_flow_meter_create_aso_obj() argument206 struct mlx5_core_dev *mdev = flow_meters->mdev; in mlx5e_flow_meter_create_aso_obj()215 flow_meters->log_granularity); in mlx5e_flow_meter_create_aso_obj()218 MLX5_SET(flow_meter_aso_obj, obj, meter_aso_access_pd, flow_meters->pdn); in mlx5e_flow_meter_create_aso_obj()245 __mlx5e_flow_meter_alloc(struct mlx5e_flow_meters *flow_meters, bool alloc_aso) in __mlx5e_flow_meter_alloc() argument[all …]
27 struct mlx5e_flow_meters *flow_meters; member62 mlx5e_tc_meter_get_namespace(struct mlx5e_flow_meters *flow_meters);69 mlx5e_flow_meters_cleanup(struct mlx5e_flow_meters *flow_meters);
102 struct mlx5e_flow_meters *flow_meters; member
336 if (!uplink_priv->flow_meters) in mlx5e_get_flow_meters()337 uplink_priv->flow_meters = in mlx5e_get_flow_meters()341 if (!IS_ERR(uplink_priv->flow_meters)) in mlx5e_get_flow_meters()342 return uplink_priv->flow_meters; in mlx5e_get_flow_meters()456 ns_type = mlx5e_tc_meter_get_namespace(meter->flow_meters); in mlx5e_tc_add_flow_meter()5496 mlx5e_flow_meters_cleanup(uplink_priv->flow_meters); in mlx5e_tc_esw_cleanup()