git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddc5d28
)
pci: identify devices not managed by any kernel driver
author
Huawei Xie
<huawei.xie@intel.com>
Tue, 8 Mar 2016 15:33:39 +0000
(23:33 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Wed, 9 Mar 2016 23:36:51 +0000
(
00:36
+0100)
Use RTE_KDRV_NONE to indicate that kernel driver (other than VFIO/UIO) isn't
managing the device.
Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/linuxapp/eal/eal_pci.c
patch
|
blob
|
history
diff --git
a/lib/librte_eal/linuxapp/eal/eal_pci.c
b/lib/librte_eal/linuxapp/eal/eal_pci.c
index
d2e8a09
..
f029957
100644
(file)
--- a/
lib/librte_eal/linuxapp/eal/eal_pci.c
+++ b/
lib/librte_eal/linuxapp/eal/eal_pci.c
@@
-362,7
+362,7
@@
pci_scan_one(const char *dirname, uint16_t domain, uint8_t bus,
else
dev->kdrv = RTE_KDRV_UNKNOWN;
} else
- dev->kdrv = RTE_KDRV_
UNKNOWN
;
+ dev->kdrv = RTE_KDRV_
NONE
;
/* device is valid, add in list (sorted) */
if (TAILQ_EMPTY(&pci_device_list)) {