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