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
diff --git a/src/vppinfra/crc32.h b/src/vppinfra/crc32.h
index 2b20fef..f881937 100644
--- a/src/vppinfra/crc32.h
+++ b/src/vppinfra/crc32.h
@@ -52,7 +52,7 @@
static_always_inline u32
clib_crc32c_u8 (u32 last, u8 data)
{
- return __crc32cd (last, data);
+ return __crc32cb (last, data);
}
static_always_inline u32