Skip to contentSkip to conversation

io_uring usage (ordering of commands)

DISCUSSION [email protected] 1 participant 1 message Mar 31, 2025 io_uring

lore
Share & tools
lore
#0 lore raw

Hi,

This is a newbie question about io_uring usage on Rocky 9.5 Kernel 5.14.0-503.22.1.e19_5.x86_64.

I want to use io_uring for UDP packet writing/reading to/from many destinations/ports

If I understand the io_uring documentation correctly in the general case, if I submit N different UDP write commands there is no guarantee they will complete in the order submitted.
Is this true ?.

But, if I submit N * UDP write commands to the same file descriptor, ie same destination and port, can I assume that they will complete in the order submitted ?.

Thanks

Michael