Document IORING_SETUP_SHARE_BUF and IORING_SETUP_ATTACH_BUF Signed-off-by: Bijan Mottahedeh <bijan.mottahedeh@xxxxxxxxxx> --- man/io_uring_setup.2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/man/io_uring_setup.2 b/man/io_uring_setup.2 index 3122313..0297bf1 100644 --- a/man/io_uring_setup.2 +++ b/man/io_uring_setup.2 @@ -166,6 +166,18 @@ exceeds then it will be clamped at .B IORING_MAX_CQ_ENTRIES . .TP +.B IORING_SETUP_SHARE_BUF +If this flag is specified, the io_uring ring allows its buffer +registrations to be shared with other io_uring ring instances who have +access to this ring's file descriptor. +.TP +.B IORING_SETUP_ATTACH_BUF +This flag should be set in conjunction with +.IR "struct io_uring_params.wq_fd" +being set to an existing io_uring ring file descriptor. When set, the +io_uring instance being created will share the buffer registrations +of the specified io_uring ring. +.TP .B IORING_SETUP_ATTACH_WQ This flag should be set in conjunction with .IR "struct io_uring_params.wq_fd" -- 1.8.3.1