Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0eae2bb
)
rdma: make sure pci subsystem is initialized
45/22545/2
author
Benoît Ganne
<bganne@cisco.com>
Fri, 4 Oct 2019 15:38:05 +0000
(17:38 +0200)
committer
Damjan Marion
<dmarion@me.com>
Sat, 5 Oct 2019 11:45:27 +0000
(11:45 +0000)
The rdma driver use the pci subsystem, make sure the dependency is
recorded.
Type: fix
Change-Id: Ibd613f623d355612881acc31b9423f2de13793a3
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/rdma/device.c
patch
|
blob
|
history
diff --git
a/src/plugins/rdma/device.c
b/src/plugins/rdma/device.c
index
cb88849
..
d68bfaa
100644
(file)
--- a/
src/plugins/rdma/device.c
+++ b/
src/plugins/rdma/device.c
@@
-778,7
+778,12
@@
rdma_init (vlib_main_t * vm)
return 0;
}
-VLIB_INIT_FUNCTION (rdma_init);
+/* *INDENT-OFF* */
+VLIB_INIT_FUNCTION (rdma_init) =
+{
+ .runs_after = VLIB_INITS ("pci_bus_init"),
+};
+/* *INDENT-OFF* */
/*
* fd.io coding-style-patch-verification: ON