diff options
author | Josh Triplett <josh@joshtriplett.org> | 2023-02-14 16:42:22 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-02-16 06:09:30 -0700 |
commit | 7d3fd88d61a41016da01889f076fd1c60c7298fc (patch) | |
tree | 6d585bf491aa17b8c19876a73c4df07c0476f416 /include/dt-bindings/clock/xlnx-zynqmp-clk.h | |
parent | fbe870a72fd1ddc5e08c23764e23e5766f54aa87 (diff) |
io_uring: Support calling io_uring_register with a registered ring fd
Add a new flag IORING_REGISTER_USE_REGISTERED_RING (set via the high bit
of the opcode) to treat the fd as a registered index rather than a file
descriptor.
This makes it possible for a library to open an io_uring, register the
ring fd, close the ring fd, and subsequently use the ring entirely via
registered index.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Link: https://lore.kernel.org/r/f2396369e638284586b069dbddffb8c992afba95.1676419314.git.josh@joshtriplett.org
[axboe: remove extra high bit clear]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/dt-bindings/clock/xlnx-zynqmp-clk.h')
0 files changed, 0 insertions, 0 deletions