Home
last modified time | relevance | path

Searched refs:ft_left (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_ft_pool.c21 int ft_left[ARRAY_SIZE(FT_POOLS)]; member
34 ft_pool->ft_left[i] = FT_SIZE / FT_POOLS[i]; in mlx5_ft_pool_init()
53 if (dev->priv.ft_pool->ft_left[i] && FT_POOLS[i] >= desired_size && in mlx5_ft_pool_get_avail_sz()
62 --dev->priv.ft_pool->ft_left[found_i]; in mlx5_ft_pool_get_avail_sz()
79 ++dev->priv.ft_pool->ft_left[i]; in mlx5_ft_pool_put_sz()