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 v4 1/3] config: detect liburing
Date: Thu, 3 Dec 2026 09:43:00 -0800 [thread overview]
Message-ID: <20261203174302.1418-2-scott.k.mitch1@gmail.com> (raw)
In-Reply-To: <20261203174302.1418-1-scott.k.mitch1@gmail.com>
Detect liburing once and set RTE_HAS_LIBURING, as done for libpcap, so
drivers and libraries can share the check, and list it with the
optional libraries. Version 2.4 is the oldest tested.
Suggested-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Scott Mitchell <scott.k.mitch1@gmail.com>
---
Depends-on: series-40254 ("net/af_packet fixes and Tx features")
config/meson.build | 6 ++++++
doc/guides/linux_gsg/sys_reqs.rst | 2 ++
2 files changed, 8 insertions(+)
diff --git a/config/meson.build b/config/meson.build
index bfac1cd93d..6b60971bc3 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -301,6 +301,12 @@ if (pcap_dep.found() and cc.has_header('pcap.h', dependencies: pcap_dep)
dpdk_extra_ldflags += '-l@0@'.format(pcap_lib)
endif
+# check for liburing
+iouring_dep = dependency('liburing', version: '>= 2.4', required: false, method: 'pkg-config')
+if iouring_dep.found()
+ dpdk_conf.set('RTE_HAS_LIBURING', 1)
+endif
+
# for clang 32-bit compiles we need libatomic for 64-bit atomic ops
if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false
atomic_dep = cc.find_library('atomic', required: true)
diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst
index a3b23e8168..d6f105b926 100644
--- a/doc/guides/linux_gsg/sys_reqs.rst
+++ b/doc/guides/linux_gsg/sys_reqs.rst
@@ -85,6 +85,8 @@ For libraries the additional dependencies include:
* libelf: to compile and use the bpf library.
+* liburing (2.4 or later): for io_uring, used by the af_packet poll-mode driver.
+
For poll-mode drivers, the additional dependencies for each driver can be
found in that driver's documentation in the relevant DPDK guide document,
e.g. :doc:`/nics/index`
--
2.54.0 (Apple Git-157)
next prev parent reply other threads:[~2026-12-03 17:44 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 ` Scott Mitchell [this message]
2026-12-03 17:43 ` [PATCH v4 2/3] " 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
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=20261203174302.1418-2-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