summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-01-05 04:19:44 +0100
committerJens Axboe <axboe@kernel.dk>2020-01-21 01:04:04 +0100
commitfddafacee287b3140212c92464077e971401f860 (patch)
tree1a72a9fd11381f3c33ceeaab6dbcff9e79417578 /include
parentio_uring: remove extra io_wq_current_is_worker() (diff)
downloadlinux-fddafacee287b3140212c92464077e971401f860.tar.xz
linux-fddafacee287b3140212c92464077e971401f860.zip
io_uring: add support for send(2) and recv(2)
This adds IORING_OP_SEND for send(2) support, and IORING_OP_RECV for recv(2) support. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/io_uring.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h
index 29fae13395a8..0fe270ab191c 100644
--- a/include/uapi/linux/io_uring.h
+++ b/include/uapi/linux/io_uring.h
@@ -90,6 +90,8 @@ enum {
IORING_OP_WRITE,
IORING_OP_FADVISE,
IORING_OP_MADVISE,
+ IORING_OP_SEND,
+ IORING_OP_RECV,
/* this goes last, obviously */
IORING_OP_LAST,