Searched refs:MLX5E_CACHE_SIZE (Results 1 – 3 of 3) sorted by relevance
616 #define MLX5E_CACHE_SIZE (4 * roundup_pow_of_two(MLX5E_CACHE_UNIT)) macro620 struct page *page_cache[MLX5E_CACHE_SIZE];
229 u32 tail_next = (cache->tail + 1) & (MLX5E_CACHE_SIZE - 1); in mlx5e_rx_cache_put()264 cache->head = (cache->head + 1) & (MLX5E_CACHE_SIZE - 1); in mlx5e_rx_cache_get()
902 i = (i + 1) & (MLX5E_CACHE_SIZE - 1)) { in mlx5e_free_rq()