DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Scott Mitchell <scott.k.mitch1@gmail.com>
Cc: dev@dpdk.org, thomas@monjalon.net, david.marchand@redhat.com,
	mb@smartsharesystems.com
Subject: Re: [PATCH v5 2/3] net/af_packet: add io_uring Tx acceleration
Date: Fri, 4 Dec 2026 12:22:21 -0800	[thread overview]
Message-ID: <20261204122221.2d56d9d6@phoenix.local> (raw)
In-Reply-To: <20261204160714.25381-3-scott.k.mitch1@gmail.com>

On Fri,  4 Dec 2026 08:07:13 -0800
Scott Mitchell <scott.k.mitch1@gmail.com> wrote:

> +*   ``tx_io_uring_enabled`` - Notify the kernel of Tx frames from an io_uring
> +    SQPOLL thread instead of the lcore. Needs DPDK built with liburing 2.4 or
> +    later; probe fails if io_uring can't be set up (optional, default 0);
> +*   ``tx_io_uring_sq_thread_idle`` - Idle time (in milliseconds) before an io_uring
> +    SQPOLL thread goes to sleep; 0 selects the kernel default of 1 second
> +    (optional, default 500);
> +*   ``tx_io_uring_q_cpu`` - CPU for an io_uring SQPOLL thread, repeated for each
> +    thread. Value i pins the thread of queue i, or with ``tx_io_uring_threads``
> +    thread i, shared by the queues whose index modulo ``tx_io_uring_threads`` is i
> +    (optional, default unpinned);
> +*   ``tx_io_uring_threads`` - Number of io_uring SQPOLL threads the queues share,
> +    at most ``qpairs``; 0 gives each queue its own thread (optional, default 0).
> +
> +The other ``tx_io_uring_*`` arguments need ``tx_io_uring_enabled=1``, and there can
> +be no more ``tx_io_uring_q_cpu`` values than SQPOLL threads; otherwise probe fails.
>  

No, still to many nerd knobs.

Io_uring should just be used if available and work with existing core/queue infrastructure.
Introducing more driver special snowflake parameters creates application issues,
and future technical debt.

  reply	other threads:[~2026-12-04 20:22 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-04 16:12 [RFC v1] net/af_packet: add io_uring TX acceleration scott.k.mitch1
2026-02-04 16:52 ` Stephen Hemminger
2026-02-05  0:08   ` Scott Mitchell
2026-12-01 22:36 ` [RFC PATCH v2] " Scott Mitchell
2026-12-01 22:44   ` Scott Mitchell
2026-12-02 17:16     ` Stephen Hemminger
2026-12-02 18:52       ` Scott Mitchell
2026-12-02 18:54   ` [PATCH v3 0/2] net/af_packet: add io_uring Tx acceleration Scott Mitchell
2026-12-02 18:54     ` [PATCH v3 1/2] config: detect liburing Scott Mitchell
2026-12-02 18:54     ` [PATCH v3 2/2] net/af_packet: add iouring Tx acceleration Scott Mitchell
2026-12-02 23:43       ` Stephen Hemminger
2026-12-03  0:00     ` [PATCH v3 0/2] net/af_packet: add io_uring " Stephen Hemminger
2026-12-03  0:52       ` Scott Mitchell
2026-12-03 17:42     ` [PATCH v4 0/3] " Scott Mitchell
2026-12-03 17:43       ` [PATCH v4 1/3] config: detect liburing Scott Mitchell
2026-12-03 17:43       ` [PATCH v4 2/3] net/af_packet: add io_uring Tx acceleration Scott Mitchell
2026-12-03 18:10         ` Stephen Hemminger
2026-12-03 19:20           ` Scott Mitchell
2026-12-03 17:43       ` [PATCH v4 3/3] test/af_packet: add io_uring Tx tests Scott Mitchell
2026-12-04 16:07       ` [PATCH v5 0/3] net/af_packet: add io_uring Tx acceleration Scott Mitchell
2026-12-04 16:07         ` [PATCH v5 1/3] config: detect liburing Scott Mitchell
2026-12-04 16:07         ` [PATCH v5 2/3] net/af_packet: add io_uring Tx acceleration Scott Mitchell
2026-12-04 20:22           ` Stephen Hemminger [this message]
2026-12-04 16:07         ` [PATCH v5 3/3] test/af_packet: add io_uring Tx tests Scott Mitchell
2026-12-02 16:59 ` [RFC v1] net/af_packet: add io_uring TX acceleration Stephen Hemminger
2026-12-02 17:02 ` Stephen Hemminger
2026-12-02 17:03 ` Stephen Hemminger
2026-12-02 17:04 ` Stephen Hemminger

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=20261204122221.2d56d9d6@phoenix.local \
    --to=stephen@networkplumber.org \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=mb@smartsharesystems.com \
    --cc=scott.k.mitch1@gmail.com \
    --cc=thomas@monjalon.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox