[dpdk-dev] [PATCH v4 03/10] eal: move virtual device probing into a bus

Jan Blunck jblunck at infradead.org
Mon Mar 27 09:46:25 CEST 2017


On Mon, Mar 13, 2017 at 6:44 PM, Thomas Monjalon
<thomas.monjalon at 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.


More information about the dev mailing list