public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
From: Kevin Traynor <ktraynor@redhat.com>
To: "Morten Brørup" <mb@smartsharesystems.com>,
	"David Marchand" <david.marchand@redhat.com>,
	"Bruce Richardson" <bruce.richardson@intel.com>,
	"Robin Jarry" <rjarry@redhat.com>,
	"Hemant Agrawal" <hemant.agrawal@nxp.com>,
	"Maxime Leroy" <maxime@leroys.fr>
Cc: dev@dpdk.org
Subject: Re: [PATCH v3 0/7] Rework device probing
Date: Fri, 10 Apr 2026 16:16:14 +0100	[thread overview]
Message-ID: <3af9931c-d23a-431d-8935-deb8cdef5a02@redhat.com> (raw)
In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35F657DF@smartserver.smartshare.dk>

On 4/10/26 3:34 PM, Morten Brørup wrote:
> Is there a workaround until this patch is added, if I don't want rte_eal_init() to probe any devices, but I want my application to probe devices later by calling rte_bus_scan() followed by rte_bus_probe()?
> 
> It's not something we really need, so if you don't know it off the top of your head, don't spend time trying to figure it out.
> 

The workaround we have used is '-a 0000:00:00.0' Only allowing a dummy
device, hence other devices are hotplugged as needed.

> 
> Venlig hilsen / Kind regards,
> -Morten Brørup
> 
>> -----Original Message-----
>> From: David Marchand [mailto:david.marchand@redhat.com]
>> Sent: Tuesday, 7 April 2026 13.52
>> To: dev@dpdk.org
>> Subject: [PATCH v3 0/7] Rework device probing
>>
>> 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 v2:
>> - rebased for late 26.03 fslmc bus changes,
>> - fixed devargs lookup,
>> - added debug logs,
>>
>> Changes since v1:
>> - restored per bus scan mode,
>> - fixed logic in device selection for dma/idxd,
>> - fixed raw/ifpga hotplug on ifpga bus,
>> - fixed some doxygen,
>>
>> Changes since RFC v3:
>> - removed per bus scan mode,
>>
>> 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/bus: cleanup devargs lookup in 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                | 75 ++++++++------------
>>  drivers/bus/fslmc/fslmc_vfio.c               | 21 ++----
>>  drivers/bus/ifpga/ifpga_bus.c                |  8 ++-
>>  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 +----
>>  lib/eal/common/eal_common_bus.c              | 54 ++++++++++++++
>>  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                 | 38 ++++++++++
>>  29 files changed, 301 insertions(+), 367 deletions(-)
>>
>> --
>> 2.53.0
> 


  reply	other threads:[~2026-04-10 15:16 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-23 10:52 [PATCH 0/8] Rework device probing David Marchand
2026-03-23 10:52 ` [PATCH 1/8] devtools: check packet forwarding in null test David Marchand
2026-03-23 10:52 ` [PATCH 2/8] bus/fslmc: fix bus cleanup David Marchand
2026-03-23 16:59   ` Kevin Traynor
2026-03-26  8:22     ` David Marchand
2026-03-26  8:49       ` Kevin Traynor
2026-03-24  5:15   ` Hemant Agrawal
2026-03-24  5:15   ` Hemant Agrawal
2026-03-23 10:52 ` [PATCH 3/8] drivers/bus: require probe function for NXP drivers David Marchand
2026-03-23 16:59   ` Kevin Traynor
2026-03-24  5:15   ` Hemant Agrawal
2026-03-23 10:52 ` [PATCH 4/8] drivers: cleanup devargs lookup in bus scan David Marchand
2026-03-24  5:16   ` Hemant Agrawal
2026-03-24 14:13   ` Kevin Traynor
2026-03-24 16:10   ` Stephen Hemminger
2026-03-23 10:52 ` [PATCH 5/8] bus: factorize devargs lookup David Marchand
2026-03-24 14:16   ` Kevin Traynor
2026-03-24 16:11   ` Stephen Hemminger
2026-03-23 10:53 ` [PATCH 6/8] bus: factorize device selection David Marchand
2026-03-24 14:15   ` Kevin Traynor
2026-03-26  8:48     ` David Marchand
2026-03-24 16:12   ` Stephen Hemminger
2026-03-23 10:53 ` [PATCH 7/8] bus: remove per bus scan mode David Marchand
2026-03-24 16:02   ` Kevin Traynor
2026-03-24 16:27     ` Kevin Traynor
2026-03-26  8:54     ` David Marchand
2026-03-23 10:53 ` [PATCH 8/8] eal: configure initial device probing David Marchand
2026-03-25 10:57   ` Kevin Traynor
2026-03-24  5:17 ` [PATCH 0/8] Rework " Hemant Agrawal
2026-03-25 15:22 ` Maxime Leroy
2026-03-26 10:24 ` [PATCH v2 0/7] " David Marchand
2026-03-26 10:24   ` [PATCH v2 1/7] devtools: check packet forwarding in null test David Marchand
2026-03-26 10:24   ` [PATCH v2 2/7] bus/fslmc: fix bus cleanup David Marchand
2026-03-26 11:50     ` Kevin Traynor
2026-03-26 10:24   ` [PATCH v2 3/7] drivers/bus: require probe function for NXP drivers David Marchand
2026-03-26 10:24   ` [PATCH v2 4/7] drivers: cleanup devargs lookup in bus scan David Marchand
2026-03-28  3:13     ` fengchengwen
2026-03-26 10:24   ` [PATCH v2 5/7] bus: factorize devargs lookup David Marchand
2026-03-26 11:51     ` Kevin Traynor
2026-03-28  3:33     ` fengchengwen
2026-04-03 14:22       ` David Marchand
2026-03-26 10:24   ` [PATCH v2 6/7] bus: factorize device selection David Marchand
2026-03-26 11:52     ` Kevin Traynor
2026-03-28  3:38     ` fengchengwen
2026-03-26 10:24   ` [PATCH v2 7/7] eal: configure initial device probing David Marchand
2026-03-28  4:00     ` fengchengwen
2026-04-03 14:25       ` David Marchand
2026-04-07 11:52 ` [PATCH v3 0/7] Rework " David Marchand
2026-04-07 11:52   ` [PATCH v3 1/7] devtools: check packet forwarding in null test David Marchand
2026-04-07 11:52   ` [PATCH v3 2/7] bus/fslmc: fix bus cleanup David Marchand
2026-04-07 11:52   ` [PATCH v3 3/7] drivers/bus: require probe function for NXP drivers David Marchand
2026-04-07 11:52   ` [PATCH v3 4/7] drivers/bus: cleanup devargs lookup in scan David Marchand
2026-04-07 11:52   ` [PATCH v3 5/7] bus: factorize devargs lookup David Marchand
2026-04-08  1:18     ` fengchengwen
2026-04-07 11:52   ` [PATCH v3 6/7] bus: factorize device selection David Marchand
2026-04-07 11:52   ` [PATCH v3 7/7] eal: configure initial device probing David Marchand
2026-04-08  1:44     ` fengchengwen
2026-04-07 11:58   ` [PATCH v3 0/7] Rework " David Marchand
2026-04-07 15:12   ` Stephen Hemminger
2026-04-10 14:34   ` Morten Brørup
2026-04-10 15:16     ` Kevin Traynor [this message]
2026-04-10 17:37     ` Stephen Hemminger
2026-04-10 21:13       ` [EXTERNAL] " Long Li
2026-04-10 22:50         ` Stephen Hemminger
2026-04-11  7:30         ` Morten Brørup
2026-04-11 10:10     ` David Marchand
2026-04-11 10:23       ` 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=3af9931c-d23a-431d-8935-deb8cdef5a02@redhat.com \
    --to=ktraynor@redhat.com \
    --cc=bruce.richardson@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=hemant.agrawal@nxp.com \
    --cc=maxime@leroys.fr \
    --cc=mb@smartsharesystems.com \
    --cc=rjarry@redhat.com \
    /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