Searched refs:frag_page (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 277 struct mlx5e_frag_page *frag_page) in mlx5e_page_alloc_fragmented() argument 287 *frag_page = (struct mlx5e_frag_page) { in mlx5e_page_alloc_fragmented() 296 struct mlx5e_frag_page *frag_page) in mlx5e_page_release_fragmented() argument 298 u16 drain_count = MLX5E_PAGECNT_BIAS_MAX - frag_page->frags; in mlx5e_page_release_fragmented() 299 struct page *page = frag_page->page; in mlx5e_page_release_fragmented() 316 err = mlx5e_page_alloc_fragmented(rq, frag->frag_page); in mlx5e_get_rx_frag() 335 mlx5e_page_release_fragmented(rq, frag->frag_page); in mlx5e_put_rx_frag() 361 addr = page_pool_get_dma_addr(frag->frag_page->page); in mlx5e_alloc_rx_wqe() 499 struct xdp_buff *xdp, struct mlx5e_frag_page *frag_page, in mlx5e_add_skb_shared_info_frag() argument 504 dma_addr_t addr = page_pool_get_dma_addr(frag_page->page); in mlx5e_add_skb_shared_info_frag() [all …]
|
H A D | en.h | 560 struct mlx5e_frag_page *frag_page; member 620 struct mlx5e_frag_page *frag_page; member
|
H A D | en_main.c | 612 next_frag.frag_page = &rq->wqe.alloc_units->frag_pages[0]; in mlx5e_init_frags_partition() 626 next_frag.frag_page++; in mlx5e_init_frags_partition()
|
/linux/net/core/ |
H A D | page_pool.c | 184 CACHELINE_ASSERT_GROUP_MEMBER(struct page_pool, frag, frag_page); in page_pool_struct_check() 927 netmem_ref netmem = pool->frag_page; in page_pool_free_frag() 929 pool->frag_page = 0; in page_pool_free_frag() 942 netmem_ref netmem = pool->frag_page; in page_pool_alloc_frag_netmem() 961 pool->frag_page = 0; in page_pool_alloc_frag_netmem() 965 pool->frag_page = netmem; in page_pool_alloc_frag_netmem()
|
/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_main.c | 108 buf_pool->frag_page[tail] = page; in xgene_enet_refill_pagepool() 203 page = buf_pool->frag_page[i]; in xgene_enet_delete_pagepool() 636 page = buf_pool->frag_page[head]; in xgene_enet_free_pagepool() 639 buf_pool->frag_page[head] = NULL; in xgene_enet_free_pagepool() 741 page = page_pool->frag_page[head]; in xgene_enet_rx_frame() 747 page_pool->frag_page[head] = NULL; in xgene_enet_rx_frame() 1181 p = page_pool->frag_page; in xgene_enet_free_desc_rings() 1379 page_pool->frag_page = devm_kcalloc(dev, slots, in xgene_enet_create_desc_rings() 1382 if (!page_pool->frag_page) { in xgene_enet_create_desc_rings()
|
H A D | xgene_enet_main.h | 116 struct page *(*frag_page); member
|
/linux/include/net/page_pool/ |
H A D | types.h | 174 netmem_ref frag_page; member
|
/linux/net/wireless/ |
H A D | util.c | 698 struct page *frag_page; in __ieee80211_amsdu_copy_frag() local 704 frag_page = virt_to_head_page(skb->head); in __ieee80211_amsdu_copy_frag() 710 frag_page = skb_frag_page(frag); in __ieee80211_amsdu_copy_frag() 721 __frame_add_frag(frame, frag_page, frag_ptr, cur_len, frag_size); in __ieee80211_amsdu_copy_frag()
|