summaryrefslogtreecommitdiffstats
path: root/io_uring/net.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-18 07:36:03 -0600
committerJens Axboe <axboe@kernel.dk>2024-04-15 08:10:25 -0600
commitc6f32c7d9e09bf1368447e9a29e869193ecbb756 (patch)
tree941e0c2eaa18d1b8f663d842659d07f00a5d6a49 /io_uring/net.h
parent3ba8345aec886a3a01331e944a6a8568bf94bd10 (diff)
downloadlinux-c6f32c7d9e09bf1368447e9a29e869193ecbb756.tar.gz
linux-c6f32c7d9e09bf1368447e9a29e869193ecbb756.tar.bz2
linux-c6f32c7d9e09bf1368447e9a29e869193ecbb756.zip
io_uring/net: get rid of ->prep_async() for receive side
Move the io_async_msghdr out of the issue path and into prep handling, since it's now done unconditionally and hence does not need to be part of the issue path. This reduces the footprint of the multishot fast path of multiple invocations of ->issue() per prep, and also means that using ->prep_async() can be dropped for recvmsg asthis is now done via setup on the prep side. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/net.h')
-rw-r--r--io_uring/net.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/net.h b/io_uring/net.h
index 5c1230f1aaf9..4b4fd9b1b7b4 100644
--- a/io_uring/net.h
+++ b/io_uring/net.h
@@ -42,7 +42,6 @@ int io_sendmsg(struct io_kiocb *req, unsigned int issue_flags);
int io_send(struct io_kiocb *req, unsigned int issue_flags);
int io_sendrecv_prep_async(struct io_kiocb *req);
-int io_recvmsg_prep_async(struct io_kiocb *req);
int io_recvmsg_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
int io_recvmsg(struct io_kiocb *req, unsigned int issue_flags);
int io_recv(struct io_kiocb *req, unsigned int issue_flags);