io_uring: set IMPORT_BUFFER in generic send setup
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 31 Mar 2025 16:18:00 +0000 (17:18 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 4 Apr 2025 02:17:46 +0000 (20:17 -0600)
commit91be93d4232a049d30f0164a4abbfbd71bcf9436
treebf0c4206347329155467a2a6597a1765681bf3d6
parentbc0f48baf225d3deae2bb209dfe9ebdb759b9b84
io_uring: set IMPORT_BUFFER in generic send setup

Move REQ_F_IMPORT_BUFFER to the common send setup. Currently, the only
user is send zc, but we'll want for normal sends to support that in the
future.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/18b74edfc61d8a1b6c9fed3b78a9276fe80f8ced.1743437358.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c