Re: [PATCH v3 6/7] bus: factorize device selection

Thomas Monjalon
2026-04-13T19:30:43Z

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?