From 0d07a5d27ff9f1ad37e02c1017f12868ea7dd7a2 Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Tue, 14 Mar 2023 14:38:01 +0000 Subject: vlib: fix clib_crc32c on odd lengths and clib_crc32c_u8 Fix the typo in the intrinsic name, which caused incorrect intrinsic to be used. Type: fix Signed-off-by: Andrew Yourtchenko Change-Id: Ib7fde14d12897e4d1bfb5a01f6d65025473e4f8e --- src/vppinfra/crc32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vppinfra/crc32.h') diff --git a/src/vppinfra/crc32.h b/src/vppinfra/crc32.h index 2b20fef9027..f88193777fa 100644 --- a/src/vppinfra/crc32.h +++ b/src/vppinfra/crc32.h @@ -52,7 +52,7 @@ clib_crc32c_u64 (u32 last, u64 data) static_always_inline u32 clib_crc32c_u8 (u32 last, u8 data) { - return __crc32cd (last, data); + return __crc32cb (last, data); } static_always_inline u32 -- cgit 1.2.3-korg