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:
9188a3f
)
bus: require to implement device finding
author
Jan Blunck
<jblunck@infradead.org>
Fri, 30 Jun 2017 18:19:36 +0000
(20:19 +0200)
committer
Thomas Monjalon
<thomas@monjalon.net>
Mon, 3 Jul 2017 23:08:27 +0000
(
01:08
+0200)
Signed-off-by: Jan Blunck <jblunck@infradead.org>
lib/librte_eal/common/eal_common_bus.c
patch
|
blob
|
history
diff --git
a/lib/librte_eal/common/eal_common_bus.c
b/lib/librte_eal/common/eal_common_bus.c
index
3094daa
..
e04ab4f
100644
(file)
--- a/
lib/librte_eal/common/eal_common_bus.c
+++ b/
lib/librte_eal/common/eal_common_bus.c
@@
-50,6
+50,7
@@
rte_bus_register(struct rte_bus *bus)
/* A bus should mandatorily have the scan implemented */
RTE_VERIFY(bus->scan);
RTE_VERIFY(bus->probe);
+ RTE_VERIFY(bus->find_device);
TAILQ_INSERT_TAIL(&rte_bus_list, bus, next);
RTE_LOG(DEBUG, EAL, "Registered [%s] bus.\n", bus->name);