Searched refs:MLX5E_CACHE_SIZE (Results 1 – 3 of 3) sorted by relevance
315 #define MLX5E_CACHE_SIZE (2 * roundup_pow_of_two(MLX5E_CACHE_UNIT)) macro319 struct mlx5e_dma_info page_cache[MLX5E_CACHE_SIZE];
188 u32 tail_next = (cache->tail + 1) & (MLX5E_CACHE_SIZE - 1); in mlx5e_rx_cache_put()219 cache->head = (cache->head + 1) & (MLX5E_CACHE_SIZE - 1); in mlx5e_rx_cache_get()
601 i = (i + 1) & (MLX5E_CACHE_SIZE - 1)) { in mlx5e_destroy_rq()