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

From
Harry Yoo <hidden>
Date
2025-06-23 12:19:16
Also in
bpf, linux-mm, linux-rdma, lkml
Reply to
Byungchul Park, 2025-06-23
On Mon, Jun 23, 2025 at 07:28:21PM +0900, Byungchul Park wrote:
On Mon, Jun 23, 2025 at 11:32:16AM +0200, David Hildenbrand wrote:
quoted
On 20.06.25 06:12, Byungchul Park wrote:
quoted
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.
I agree with David - it's not immediately obvious at first glance.
That was my feedback on the previous version as well :)

I think it'd be great to add that explanation, since this is where MM and
networking intersect.
	Byungchul
quoted
patch are etc.

--
Cheers,

David / dhildenb
-- 
Cheers,
Harry / Hyeonggon
Thread (35 messages) 35 messages, 9 authors, last reply 2025-06-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help