]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring/zcrx: convert to use netmem_desc
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 13 Nov 2025 10:46:09 +0000 (10:46 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Nov 2025 18:19:37 +0000 (11:19 -0700)
commitf0243d2b86b97a575a7a013370e934f70ee77dd3
tree8277a5e4c4e79f3dee90251d8c9bd680c4b4c772
parent5bd38e18d5287f316cecf173199650072e83be2f
io_uring/zcrx: convert to use netmem_desc

Convert zcrx to struct netmem_desc, and use struct net_iov::desc to
access its fields instead of struct net_iov inner union alises.
zcrx only directly reads niov->pp, so with this patch it doesn't depend
on the union anymore.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Byungchul Park <byungchul@sk.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/zcrx.c