Thread (49 messages) 49 messages, 4 authors, 2025-07-28

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

From: Byungchul Park <byungchul@sk.com>
Date: 2025-07-14 04:23:54
Also in: bpf, linux-mm, linux-rdma, lkml

On Sat, Jul 12, 2025 at 03:39:59PM +0100, Pavel Begunkov wrote:
On 7/10/25 09:28, 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.
FWIW, regardless of memdesc business, I think it'd be great to have
this patch, as it'll help with some of the netmem casting ugliness and
shed some cycles as well. For example, we have a bunch of
niov -> netmem -> niov casts in various places.
If Jakub agrees with this, I will re-post this as a separate patch so
that works that require this base can go ahead.

	Byungchul
--
Pavel Begunkov
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help