public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH liburing] Document maximum ring size for io_uring_register_buf_ring
@ 2022-10-20 11:51 Dylan Yudaken
  2022-10-20 12:47 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Dylan Yudaken @ 2022-10-20 11:51 UTC (permalink / raw)
  To: Jens Axboe, Pavel Begunkov; +Cc: io-uring, Dylan Yudaken, Frank Rehwinkel

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH liburing] Document maximum ring size for io_uring_register_buf_ring
  2022-10-20 11:51 [PATCH liburing] Document maximum ring size for io_uring_register_buf_ring Dylan Yudaken
@ 2022-10-20 12:47 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2022-10-20 12:47 UTC (permalink / raw)
  To: Dylan Yudaken, Pavel Begunkov; +Cc: io-uring, Frank Rehwinkel

On Thu, 20 Oct 2022 04:51:41 -0700, Dylan Yudaken wrote:
> The maximum size was not documented, so do that.
> 
> 

Applied, thanks!

[1/1] Document maximum ring size for io_uring_register_buf_ring
      (no commit info)

Best regards,
-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-20 12:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-20 11:51 [PATCH liburing] Document maximum ring size for io_uring_register_buf_ring Dylan Yudaken
2022-10-20 12:47 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox