Skip to content

Add more io_uring features for Linux 6.17#1637

Open
KR-bluejay wants to merge 1 commit into
bytecodealliance:mainfrom
KR-bluejay:main
Open

Add more io_uring features for Linux 6.17#1637
KR-bluejay wants to merge 1 commit into
bytecodealliance:mainfrom
KR-bluejay:main

Conversation

@KR-bluejay

Copy link
Copy Markdown

Related #1634

This PR updates io_uring for newer Linux 6.17 UAPI definitions.

Changes

  1. Add newer io_uring operations

    • IORING_OP_RECV_ZC
    • IORING_OP_EPOLL_WAIT
    • IORING_OP_READV_FIXED
    • IORING_OP_WRITEV_FIXED
    • IORING_OP_PIPE
  2. Add newer register operations and helpers

    • IORING_REGISTER_ZCRX_IFQ
    • IORING_REGISTER_RESIZE_RINGS
    • IORING_REGISTER_MEM_REGION
    • socket IORING_OP_URING_CMD command wrappers
    • NAPI op/tracking strategy wrappers
  3. Add typed flag wrappers and struct updates

    • pbuf ring flags
    • zcrx area flags
    • clone buffer flags
    • registered wait flags
    • newer io_uring registration structs and fields

Validation

  • cargo test --features=all-apis
  • cargo test --features=all-apis,use-libc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant