Searched refs:page_cache (Results 1 – 6 of 6) sorted by relevance
141 if (likely(ring->page_cache.index > 0)) { in mlx4_en_prepare_rx_desc()144 ring->page_cache.index--; in mlx4_en_prepare_rx_desc()145 frags->page = ring->page_cache.buf[ring->page_cache.index].page; in mlx4_en_prepare_rx_desc()146 frags->dma = ring->page_cache.buf[ring->page_cache.index].dma; in mlx4_en_prepare_rx_desc()418 struct mlx4_en_page_cache *cache = &ring->page_cache; in mlx4_en_rx_recycle()455 for (i = 0; i < ring->page_cache.index; i++) { in mlx4_en_deactivate_rx_ring()456 dma_unmap_page(priv->ddev, ring->page_cache.buf[i].dma, in mlx4_en_deactivate_rx_ring()458 put_page(ring->page_cache.buf[i].page); in mlx4_en_deactivate_rx_ring()460 ring->page_cache.index = 0; in mlx4_en_deactivate_rx_ring()
345 struct mlx4_en_page_cache page_cache; member
26 page_cache
283 struct page_frag_cache page_cache; /* Page cache to allocate XDP frames */ member
651 frame = page_frag_alloc(&rx->page_cache, total_len, GFP_ATOMIC); in gve_xdp_redirect()
1273 nc = &priv->rx[i].page_cache; in gve_drain_page_cache()