Searched refs:meters_obj (Results 1 – 2 of 2) sorted by relevance
248 struct mlx5e_flow_meter_aso_obj *meters_obj; in __mlx5e_flow_meter_alloc() local275 meters_obj = list_first_entry_or_null(&flow_meters->partial_list, in __mlx5e_flow_meter_alloc()280 if (!meters_obj) { in __mlx5e_flow_meter_alloc()287 meters_obj = kzalloc(sizeof(*meters_obj) + BITS_TO_BYTES(total), in __mlx5e_flow_meter_alloc()289 if (!meters_obj) { in __mlx5e_flow_meter_alloc()294 meters_obj->base_id = id; in __mlx5e_flow_meter_alloc()295 meters_obj->total_meters = total; in __mlx5e_flow_meter_alloc()296 list_add(&meters_obj->entry, &flow_meters->partial_list); in __mlx5e_flow_meter_alloc()299 pos = find_first_zero_bit(meters_obj->meters_map, total); in __mlx5e_flow_meter_alloc()300 if (bitmap_weight(meters_obj->meters_map, total) == total - 1) { in __mlx5e_flow_meter_alloc()[all …]
28 struct mlx5e_flow_meter_aso_obj *meters_obj; member