Load vat plugins late in the init sequence 93/19693/2
authorDave Barach <dave@barachs.net>
Fri, 17 May 2019 17:13:05 +0000 (13:13 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 17 May 2019 18:30:29 +0000 (18:30 +0000)
After the related data-plane plugins have initialized their message IDs.

Change-Id: I4202a9e46ef6cdb12a5186be0f2370e2f9ccbb78
Signed-off-by: Dave Barach <dave@barachs.net>
src/vpp/api/api_main.c

index 7770880..1298605 100644 (file)
@@ -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)