aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/dpdk/buffer.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/dpdk/buffer.c b/src/plugins/dpdk/buffer.c
index 80c6442f463..34afd7c2a5f 100644
--- a/src/plugins/dpdk/buffer.c
+++ b/src/plugins/dpdk/buffer.c
@@ -693,10 +693,10 @@ vlib_buffer_alloc_from_free_list_cb_t __clib_weak
dpdk_buffer_alloc_from_free_list_avx512;
vlib_buffer_alloc_from_free_list_cb_t __clib_weak
dpdk_buffer_alloc_from_free_list_avx2;
-vlib_buffer_free_cb_t __clib_weak dpdk_buffer_free_cb_avx512;
-vlib_buffer_free_cb_t __clib_weak dpdk_buffer_free_cb_avx2;
-vlib_buffer_free_no_next_cb_t __clib_weak dpdk_buffer_free_no_next_cb_avx512;
-vlib_buffer_free_no_next_cb_t __clib_weak dpdk_buffer_free_no_next_cb_avx2;
+vlib_buffer_free_cb_t __clib_weak dpdk_buffer_free_avx512;
+vlib_buffer_free_cb_t __clib_weak dpdk_buffer_free_avx2;
+vlib_buffer_free_no_next_cb_t __clib_weak dpdk_buffer_free_no_next_avx512;
+vlib_buffer_free_no_next_cb_t __clib_weak dpdk_buffer_free_no_next_avx2;
static void __clib_constructor
dpdk_input_multiarch_select (void)
@@ -707,16 +707,16 @@ dpdk_input_multiarch_select (void)
cb->vlib_buffer_alloc_cb = dpdk_buffer_alloc_avx512;
cb->vlib_buffer_alloc_from_free_list_cb =
dpdk_buffer_alloc_from_free_list_avx512;
- cb->vlib_buffer_free_cb = dpdk_buffer_free_cb_avx512;
- cb->vlib_buffer_free_no_next_cb = dpdk_buffer_free_no_next_cb_avx512;
+ cb->vlib_buffer_free_cb = dpdk_buffer_free_avx512;
+ cb->vlib_buffer_free_no_next_cb = dpdk_buffer_free_no_next_avx512;
}
else if (dpdk_buffer_alloc_avx2 && clib_cpu_supports_avx2 ())
{
cb->vlib_buffer_alloc_cb = dpdk_buffer_alloc_avx2;
cb->vlib_buffer_alloc_from_free_list_cb =
dpdk_buffer_alloc_from_free_list_avx2;
- cb->vlib_buffer_free_cb = dpdk_buffer_free_cb_avx2;
- cb->vlib_buffer_free_no_next_cb = dpdk_buffer_free_no_next_cb_avx2;
+ cb->vlib_buffer_free_cb = dpdk_buffer_free_avx2;
+ cb->vlib_buffer_free_no_next_cb = dpdk_buffer_free_no_next_avx2;
}
}
#endif