[PATCH v3 6/7] bus: factorize device selection
Bruce Richardson
bruce.richardson at intel.com
Wed Apr 15 11:53:57 CEST 2026
On Mon, Apr 13, 2026 at 09:30:36PM +0200, Thomas Monjalon wrote:
> 07/04/2026 13:52, David Marchand:
> > All buses (thankfully) implement the same logic when it comes to
> > selecting the devices to probe based on -a/-b options.
> > As we want to adjust how devices are selected, provide a common helper
> > in EAL and use it in the buses.
>
> [...]
> > +/**
> > + * Indicate if a device should be skipped during probing of a bus.
> > + */
> > +__rte_internal
> > +bool rte_bus_is_ignored_device(const struct rte_bus *bus, const char *dev_name);
>
> Name suggestion:
> rte_bus_device_is_ignored looks easier to read
>
> Actually it is ignored only when probing the bus.
> What about rte_bus_device_is_ignored_on_probing? Too long?
>
"rte_bus_ignore_dev_on_probe"?
More information about the dev
mailing list