[RFC v3 6/7] bus: factorize device selection

Bruce Richardson bruce.richardson at intel.com
Thu Mar 5 18:30:09 CET 2026


On Thu, Mar 05, 2026 at 05:45:48PM +0100, David Marchand wrote:
> 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.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---

Acked-by: Bruce Richardson <bruce.richardson at intel.com>

I was going to suggest that we avoid having a per-bus scan mode, but then I
realised after looking that the final patch in this series that that won't
work for vdev bus which can't use auto-probing.

> Changes since RFC v2:
> - changed API to query about a device name and hide the devargs meaning
>   in the common code,
>
<snip> 


More information about the dev mailing list