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

From: Jakub Kicinski <[email-masked]>
Date: Fri, 6 Feb 2026 20:41:40 -0800

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