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>
Mon, 21 Apr 2025 11:06:58 +0000 (05:06 -0600)
commite6f74fd67d50c8a938fcfa83c97cd06995f6aaa1
treea03f369cb38d1477979a5e35c4980d7b30b1c7ab
parente9ff9ae103573c7393d80533214a567654987ed5
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