[PATCH liburing] Document maximum ring size for io_uring_register_buf_ring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The maximum size was not documented, so do that.

Reported-by: Frank Rehwinkel <frankrehwinkel@xxxxxxxxx>
Signed-off-by: Dylan Yudaken <dylany@xxxxxxxx>
---
 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





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux