io_uring: add missing IORING_MAP_OFF_ZCRX_REGION in io_uring_mmap
authorBui Quang Minh <minhquangbui99@gmail.com>
Fri, 21 Feb 2025 08:59:33 +0000 (15:59 +0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 21 Feb 2025 16:40:09 +0000 (09:40 -0700)
commit92ade52f26555f15880b42405e35f0cfbb8ea7db
tree8eca6f159e0d93eac06147e7f3f9514f01a03301
parent0d2cdc35e805eb50f4a33b7287995ef590f1b916
io_uring: add missing IORING_MAP_OFF_ZCRX_REGION in io_uring_mmap

Allow user to mmap the kernel allocated zerocopy-rx refill queue.

Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Li Zetao <lizetao1@huawei.com>
Link: https://lore.kernel.org/r/20250221085933.26034-1-minhquangbui99@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/memmap.c