]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring/zcrx: always pass page to io_zcrx_copy_chunk
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 2 Jul 2025 14:29:04 +0000 (15:29 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 8 Jul 2025 17:59:56 +0000 (11:59 -0600)
commite9a9ddb15b092eb4dc0d34a3e043e73f2510a6b0
treec4666499f5ee562ff1a4acae952a121ff8290fdc
parent825aea662b492571877b32aeeae13689fd9fbee4
io_uring/zcrx: always pass page to io_zcrx_copy_chunk

io_zcrx_copy_chunk() currently takes either a page or virtual address.
Unify the parameters, make it take pages and resolve the linear part
into a page the same way general networking code does that.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: David Wei <dw@davidwei.uk>
Link: https://lore.kernel.org/r/b8f9f4bac027f5f44a9ccf85350912d1db41ceb8.1751466461.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/zcrx.c