Home
last modified time | relevance | path

Searched refs:xdp_page (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c527 sq->xdp_page = kcalloc(q_len, sizeof(u64), GFP_KERNEL); in nicvf_init_snd_queue()
528 if (!sq->xdp_page) in nicvf_init_snd_queue()
534 sq->xdp_page = NULL; in nicvf_init_snd_queue()
594 if (!skb || !sq->xdp_page) in nicvf_free_snd_queue()
597 page = (struct page *)sq->xdp_page[sq->head]; in nicvf_free_snd_queue()
622 kfree(sq->xdp_page); in nicvf_free_snd_queue()
1232 sq->xdp_page[qentry] = (u64)virt_to_page((void *)data); in nicvf_xdp_sq_add_hdr_subdesc()
H A Dnicvf_queues.h274 u64 *xdp_page; member
H A Dnicvf_main.c679 page = (struct page *)sq->xdp_page[cqe_tx->sqe_ptr]; in nicvf_snd_pkt_handler()
688 sq->xdp_page[cqe_tx->sqe_ptr] = (u64)NULL; in nicvf_snd_pkt_handler()
/linux/drivers/net/
H A Dvirtio_net.c1673 struct page *xdp_page; in put_xdp_frags() local
1679 xdp_page = skb_frag_page(&shinfo->frags[i]); in put_xdp_frags()
1680 page_pool_put_page(rq->page_pool, xdp_page, -1, true); in put_xdp_frags()
1864 struct page *xdp_page; in receive_small_xdp() local
1887 xdp_page = xdp_linearize_page(dev, rq, &num_buf, page, in receive_small_xdp()
1890 if (!xdp_page) in receive_small_xdp()
1893 buf = page_address(xdp_page); in receive_small_xdp()
1895 page = xdp_page; in receive_small_xdp()
2196 struct page *xdp_page; in mergeable_xdp_get_buf() local
2232 xdp_page = xdp_linearize_page(vi->dev, rq, num_buf, in mergeable_xdp_get_buf()
[all …]