From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Subject: [RFC v3 0/7] Rework device probing
Date: Thu, 5 Mar 2026 17:45:42 +0100 [thread overview]
Message-ID: <20260305164550.2067453-1-david.marchand@redhat.com> (raw)
In-Reply-To: <20260225112922.3982104-1-david.marchand@redhat.com>
Applications relying on device hotplug don't work well with the default
probing of all available resources.
This series proposes to change this behavior via a new EAL option.
--
David Marchand
Changes since RFC v2:
- went one step further and reworked devargs lookup in buses following
Bruce comment (see patch 4 which is cosmetic, and patch 5),
- updated device selection helper accordingly and
changed API to be device name based,
- renamed option, added check on -b presence, updated doc in the last
patch,
Changes since RFC v1:
- reviewed bus probe() and cleaned up NXP drivers,
- changed approach following Bruce comment,
David Marchand (7):
devtools: check packet forwarding in null test
bus/fslmc: fix bus cleanup
drivers/bus: require probe function for NXP drivers
drivers: cleanup devargs lookup in bus scan
bus: factorize devargs lookup
bus: factorize device selection
eal: configure initial device probing
app/test/test_eal_flags.c | 63 +++++++++++++++++
devtools/test-null.sh | 10 ++-
doc/guides/linux_gsg/eal_args.include.rst | 13 ++++
drivers/bus/auxiliary/auxiliary_common.c | 33 +--------
drivers/bus/auxiliary/bus_auxiliary_driver.h | 2 -
drivers/bus/auxiliary/linux/auxiliary.c | 2 +-
drivers/bus/auxiliary/private.h | 6 --
drivers/bus/cdx/cdx.c | 34 +---------
drivers/bus/dpaa/dpaa_bus.c | 71 +++++++++-----------
drivers/bus/fslmc/fslmc_bus.c | 69 ++++++++-----------
drivers/bus/fslmc/fslmc_vfio.c | 22 ++----
drivers/bus/ifpga/bus_ifpga_driver.h | 2 -
drivers/bus/ifpga/ifpga_bus.c | 4 +-
drivers/bus/pci/bsd/pci.c | 5 +-
drivers/bus/pci/linux/pci.c | 2 +-
drivers/bus/pci/pci_common.c | 51 ++++----------
drivers/bus/pci/private.h | 11 ---
drivers/bus/pci/windows/pci.c | 4 +-
drivers/bus/platform/platform.c | 43 +-----------
drivers/bus/uacce/uacce.c | 39 +----------
drivers/bus/vdev/vdev.c | 2 +-
drivers/bus/vmbus/linux/vmbus_bus.c | 2 +-
drivers/bus/vmbus/private.h | 3 -
drivers/bus/vmbus/vmbus_common.c | 45 +++----------
drivers/dma/idxd/idxd_bus.c | 18 +----
drivers/raw/ifpga/ifpga_rawdev.c | 2 +-
lib/eal/common/eal_common_bus.c | 44 ++++++++++++
lib/eal/common/eal_common_options.c | 10 +++
lib/eal/common/eal_internal_cfg.h | 1 +
lib/eal/common/eal_option_list.h | 2 +
lib/eal/include/bus_driver.h | 37 ++++++++++
31 files changed, 288 insertions(+), 364 deletions(-)
--
2.53.0
next prev parent reply other threads:[~2026-03-05 16:46 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-25 11:29 [RFC 1/2] devtools: check packet forwarding in null test David Marchand
2026-02-25 11:29 ` [RFC 2/2] eal: configure initial device probing David Marchand
2026-02-25 12:09 ` Bruce Richardson
2026-02-25 17:53 ` David Marchand
2026-02-26 16:20 ` [RFC v2 0/5] Rework " David Marchand
2026-02-26 16:20 ` [RFC v2 1/5] devtools: check packet forwarding in null test David Marchand
2026-02-26 16:35 ` Bruce Richardson
2026-02-26 16:20 ` [RFC v2 2/5] bus/fslmc: fix bus cleanup David Marchand
2026-02-26 16:20 ` [RFC v2 3/5] drivers/bus: require probe function for NXP drivers David Marchand
2026-02-26 16:24 ` Bruce Richardson
2026-02-26 16:20 ` [RFC v2 4/5] bus: factorize device selection David Marchand
2026-02-26 16:31 ` Bruce Richardson
2026-02-27 14:17 ` David Marchand
2026-02-27 14:33 ` Bruce Richardson
2026-02-26 16:20 ` [RFC v2 5/5] eal: configure initial device probing David Marchand
2026-02-26 16:34 ` Bruce Richardson
2026-02-26 16:50 ` Robin Jarry
2026-02-27 13:43 ` Thomas Monjalon
2026-02-27 13:51 ` Bruce Richardson
2026-02-27 22:10 ` Stephen Hemminger
2026-03-02 9:02 ` Bruce Richardson
2026-03-02 11:08 ` Morten Brørup
2026-03-02 11:13 ` David Marchand
2026-03-05 16:45 ` David Marchand [this message]
2026-03-05 16:45 ` [RFC v3 1/7] devtools: check packet forwarding in null test David Marchand
2026-03-05 16:45 ` [RFC v3 2/7] bus/fslmc: fix bus cleanup David Marchand
2026-03-05 16:45 ` [RFC v3 3/7] drivers/bus: require probe function for NXP drivers David Marchand
2026-03-05 16:45 ` [RFC v3 4/7] drivers: cleanup devargs lookup in bus scan David Marchand
2026-03-05 16:56 ` Bruce Richardson
2026-03-05 16:45 ` [RFC v3 5/7] bus: factorize devargs lookup David Marchand
2026-03-05 17:06 ` Bruce Richardson
2026-03-05 17:10 ` David Marchand
2026-03-05 16:45 ` [RFC v3 6/7] bus: factorize device selection David Marchand
2026-03-05 17:30 ` Bruce Richardson
2026-03-09 9:50 ` David Marchand
2026-03-07 20:59 ` Robin Jarry
2026-03-05 16:45 ` [RFC v3 7/7] eal: configure initial device probing David Marchand
2026-03-05 17:33 ` Bruce Richardson
2026-03-07 21:05 ` Robin Jarry
2026-03-06 8:26 ` [RFC v3 0/7] Rework " David Marchand
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=20260305164550.2067453-1-david.marchand@redhat.com \
--to=david.marchand@redhat.com \
--cc=dev@dpdk.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox