From: Andrew Yourtchenko Date: Tue, 14 Mar 2023 14:38:01 +0000 (+0000) Subject: vlib: fix clib_crc32c on odd lengths and clib_crc32c_u8 X-Git-Tag: v23.10-rc0~139 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F85%2F38485%2F2;p=vpp.git 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 --- 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