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