All of lore.kernel.org
 help / color / mirror / Atom feed
From: <michael.yacc@gmail.com>
To: <io-uring@vger.kernel.org>
Subject: io_uring usage (ordering of commands)
Date: Mon, 31 Mar 2025 10:38:08 +0100	[thread overview]
Message-ID: <027001dba220$9c8cadc0$d5a60940$@gmail.com> (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



                 reply	other threads:[~2025-03-31  9:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='027001dba220$9c8cadc0$d5a60940$@gmail.com' \
    --to=michael.yacc@gmail.com \
    --cc=io-uring@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.