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
bus/pci: fix devargs on probing again
[dpdk.git]
/
drivers
/
bus
/
pci
/
linux
/
pci.c
diff --git
a/drivers/bus/pci/linux/pci.c
b/drivers/bus/pci/linux/pci.c
index
740a2cd
..
71b0a30
100644
(file)
--- a/
drivers/bus/pci/linux/pci.c
+++ b/
drivers/bus/pci/linux/pci.c
@@
-377,6
+377,11
@@
pci_scan_one(const char *dirname, const struct rte_pci_addr *addr)
*/
RTE_LOG(ERR, EAL, "Unexpected device scan at %s!\n",
filename);
+ else if (dev2->device.devargs !=
+ dev->device.devargs) {
+ rte_devargs_remove(dev2->device.devargs);
+ pci_name_set(dev2);
+ }
}
free(dev);
}