Skip to contentSkip to conversation

Document maximum ring size for io_uring_register_buf_ring

PATCH Applied Dylan Yudaken 2 participants 2 messages Oct 20, 2022 io_uring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Document maximum ring size for io_uring_register_buf_ring

The maximum size was not documented, so do that.

---
 man/io_uring_register_buf_ring.3 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
man/io_uring_register_buf_ring.3 +2 -1
index f75063fc9f2c..357a3fb39a0c 100644
@@ -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

Signature · 1 line
2.30.2
maintainer Applied
#1 lore raw
Quoted 3 lines · Dylan Yudaken

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,

Signature · 1 line
Jens Axboe