From: Dylan Yudaken <[email protected]>
To: Jens Axboe <[email protected]>, Pavel Begunkov <[email protected]>
Cc: <[email protected]>, Dylan Yudaken <[email protected]>,
Frank Rehwinkel <[email protected]>
Subject: [PATCH liburing] Document maximum ring size for io_uring_register_buf_ring
Date: Thu, 20 Oct 2022 04:51:41 -0700 [thread overview]
Message-ID: <[email protected]> (raw)
The maximum size was not documented, so do that.
Reported-by: Frank Rehwinkel <[email protected]>
Signed-off-by: Dylan Yudaken <[email protected]>
---
man/io_uring_register_buf_ring.3 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/man/io_uring_register_buf_ring.3 b/man/io_uring_register_buf_ring.3
index f75063fc9f2c..357a3fb39a0c 100644
--- a/man/io_uring_register_buf_ring.3
+++ b/man/io_uring_register_buf_ring.3
@@ -55,7 +55,8 @@ or similar. The size of the ring is the product of
and the size of
.IR "struct io_uring_buf" .
.I ring_entries
-is the desired size of the ring, and must be a power-of-2 in size.
+is the desired size of the ring, and must be a power-of-2 in size. The maximum size
+allowed is 2^15 (32768).
.I bgid
is the buffer group ID associated with this ring. SQEs that select a buffer
has a buffer group associated with them in their
base-commit: 13f3fe3af811d8508676dbd1ef552f2b459e1b21
--
2.30.2
next reply other threads:[~2022-10-20 11:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-20 11:51 Dylan Yudaken [this message]
2022-10-20 12:47 ` [PATCH liburing] Document maximum ring size for io_uring_register_buf_ring Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox