Re: [RFC v4 16/18] netmem: introduce a netmem API, virt_to_head_netmem()

Toke Høiland-Jørgensen
2025-06-04T16:59:22Z

Byungchul Park <byungchul@sk.com> writes:

> To eliminate the use of struct page in page pool, the page pool code
> should use netmem descriptor and APIs instead.
>
> As part of the work, introduce a netmem API to convert a virtual address
> to a head netmem allowing the code to use it rather than the existing
> API, virt_to_head_page() for struct page.
>
> Signed-off-by: Byungchul Park <byungchul@sk.com>

Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>