Re: [PATCH net-next v6 1/9] netmem: introduce struct netmem_desc mirroring struct page

From: David Hildenbrand
Date: Mon Jun 23 2025 - 06:45:12 EST


On 23.06.25 12:28, Byungchul Park wrote:
On Mon, Jun 23, 2025 at 11:32:16AM +0200, David Hildenbrand wrote:
On 20.06.25 06:12, Byungchul Park wrote:
To simplify struct page, the page pool members of struct page should be
moved to other, allowing these members to be removed from struct page.

Introduce a network memory descriptor to store the members, struct
netmem_desc, and make it union'ed with the existing fields in struct
net_iov, allowing to organize the fields of struct net_iov.

It would be great adding some result from the previous discussions in
here, such as that the layout of "struct net_iov" can be changed because
it is not a "struct page" overlay, what the next steps based on this

I think the network folks already know how to use and interpret their
data struct, struct net_iov for sure.. but I will add the comment if it
you think is needed. Thanks for the comment.

Well, you CC MM folks like me ... :)

--
Cheers,

David / dhildenb