aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-11-14 15:21:19 +0100
committerChris Luke <chris_luke@comcast.com>2017-11-14 18:07:47 +0000
commitbf024e65a1ddb2b9e8b1e853a82dc6f8be9426ea (patch)
tree899c0557eaba040998441d603463e36d4c0218ce /src/plugins
parent87bd96aa4ddf2f777f8b972062c205e27addbc4a (diff)
Fix typos in configure.ac and dpdk/buffer.c
Change-Id: I74ff693315a3ffc7aa2640f25d906ca0d6da6bc5 Signed-off-by: Damjan Marion <damarion@cisco.com>
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