diff options
Diffstat (limited to 'sys/linux/io_uring.txt')
| -rw-r--r-- | sys/linux/io_uring.txt | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/sys/linux/io_uring.txt b/sys/linux/io_uring.txt index f4de4a0a9..86e31e251 100644 --- a/sys/linux/io_uring.txt +++ b/sys/linux/io_uring.txt @@ -96,20 +96,19 @@ io_uring_files_update { fds ptr64[in, array[fd]] } -# NEED: part of fields are input here and part are output. We can't express this yet (#245). io_uring_params { -# sq_entries, cq_entries, features, wq_fd, sq_off, and cq_off are set by the kernel - sq_entries const[0, int32] - cq_entries int32[0:IORING_MAX_CQ_ENTRIES] - flags flags[io_uring_setup_flags, int32] - sq_thread_cpu int32[0:3] - sq_thread_idle int32[0:1000] - features const[0, int32] - wq_fd fd_io_uring[opt] + sq_entries int32 (out) + cq_entries int32[0:IORING_MAX_CQ_ENTRIES] (inout) + flags flags[io_uring_setup_flags, int32] (in) + sq_thread_cpu int32[0:3] (in) + sq_thread_idle int32[0:1000] (in) + features int32 (out) + wq_fd fd_io_uring[opt] (in) resv array[const[0, int32], 3] # We don't really use them (they are hard-coded). Thus, just pass some memory region of their size. - sq_off array[const[0, int32], 10] - cq_off array[const[0, int32], 10] +# TODO: Now that per-field directions is supported, can we avoid using hard-coded values for offsets? + sq_off array[int32, 10] (out) + cq_off array[int32, 10] (out) } # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
