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:
9f1cea0
)
rdma: make sure pci subsystem is initialized
22/22622/1
author
Benoît Ganne
<
[email protected]
>
Fri, 4 Oct 2019 15:38:05 +0000
(17:38 +0200)
committer
Andrew Yourtchenko
<
[email protected]
>
Wed, 9 Oct 2019 11:11:46 +0000
(11:11 +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 <
[email protected]
>
(cherry picked from commit
4a98388daec998a56cb150e2acb8a26ae51c0c28
)
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