git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eal: support link bonding device initialization
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_common_pci.c
diff --git
a/lib/librte_eal/common/eal_common_pci.c
b/lib/librte_eal/common/eal_common_pci.c
index
af809a8
..
c637361
100644
(file)
--- a/
lib/librte_eal/common/eal_common_pci.c
+++ b/
lib/librte_eal/common/eal_common_pci.c
@@
-150,6
+150,9
@@
rte_eal_pci_probe(void)
probe_all = 1;
TAILQ_FOREACH(dev, &pci_device_list, next) {
+ /* check if device has already been initialized */
+ if (dev->driver != NULL)
+ continue;
/* set devargs in PCI structure */
devargs = pci_devargs_lookup(dev);