Searched refs:MLX5E_CACHE_SIZE (Results 1 – 3 of 3) sorted by relevance
592 #define MLX5E_CACHE_SIZE (4 * roundup_pow_of_two(MLX5E_CACHE_UNIT)) macro596 struct mlx5e_dma_info page_cache[MLX5E_CACHE_SIZE];
196 u32 tail_next = (cache->tail + 1) & (MLX5E_CACHE_SIZE - 1); in mlx5e_rx_cache_put()231 cache->head = (cache->head + 1) & (MLX5E_CACHE_SIZE - 1); in mlx5e_rx_cache_get()
659 i = (i + 1) & (MLX5E_CACHE_SIZE - 1)) { in mlx5e_free_rq()