aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/memif
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/memif')
-rw-r--r--src/plugins/memif/node.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/memif/node.c b/src/plugins/memif/node.c
index 1c34922d331..a5187ad7515 100644
--- a/src/plugins/memif/node.c
+++ b/src/plugins/memif/node.c
@@ -505,17 +505,17 @@ VLIB_REGISTER_NODE (memif_input_node) = {
.error_strings = memif_input_error_strings,
};
-vlib_node_function_t __clib_weak memif_input_avx512;
-vlib_node_function_t __clib_weak memif_input_avx2;
+vlib_node_function_t __clib_weak memif_input_fn_avx512;
+vlib_node_function_t __clib_weak memif_input_fn_avx2;
#if __x86_64__
static void __clib_constructor
memif_input_multiarch_select (void)
{
- if (memif_input_avx512 && clib_cpu_supports_avx512f ())
- memif_input_node.function = memif_input_avx512;
- else if (memif_input_avx2 && clib_cpu_supports_avx2 ())
- memif_input_node.function = memif_input_avx2;
+ if (memif_input_fn_avx512 && clib_cpu_supports_avx512f ())
+ memif_input_node.function = memif_input_fn_avx512;
+ else if (memif_input_fn_avx2 && clib_cpu_supports_avx2 ())
+ memif_input_node.function = memif_input_fn_avx2;
}
#endif
#endif