Searched refs:FT_POOLS (Results 1 – 1 of 1) sorted by relevance
15 static const unsigned int FT_POOLS[] = { 4 * 1024 * 1024, variable21 int ft_left[ARRAY_SIZE(FT_POOLS)];33 for (i = ARRAY_SIZE(FT_POOLS) - 1; i >= 0; i--) in mlx5_ft_pool_init()34 ft_pool->ft_left[i] = FT_SIZE / FT_POOLS[i]; in mlx5_ft_pool_init()52 for (i = ARRAY_SIZE(FT_POOLS) - 1; i >= 0; i--) { in mlx5_ft_pool_get_avail_sz()53 if (dev->priv.ft_pool->ft_left[i] && FT_POOLS[i] >= desired_size && in mlx5_ft_pool_get_avail_sz()54 FT_POOLS[i] <= max_ft_size) { in mlx5_ft_pool_get_avail_sz()63 return FT_POOLS[found_i]; in mlx5_ft_pool_get_avail_sz()77 for (i = ARRAY_SIZE(FT_POOLS) - 1; i >= 0; i--) { in mlx5_ft_pool_put_sz()78 if (sz == FT_POOLS[i]) { in mlx5_ft_pool_put_sz()