Re: [dpdk-dev] [PATCH v6 20/26] eal_pci: continue probing even on failures

2017-03-08 Thread Thomas Monjalon
2017-02-28 13:53, Aaron Conole: > + int ret_1 = 0; You do not need to add a new variable. > int ret = 0; > > if (rte_eal_devargs_type_count(RTE_DEVTYPE_WHITELISTED_PCI) == 0) > @@ -430,17 +432,20 @@ rte_eal_pci_probe(void) > > /* probe all or only whitelisted dev

[dpdk-dev] [PATCH v6 20/26] eal_pci: continue probing even on failures

2017-02-28 Thread Aaron Conole
Some devices may be inaccessible for a variety of reasons, or the PCI-bus may be unavailable causing the whole thing to fail. Still, better to continue attempts at probes. Signed-off-by: Aaron Conole Acked-by: Bruce Richardson --- lib/librte_eal/common/eal_common_pci.c | 15 ++- 1