Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
rdma: make sure pci subsystem is initialized
[vpp.git]
/
src
/
plugins
/
rdma
/
device.c
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