From: Scott Mitchell <scott.k.mitch1@gmail.com>
To: dev@dpdk.org
Cc: stephen@networkplumber.org, thomas@monjalon.net,
david.marchand@redhat.com, mb@smartsharesystems.com,
Scott Mitchell <scott.k.mitch1@gmail.com>
Subject: [PATCH v5 2/3] net/af_packet: add io_uring Tx acceleration
Date: Fri, 4 Dec 2026 08:07:13 -0800 [thread overview]
Message-ID: <20261204160714.25381-3-scott.k.mitch1@gmail.com> (raw)
In-Reply-To: <20261204160714.25381-1-scott.k.mitch1@gmail.com>
The sendto() Tx kick makes the kernel process queued frames
synchronously on the calling lcore. Optionally kick through an io_uring
SQPOLL ring instead, so a kernel thread does that work, as virtio
backends do. Each SQPOLL thread busy-polls for
tx_io_uring_sq_thread_idle after a kick, so under load it takes a CPU
of its own.
New devargs: tx_io_uring_enabled, tx_io_uring_sq_thread_idle,
tx_io_uring_q_cpu (SQPOLL thread CPUs) and tx_io_uring_threads (SQPOLL
threads shared by the queues).
Requires DPDK built with liburing (RTE_HAS_LIBURING) and Linux 5.6 or
later. Probe fails if tx_io_uring_enabled is set and the io_uring can't
be set up, or if io_uring devargs can't be honored. A kick that finds
the submission queue full uses sendto(), so frames queued since the
last kick aren't left waiting for the next burst. Failed kicks are
counted as Tx errors.
Signed-off-by: Scott Mitchell <scott.k.mitch1@gmail.com>
---
Depends-on: series-40265 ("net/af_packet fixes and Tx features")
doc/guides/nics/af_packet.rst | 28 ++-
doc/guides/rel_notes/release_27_03.rst | 1 +
drivers/net/af_packet/meson.build | 5 +
drivers/net/af_packet/rte_eth_af_packet.c | 292 +++++++++++++++++++++-
4 files changed, 313 insertions(+), 13 deletions(-)
diff --git a/doc/guides/nics/af_packet.rst b/doc/guides/nics/af_packet.rst
index 10ba325e81..273aafb157 100644
--- a/doc/guides/nics/af_packet.rst
+++ b/doc/guides/nics/af_packet.rst
@@ -32,7 +32,22 @@ Some of these, in turn, will be used to configure the PACKET_MMAP settings.
* ``framesz`` - PACKET_MMAP frame size (optional, default 2048B; Note: multiple
of 16B, at least 144B);
* ``framecnt`` - PACKET_MMAP frame count (optional, default 512; Note: multiple
- of ``blocksz`` / ``framesz``).
+ of ``blocksz`` / ``framesz``);
+* ``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.
For details regarding ``fanout_mode`` argument, you can consult the
`PACKET_FANOUT documentation <https://www.man7.org/linux/man-pages/man7/packet.7.html>`_.
@@ -96,3 +111,14 @@ Features and Limitations
application.
* The PMD will add the kernel packet timestamp with nanoseconds resolution and
UNIX origo, i.e. time since 1-JAN-1970 UTC, if ``RTE_ETH_RX_OFFLOAD_TIMESTAMP`` is enabled.
+* With ``tx_io_uring_enabled``, each SQPOLL thread busy-polls for
+ ``tx_io_uring_sq_thread_idle`` after every Tx burst, so under load each thread
+ takes a CPU of its own. Pin the threads with ``tx_io_uring_q_cpu``, in
+ particular when lcores run with real-time priority, which can starve them.
+* With io_uring, the kernel transmits from the SQPOLL thread. If XPS is
+ configured, that thread's CPU selects the interface Tx queue, so an unpinned
+ thread can reorder a queue's packets across interface Tx queues, and queues
+ sharing a thread share an interface Tx queue.
+* io_uring kicks complete asynchronously. A failed kick adds one to the Tx error
+ count, which then counts kicks rather than packets; its frames are sent by a
+ later kick.
diff --git a/doc/guides/rel_notes/release_27_03.rst b/doc/guides/rel_notes/release_27_03.rst
index dd9e8a57bb..88cc6a67d8 100644
--- a/doc/guides/rel_notes/release_27_03.rst
+++ b/doc/guides/rel_notes/release_27_03.rst
@@ -58,6 +58,7 @@ New Features
* **Updated af_packet net driver.**
* Added software TX checksum offload for IPv4, UDP and TCP.
+ * Added optional io_uring SQPOLL notification of the kernel on Tx.
Removed Items
diff --git a/drivers/net/af_packet/meson.build b/drivers/net/af_packet/meson.build
index f45e4491d4..e1158ed5e3 100644
--- a/drivers/net/af_packet/meson.build
+++ b/drivers/net/af_packet/meson.build
@@ -5,5 +5,10 @@ if not is_linux
build = false
reason = 'only supported on Linux'
endif
+
+if dpdk_conf.has('RTE_HAS_LIBURING')
+ ext_deps += iouring_dep
+endif
+
sources = files('rte_eth_af_packet.c')
require_iova_in_mbuf = false
diff --git a/drivers/net/af_packet/rte_eth_af_packet.c b/drivers/net/af_packet/rte_eth_af_packet.c
index ce2ec6fa4e..d2e321345e 100644
--- a/drivers/net/af_packet/rte_eth_af_packet.c
+++ b/drivers/net/af_packet/rte_eth_af_packet.c
@@ -20,6 +20,10 @@
#include <bus_vdev_driver.h>
#include <ctype.h>
+#ifdef RTE_HAS_LIBURING
+#include <liburing.h>
+#endif
+
#include <errno.h>
#include <limits.h>
#include <linux/if_ether.h>
@@ -53,9 +57,20 @@
#define ETH_AF_PACKET_QDISC_BYPASS_ARG "qdisc_bypass"
#define ETH_AF_PACKET_FANOUT_MODE_ARG "fanout_mode"
#define ETH_AF_PACKET_IGNORE_OUTGOING_ARG "ignore_outgoing"
+#define ETH_AF_PACKET_TX_IO_URING_ENABLED_ARG "tx_io_uring_enabled"
+#define ETH_AF_PACKET_TX_IO_URING_SQ_THREAD_IDLE_ARG "tx_io_uring_sq_thread_idle"
+#define ETH_AF_PACKET_TX_IO_URING_Q_CPU_ARG "tx_io_uring_q_cpu"
+#define ETH_AF_PACKET_TX_IO_URING_THREADS_ARG "tx_io_uring_threads"
#define DFLT_FRAME_SIZE (1 << 11)
#define DFLT_FRAME_COUNT (1 << 9)
+#define DFLT_TX_IO_URING_ENABLED false
+/* io_uring SQ entries: outstanding kicks; one kick sends all queued frames */
+#define ETH_AF_PACKET_URING_SQ_SIZE 1024
+#define DFLT_TX_IO_URING_SQ_THREAD_IDLE_MS 500
+
+/* io_uring registered file descriptor index for the socket fd */
+#define ETH_AF_PACKET_URING_SOCKFD_INDEX 0
/* Rx data starts at tp_mac, past the header aligned as in the kernel's tpacket_rcv() */
#define ETH_AF_PACKET_RX_FRAME_OVERHEAD \
@@ -100,6 +115,14 @@ struct __rte_cache_aligned pkt_tx_queue {
volatile unsigned long tx_pkts;
volatile unsigned long err_pkts;
volatile unsigned long tx_bytes;
+
+#ifdef RTE_HAS_LIBURING
+ bool uring_enabled;
+ uint8_t uring_sqe_flags;
+ uint32_t uring_sq_size;
+ uint32_t uring_sqe_since_cq_advance;
+ struct io_uring uring_ring;
+#endif
};
struct pmd_internals {
@@ -117,6 +140,15 @@ struct pmd_internals {
uint8_t timestamp_offloading;
};
+/* io_uring Tx kick devargs */
+struct af_packet_io_uring_args {
+ bool enabled;
+ uint32_t sq_thread_idle_ms;
+ uint32_t threads; /* SQPOLL threads shared by the queues, 0 for one per queue */
+ uint32_t nb_q_cpu;
+ uint32_t *q_cpu; /* CPU of each SQPOLL thread, from tx_io_uring_q_cpu */
+};
+
static const char *valid_arguments[] = {
ETH_AF_PACKET_IFACE_ARG,
ETH_AF_PACKET_NUM_Q_ARG,
@@ -126,6 +158,10 @@ static const char *valid_arguments[] = {
ETH_AF_PACKET_QDISC_BYPASS_ARG,
ETH_AF_PACKET_FANOUT_MODE_ARG,
ETH_AF_PACKET_IGNORE_OUTGOING_ARG,
+ ETH_AF_PACKET_TX_IO_URING_ENABLED_ARG,
+ ETH_AF_PACKET_TX_IO_URING_SQ_THREAD_IDLE_ARG,
+ ETH_AF_PACKET_TX_IO_URING_Q_CPU_ARG,
+ ETH_AF_PACKET_TX_IO_URING_THREADS_ARG,
NULL
};
@@ -199,6 +235,89 @@ tpacket_write_status(struct tpacket2_hdr *ppd, uint32_t status)
rte_memory_order_release);
}
+#ifdef RTE_HAS_LIBURING
+/*
+ * Create the io_uring that kicks Tx queue q. With args->threads, queue q
+ * shares the SQPOLL thread of queue q % threads, which was set up first.
+ */
+static int
+af_packet_io_uring_tx_queue_init(struct pmd_internals *internals, unsigned int q,
+ const struct af_packet_io_uring_args *args)
+{
+ struct pkt_tx_queue *tx_queue = &internals->tx_queue[q];
+ struct io_uring_params params = {
+ .sq_thread_idle = args->sq_thread_idle_ms,
+ .flags = IORING_SETUP_SQPOLL,
+ };
+ struct io_uring_probe *probe;
+ bool send_ok;
+ int rc;
+
+ if (!args->enabled)
+ return 0;
+
+ if (args->threads != 0 && q >= args->threads) {
+ /* The ring's memory and lifetime stay per queue */
+ params.flags |= IORING_SETUP_ATTACH_WQ;
+ params.wq_fd = internals->tx_queue[q % args->threads].uring_ring.ring_fd;
+ } else if (q < args->nb_q_cpu) {
+ params.flags |= IORING_SETUP_SQ_AFF;
+ params.sq_thread_cpu = args->q_cpu[q];
+ }
+
+ rc = io_uring_queue_init_params(ETH_AF_PACKET_URING_SQ_SIZE, &tx_queue->uring_ring,
+ ¶ms);
+ if (rc < 0) {
+ PMD_LOG(ERR, "tx_queue %u: io_uring setup failed: %s", q, strerror(-rc));
+ return rc;
+ }
+
+ /* The kick needs IORING_OP_SEND (Linux 5.6); skipping its CQEs (5.17) is optional */
+ probe = io_uring_get_probe_ring(&tx_queue->uring_ring);
+ send_ok = probe != NULL && io_uring_opcode_supported(probe, IORING_OP_SEND);
+ if (probe != NULL)
+ io_uring_free_probe(probe);
+ if (!send_ok) {
+ PMD_LOG(ERR, "tx_queue %u: kernel lacks io_uring send", q);
+ rc = -ENOTSUP;
+ goto fail;
+ }
+
+ /* Register the sockfd at index ETH_AF_PACKET_URING_SOCKFD_INDEX */
+ rc = io_uring_register_files(&tx_queue->uring_ring, &tx_queue->sockfd, 1);
+ if (rc < 0) {
+ PMD_LOG(ERR, "tx_queue %u: io_uring file registration failed: %s",
+ q, strerror(-rc));
+ goto fail;
+ }
+
+ tx_queue->uring_sqe_flags = IOSQE_FIXED_FILE;
+ if (params.features & IORING_FEAT_CQE_SKIP)
+ tx_queue->uring_sqe_flags |= IOSQE_CQE_SKIP_SUCCESS;
+ tx_queue->uring_sq_size = params.sq_entries;
+ tx_queue->uring_sqe_since_cq_advance = 0;
+ tx_queue->uring_enabled = true;
+ PMD_LOG(DEBUG, "tx_queue %u: io_uring SQPOLL%s, flags 0x%x",
+ q, (params.flags & IORING_SETUP_ATTACH_WQ) ? " shared" : "", params.flags);
+ return 0;
+fail:
+ io_uring_queue_exit(&tx_queue->uring_ring);
+ return rc;
+}
+#else
+static int
+af_packet_io_uring_tx_queue_init(struct pmd_internals *internals __rte_unused,
+ unsigned int q __rte_unused,
+ const struct af_packet_io_uring_args *args)
+{
+ if (!args->enabled)
+ return 0;
+ PMD_LOG(ERR, "%s=1 needs liburing, which this build lacks",
+ ETH_AF_PACKET_TX_IO_URING_ENABLED_ARG);
+ return -ENOTSUP;
+}
+#endif /* RTE_HAS_LIBURING */
+
static uint16_t
eth_af_packet_rx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts)
{
@@ -422,6 +541,58 @@ af_packet_tx_cksum(uint8_t *data, const struct rte_mbuf *m)
return true;
}
+/*
+ * Kick the kernel to process frames in SEND_REQUEST. Returns false if the
+ * kernel rejected a synchronous kick with an error other than ENOBUFS/EAGAIN.
+ */
+static inline bool
+eth_af_packet_tx_kick(struct pkt_tx_queue *pkt_q)
+{
+#ifdef RTE_HAS_LIBURING
+ if (pkt_q->uring_enabled) {
+ /*
+ * Reap CQEs once per sq_size kicks; the CQ (2 * sq_size) can't overflow.
+ * Count failed kicks in err_pkts so a dead Tx path shows; they are
+ * kicks, not packets, and the frames stay queued for the next kick.
+ */
+ if (++pkt_q->uring_sqe_since_cq_advance >= pkt_q->uring_sq_size) {
+ struct io_uring_cqe *cqe;
+ unsigned int head, n = 0;
+
+ io_uring_for_each_cqe(&pkt_q->uring_ring, head, cqe) {
+ if (cqe->res < 0 && cqe->res != -EAGAIN && cqe->res != -ENOBUFS)
+ pkt_q->err_pkts++;
+ n++;
+ }
+ io_uring_cq_advance(&pkt_q->uring_ring, n);
+ pkt_q->uring_sqe_since_cq_advance = 0;
+ }
+
+ struct io_uring_sqe *sqe = io_uring_get_sqe(&pkt_q->uring_ring);
+ if (likely(sqe != NULL)) {
+ /* Use registered fd (see io_uring_register_files call during setup) */
+ io_uring_prep_send(sqe, ETH_AF_PACKET_URING_SOCKFD_INDEX, NULL, 0,
+ MSG_DONTWAIT);
+ io_uring_sqe_set_flags(sqe, pkt_q->uring_sqe_flags);
+ io_uring_sqe_set_data(sqe, NULL);
+
+ /* With SQPOLL this only enters the kernel to wake a sleeping SQ thread;
+ * its full barrier orders the tail store before the NEED_WAKEUP check.
+ */
+ io_uring_submit(&pkt_q->uring_ring);
+ return true;
+ }
+ /*
+ * SQ full: the kernel publishes the SQ head only after issuing a whole
+ * batch, so a pending kick may already have scanned the ring. Kick
+ * synchronously so frames queued since then aren't left behind.
+ */
+ }
+#endif
+ return sendto(pkt_q->sockfd, NULL, 0, MSG_DONTWAIT, NULL, 0) != -1 ||
+ errno == ENOBUFS || errno == EAGAIN;
+}
+
/*
* Callback to handle sending packets through a real NIC.
*/
@@ -490,14 +661,12 @@ eth_af_packet_tx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts)
rte_pktmbuf_free_bulk(bufs, i);
/* kick-off transmits, even if nothing new was queued */
- if (unlikely(sendto(pkt_q->sockfd, NULL, 0, MSG_DONTWAIT, NULL, 0) == -1 &&
- errno != ENOBUFS && errno != EAGAIN)) {
+ if (unlikely(!eth_af_packet_tx_kick(pkt_q))) {
/*
* In case of a ENOBUFS/EAGAIN error all of the enqueued
* packets will be considered successful even though only some
* are sent.
*/
-
num_tx = 0;
num_tx_bytes = 0;
}
@@ -708,6 +877,15 @@ eth_dev_close(struct rte_eth_dev *dev)
internals->rx_queue[q].sockfd = -1;
internals->tx_queue[q].sockfd = -1;
+#ifdef RTE_HAS_LIBURING
+ if (internals->tx_queue[q].uring_enabled) {
+ /* Ring exit is async; drop its socket reference now so the socket closes */
+ io_uring_unregister_files(&internals->tx_queue[q].uring_ring);
+ io_uring_queue_exit(&internals->tx_queue[q].uring_ring);
+ internals->tx_queue[q].uring_enabled = false;
+ }
+#endif
+
munmap(internals->rx_queue[q].map,
2 * req->tp_block_size * req->tp_block_nr);
rte_free(internals->rx_queue[q].rd);
@@ -996,6 +1174,7 @@ rte_pmd_init_internals(struct rte_vdev_device *dev,
unsigned int qdisc_bypass,
const char *fanout_mode,
unsigned int ignore_outgoing,
+ const struct af_packet_io_uring_args *uring_args,
struct pmd_internals **internals,
struct rte_eth_dev **eth_dev,
struct rte_kvargs *kvlist)
@@ -1247,6 +1426,9 @@ rte_pmd_init_internals(struct rte_vdev_device *dev,
goto error;
}
}
+
+ if (af_packet_io_uring_tx_queue_init(*internals, q, uring_args) < 0)
+ goto error;
}
/* reserve an ethdev entry */
@@ -1280,6 +1462,13 @@ rte_pmd_init_internals(struct rte_vdev_device *dev,
if (qsockfd != -1)
close(qsockfd);
for (q = 0; q < nb_queues; q++) {
+#ifdef RTE_HAS_LIBURING
+ if ((*internals)->tx_queue[q].uring_enabled) {
+ io_uring_unregister_files(&(*internals)->tx_queue[q].uring_ring);
+ io_uring_queue_exit(&(*internals)->tx_queue[q].uring_ring);
+ (*internals)->tx_queue[q].uring_enabled = false;
+ }
+#endif
if ((*internals)->rx_queue[q].map != MAP_FAILED)
munmap((*internals)->rx_queue[q].map,
2 * req->tp_block_size * req->tp_block_nr);
@@ -1353,6 +1542,13 @@ rte_eth_from_packet(struct rte_vdev_device *dev,
unsigned int qdisc_bypass = 1;
const char *fanout_mode = NULL;
unsigned int ignore_outgoing = 0;
+ struct af_packet_io_uring_args uring_args = {
+ .enabled = DFLT_TX_IO_URING_ENABLED,
+ .sq_thread_idle_ms = DFLT_TX_IO_URING_SQ_THREAD_IDLE_MS,
+ };
+ bool uring_opts = false;
+ unsigned int uval, i;
+ int ret;
/* do some parameter checking */
if (*sockfd < 0)
@@ -1424,6 +1620,34 @@ rte_eth_from_packet(struct rte_vdev_device *dev,
return -1;
continue;
}
+ if (strstr(pair->key, ETH_AF_PACKET_TX_IO_URING_ENABLED_ARG) != NULL) {
+ if (parse_uint(pair->key, pair->value, &uval, 1) < 0)
+ return -1;
+ uring_args.enabled = uval != 0;
+ continue;
+ }
+ if (strstr(pair->key, ETH_AF_PACKET_TX_IO_URING_SQ_THREAD_IDLE_ARG) != NULL) {
+ if (parse_uint(pair->key, pair->value, &uval, UINT32_MAX) < 0)
+ return -1;
+ uring_args.sq_thread_idle_ms = uval;
+ uring_opts = true;
+ continue;
+ }
+ if (strstr(pair->key, ETH_AF_PACKET_TX_IO_URING_Q_CPU_ARG) != NULL) {
+ /* values are stored below, once their number is checked */
+ if (parse_uint(pair->key, pair->value, &uval, UINT32_MAX) < 0)
+ return -1;
+ uring_args.nb_q_cpu++;
+ uring_opts = true;
+ continue;
+ }
+ if (strstr(pair->key, ETH_AF_PACKET_TX_IO_URING_THREADS_ARG) != NULL) {
+ if (parse_uint(pair->key, pair->value, &uval, RTE_MAX_QUEUES_PER_PORT) < 0)
+ return -1;
+ uring_args.threads = uval;
+ uring_opts = true;
+ continue;
+ }
}
if (framesize > blocksize) {
@@ -1458,14 +1682,54 @@ rte_eth_from_packet(struct rte_vdev_device *dev,
PMD_LOG(DEBUG, "%s:\tfanout mode %s", name, "default PACKET_FANOUT_HASH");
PMD_LOG(DEBUG, "%s:\tignore outgoing %u", name, ignore_outgoing);
- if (rte_pmd_init_internals(dev, *sockfd, qpairs,
- blocksize, blockcount,
- framesize, framecount,
- qdisc_bypass,
- fanout_mode,
- ignore_outgoing,
- &internals, ð_dev,
- kvlist) < 0)
+
+ /* io_uring devargs that can't all be honored fail the probe */
+ if (uring_opts && !uring_args.enabled) {
+ PMD_LOG(ERR, "%s: tx_io_uring_* devargs need %s=1",
+ name, ETH_AF_PACKET_TX_IO_URING_ENABLED_ARG);
+ return -1;
+ }
+ if (uring_args.threads > qpairs) {
+ PMD_LOG(ERR, "%s: %s=%u exceeds %s=%u", name,
+ ETH_AF_PACKET_TX_IO_URING_THREADS_ARG, uring_args.threads,
+ ETH_AF_PACKET_NUM_Q_ARG, qpairs);
+ return -1;
+ }
+ if (uring_args.nb_q_cpu > (uring_args.threads != 0 ? uring_args.threads : qpairs)) {
+ PMD_LOG(ERR, "%s: %u %s values for fewer SQPOLL threads", name,
+ uring_args.nb_q_cpu, ETH_AF_PACKET_TX_IO_URING_Q_CPU_ARG);
+ return -1;
+ }
+ if (uring_args.nb_q_cpu != 0) {
+ uring_args.q_cpu = rte_malloc(name,
+ uring_args.nb_q_cpu * sizeof(*uring_args.q_cpu), 0);
+ if (uring_args.q_cpu == NULL)
+ return -1;
+ for (k_idx = 0, i = 0; k_idx < kvlist->count; k_idx++) {
+ pair = &kvlist->pairs[k_idx];
+ if (strstr(pair->key, ETH_AF_PACKET_TX_IO_URING_Q_CPU_ARG) != NULL &&
+ parse_uint(pair->key, pair->value, &uval, UINT32_MAX) == 0)
+ uring_args.q_cpu[i++] = uval;
+ }
+ }
+ if (uring_args.enabled) {
+ PMD_LOG(DEBUG, "%s:\tio_uring sq thread idle %u ms, threads %u",
+ name, uring_args.sq_thread_idle_ms, uring_args.threads);
+ for (i = 0; i < uring_args.nb_q_cpu; i++)
+ PMD_LOG(DEBUG, "%s:\tio_uring q_cpu[%u] %u", name, i, uring_args.q_cpu[i]);
+ }
+
+ ret = rte_pmd_init_internals(dev, *sockfd, qpairs,
+ blocksize, blockcount,
+ framesize, framecount,
+ qdisc_bypass,
+ fanout_mode,
+ ignore_outgoing,
+ &uring_args,
+ &internals, ð_dev,
+ kvlist);
+ rte_free(uring_args.q_cpu);
+ if (ret < 0)
return -1;
eth_dev->rx_pkt_burst = eth_af_packet_rx;
@@ -1562,4 +1826,8 @@ RTE_PMD_REGISTER_PARAM_STRING(net_af_packet,
"framecnt=<int> "
"qdisc_bypass=<0|1> "
"fanout_mode=<hash|lb|cpu|rollover|rnd|qm> "
- "ignore_outgoing=<0|1>");
+ "ignore_outgoing=<0|1> "
+ "tx_io_uring_enabled=<0|1> "
+ "tx_io_uring_sq_thread_idle=<int> "
+ "tx_io_uring_q_cpu=<int> "
+ "tx_io_uring_threads=<int>");
--
2.54.0 (Apple Git-157)
next prev parent reply other threads:[~2026-12-04 16:07 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 ` Scott Mitchell [this message]
2026-12-04 20:22 ` [PATCH v5 2/3] net/af_packet: add io_uring Tx acceleration Stephen Hemminger
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=20261204160714.25381-3-scott.k.mitch1@gmail.com \
--to=scott.k.mitch1@gmail.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=mb@smartsharesystems.com \
--cc=stephen@networkplumber.org \
--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