diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2023-03-14 14:38:01 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-03-14 19:58:04 +0000 |
commit | 0d07a5d27ff9f1ad37e02c1017f12868ea7dd7a2 (patch) | |
tree | b9628f507f490dbd7c7cd0615be9d680db29e95c | |
parent | aeb7c1cb6e11dde259d954f7fabb95073a3b4c54 (diff) |
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 <ayourtch@gmail.com>
Change-Id: Ib7fde14d12897e4d1bfb5a01f6d65025473e4f8e
-rw-r--r-- | src/vppinfra/crc32.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |