On 2/6/26 8:41 PM, Jakub Kicinski wrote:
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
I apologize for adding patch 1. I will use page_pool_alloc_va and send
v6 with only patch 2.