From 4830e4f78fb8e46b23a1a0711cd06969a77d8d95 Mon Sep 17 00:00:00 2001 From: Ray Kinsella Date: Tue, 10 Mar 2020 14:35:32 +0000 Subject: vlib: startup multi-arch variant configuration Support for startup node multi-arch variant selection through startup.conf. This is to facilitate unit, functional testing and benchmarking of non-default multi-arch variant node code path. Also added parameters to make test, to specific using multi-arch variants in unit testing. Type: improvement Signed-off-by: Ray Kinsella Change-Id: I94fd332bb629683b7a7dd770ee9f615a9a424060 --- src/vlib/node.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vlib/node.h') diff --git a/src/vlib/node.h b/src/vlib/node.h index 9f324f79fa4..b9961f55b56 100644 --- a/src/vlib/node.h +++ b/src/vlib/node.h @@ -218,6 +218,8 @@ CLIB_MARCH_SFX (node##_multiarch_register) (void) \ } \ uword CLIB_CPU_OPTIMIZED CLIB_MARCH_SFX (node##_fn) +unformat_function_t unformat_vlib_node_variant; + always_inline vlib_node_registration_t * vlib_node_next_registered (vlib_node_registration_t * c) { -- cgit 1.2.3-korg