[dpdk-dev] [PATCH v6 7/8] eal: enable PCI bus

Shreyansh Jain shreyansh.jain at nxp.com
Tue Jan 17 06:04:19 CET 2017


On Tuesday 17 January 2017 01:28 AM, Ferruh Yigit wrote:
> On 1/16/2017 3:38 PM, Shreyansh Jain wrote:
>> Remove EAL initiated direct PCI scan/probe and enable PCI Bus linkage.
>>
>> Signed-off-by: Shreyansh Jain <shreyansh.jain at nxp.com>
>> ---
>
> <...>
>
>> -/* Init the PCI EAL subsystem */
>> -int
>> -rte_eal_pci_init(void)
>> -{
>> -	/* for debug purposes, PCI can be disabled */
>> -	if (internal_config.no_pci)
>> -		return 0;
>
> Are we losing this feature? Should this check moved to rte_eal_pci_scan() ?

Yes, that is miss from my side. v5 had this, but I missed in v6 in all 
that code movement. I will add that to rte_eal_pci_scan.
Thanks for highlighting.

>
> <...>
>
>



More information about the dev mailing list