[dpdk-dev] [PATCH v8 8/9] eal: enable PCI bus

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Jan 18 00:57:30 CET 2017


2017-01-17 19:07, Shreyansh Jain:
> -       /* Probe & Initialize PCI devices */
> -       if (rte_eal_pci_probe())
> -               rte_panic("Cannot probe PCI\n");
> -
>         /* Probe all the buses and devices/drivers on them */
>         if (rte_bus_probe())
>                 rte_panic("Cannot probe devices\n");
> 

I like reading this :)
It is a good step.
A next step could be removing rte_bus_probe() and do it from
the scan functions, after letting the application manage the
blacklist via a callback.


More information about the dev mailing list