diff options
author | Byungchul Park <byungchul@sk.com> | 2025-07-21 11:18:24 +0900 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-23 17:46:54 -0700 |
commit | f3d85c9ee51036ac7ed129ec16eef5df2192763e (patch) | |
tree | 6d0eaa95abf52a3b7fb6fd73e9c6e14e83efcd17 /net/switchdev/switchdev.c | |
parent | 918c675b208d163d511a10dc745cc795c20db3d0 (diff) |
netmem: introduce struct netmem_desc mirroring struct page
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.
Signed-off-by: Byungchul Park <byungchul@sk.com>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Harry Yoo <harry.yoo@oracle.com>
Link: https://patch.msgid.link/20250721021835.63939-2-byungchul@sk.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions