summaryrefslogtreecommitdiffstats
path: root/io_uring/notif.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-04-15 15:20:08 +0200
committerJens Axboe <axboe@kernel.dk>2023-04-15 22:21:04 +0200
commit519760df251bf2dcafb0af23df0229096537e78a (patch)
tree65266bd1ad592fa294ead877ba049643c8c5646c /io_uring/notif.h
parentio_uring/rsrc: extract SCM file put helper (diff)
downloadlinux-519760df251bf2dcafb0af23df0229096537e78a.tar.xz
linux-519760df251bf2dcafb0af23df0229096537e78a.zip
io_uring/notif: add constant for ubuf_info flags
Add a constant IO_NOTIF_UBUF_FLAGS for struct ubuf_info flags that notifications use. That should minimise merge conflicts for planned changes touching both io_uring and net at the same time. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/notif.h')
-rw-r--r--io_uring/notif.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_uring/notif.h b/io_uring/notif.h
index 6dd1b30a468f..86d32bd9f856 100644
--- a/io_uring/notif.h
+++ b/io_uring/notif.h
@@ -7,6 +7,7 @@
#include "rsrc.h"
+#define IO_NOTIF_UBUF_FLAGS (SKBFL_ZEROCOPY_FRAG | SKBFL_DONT_ORPHAN)
#define IO_NOTIF_SPLICE_BATCH 32
struct io_notif_data {