[dpdk-dev] Making rte_eal_pci_probe() in rte_eal_init() optional?

Jan Viktorin viktorin at rehivetech.com
Sat Nov 14 00:03:08 CET 2015


On Fri, 13 Nov 2015 22:58:04 +0000
Don Provan <dprovan at bivio.net> wrote:

> --no-pci is cool. I'm pretty sure that wasn't there when the PCI scan was first added to
> the library init routine. I'm glad to see it, so thanks for pointing it out.
> 
> Just for the record: The comment says, "for debug purposes, PCI can be disabled".
> This exhibits one of those classic DPDK blindspots. The library can be used for many
> things entirely unrelated to hardware. My project has several DPDK applications
> intended to be used by users that do not have privs to mess around with PCI
> hardware, so, for them, turning off PCI wouldn't be just for debugging purposes.

And ARMv7 depends on this option a bit... just for the record ;).

Jan

> 
> -don provan
> dprovan at bivio.net
> 
> -----Original Message-----
> From: David Marchand [mailto:david.marchand at 6wind.com] 
> Sent: Friday, November 13, 2015 12:50 AM
> To: Roger B Melton <rmelton at cisco.com>
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] Making rte_eal_pci_probe() in rte_eal_init() optional?
> 
> ...
> Did you try the --no-pci option ?
> It avoids the initial sysfs scan, so with no pci device, the initial pci_probe should do nothing.
> ...
> 


More information about the dev mailing list