Thread (5 messages) 5 messages, 2 authors, 2026-02-07

Re: [PATCH net-next v5 2/2] virtio_net: add page_pool support for buffer allocation

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-02-07 04:41:41
Also in: lkml, virtualization

On Thu, 5 Feb 2026 16:27:15 -0800 Vishwanath Seshagiri wrote:
+	page = page_pool_alloc_frag(rq->page_pool, &offset, len + room, gfp);
+	if (unlikely(!page))
 		return -ENOMEM;
 
+	buf = page_address(page) + offset;
Please take a look at page_pool_alloc_va()

I mean all the way down until you reach page_pool_alloc_netmem()
and realize the helper you're adding in patch 1 is a solved problem
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help