pci: do not log false failures for non-whitelisted devices
If probe of the whitelisted PCI device fails, reset ret to zero to silently skip non-whitelisted PCI devices. Fixes: 10f6c93cea38 ("eal: do not panic on PCI failures") Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
This commit is contained in:
parent
e9980a7573
commit
2ed8fd9d10
@ -443,6 +443,7 @@ rte_eal_pci_probe(void)
|
||||
dev->addr.devid, dev->addr.function);
|
||||
rte_errno = errno;
|
||||
failed++;
|
||||
ret = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user