aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-05-17 13:13:05 -0400
committerFlorin Coras <florin.coras@gmail.com>2019-05-17 18:30:29 +0000
commitf5b1ed7dea46c063a65497cf438323bc16848925 (patch)
treea62f802cbe04783eaebca95d6ccc24f5e8587b3a
parent1fbc3d4f5bb1c142f0c87925c2e25974cb48e6a6 (diff)
Load vat plugins late in the init sequence
After the related data-plane plugins have initialized their message IDs. Change-Id: I4202a9e46ef6cdb12a5186be0f2370e2f9ccbb78 Signed-off-by: Dave Barach <dave@barachs.net>
-rw-r--r--src/vpp/api/api_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp/api/api_main.c b/src/vpp/api/api_main.c
index 7770880d01c..129860538cf 100644
--- a/src/vpp/api/api_main.c
+++ b/src/vpp/api/api_main.c
@@ -59,7 +59,7 @@ api_main_init (vlib_main_t * vm)
return 0;
}
-VLIB_INIT_FUNCTION (api_main_init);
+VLIB_MAIN_LOOP_ENTER_FUNCTION (api_main_init);
void
vat_plugin_hash_create (void)