From 45e4f365086267ef2551b1dedf4e309bdd00a34a Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Tue, 7 Mar 2017 12:52:31 -0500 Subject: Missing plugin binary API command fns found after brief search Create hash tables before loading plugins. Previous init sequence wiped out most if not all of them. Change-Id: I5dd628895f68f740d525951511a9fef1822d39da Signed-off-by: Dave Barach --- src/vpp/vnet/main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/vpp/vnet') diff --git a/src/vpp/vnet/main.c b/src/vpp/vnet/main.c index 4a96ca94..a566d956 100644 --- a/src/vpp/vnet/main.c +++ b/src/vpp/vnet/main.c @@ -25,6 +25,8 @@ static void vpe_main_init (vlib_main_t * vm) { + void vat_plugin_hash_create (void); + if (CLIB_DEBUG > 0) vlib_unix_cli_set_prompt ("DBGvpp# "); else @@ -33,6 +35,10 @@ vpe_main_init (vlib_main_t * vm) /* Turn off network stack components which we don't want */ vlib_mark_init_function_complete (vm, srp_init); + /* + * Create the binary api plugin hashes before loading plugins + */ + vat_plugin_hash_create (); } /* -- cgit 1.2.3-korg