On Tue, May 13, 2025 at 01:49:56PM +0100, Pavel Begunkov wrote:
On 5/12/25 14:29, Byungchul Park wrote:
quoted
On Mon, May 12, 2025 at 02:11:13PM +0100, Pavel Begunkov wrote:
quoted
On 5/9/25 12:51, 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.
Reuse struct net_iov for also system memory, that already mirrored the
page pool members.
Signed-off-by: Byungchul Park <byungchul@sk.com>
---
include/linux/skbuff.h | 4 +--
include/net/netmem.h | 20 ++++++------
include/net/page_pool/memory_provider.h | 6 ++--
io_uring/zcrx.c | 42 ++++++++++++-------------
You're unnecessarily complicating it for yourself. It'll certainly
conflict with changes in the io_uring tree, and hence it can't
be taken normally through the net tree.
Why are you renaming it in the first place? If there are good
It's because the struct should be used for not only io vetor things but
also system memory. Current network code uses struct page as system
Not sure what you mean by "io vector things", but it can already
point to system memory, and if anything, the use conceptually more
resembles struct pages rather than iovec. IOW, it's just a name,
neither gives a perfect understanding until you look up details,
so you could just leave it net_iov. Or follow what Mina suggested,
I like that option.
I appreciate all of your feedback and will try to apply them.
Byungchul
quoted
memory descriptor but struct page fields for page pool will be gone.
So I had to reuse struct net_iov and I thought renaming it made more
sense. It'd be welcome if you have better idea.
--
Pavel Begunkov