Lines Matching refs:page_pool
682 struct page_pool *page_pool; member
1905 page = page_pool_alloc_pages(rxq->page_pool, in mvneta_rx_refill()
1978 page_pool_put_full_page(rxq->page_pool, data, false); in mvneta_rxq_drop_pkts()
1982 page_pool_destroy(rxq->page_pool); in mvneta_rxq_drop_pkts()
1983 rxq->page_pool = NULL; in mvneta_rxq_drop_pkts()
2041 page_pool_put_full_page(rxq->page_pool, in mvneta_xdp_put_buff()
2043 page_pool_put_page(rxq->page_pool, virt_to_head_page(xdp->data), in mvneta_xdp_put_buff()
2255 dma_dir = page_pool_get_dma_dir(rxq->page_pool); in mvneta_swbm_rx_frame()
2290 dma_dir = page_pool_get_dma_dir(rxq->page_pool); in mvneta_swbm_add_rx_fragment()
2303 page_pool_put_full_page(rxq->page_pool, page, true); in mvneta_swbm_add_rx_fragment()
2319 mvneta_swbm_build_skb(struct mvneta_port *pp, struct page_pool *pool, in mvneta_swbm_build_skb()
2400 page_pool_put_full_page(rxq->page_pool, page, in mvneta_rx_swbm()
2422 skb = mvneta_swbm_build_skb(pp, rxq->page_pool, &xdp_buf, desc_status); in mvneta_rx_swbm()
3228 rxq->page_pool = page_pool_create(&pp_params); in mvneta_create_page_pool()
3229 if (IS_ERR(rxq->page_pool)) { in mvneta_create_page_pool()
3230 err = PTR_ERR(rxq->page_pool); in mvneta_create_page_pool()
3231 rxq->page_pool = NULL; in mvneta_create_page_pool()
3240 rxq->page_pool); in mvneta_create_page_pool()
3249 page_pool_destroy(rxq->page_pool); in mvneta_create_page_pool()
3250 rxq->page_pool = NULL; in mvneta_create_page_pool()