On Mon, Mar 13, 2017 at 6:44 PM, Thomas Monjalon <thomas.monja...@6wind.com> wrote: > 2017-03-06 11:56, Jan Blunck: >> +static int >> +vdev_scan(void) >> +{ >> + /* for virtual devices we don't need to scan anything */ >> + return 0; >> +} > > The vdev_scan could save the devargs. > The vdev args are the equivalent of PCI BDF.
In a later patch ("eal: make virtual bus use rte_vdev_device") the vdev_scan() is creating the list of devices based on the devargs.