[dpdk-dev] [PATCH v3 0/2] Fix CRC32c computation
Didier Pallard
didier.pallard at 6wind.com
Fri Feb 19 12:00:29 CET 2016
CRC32c computation is not valid when buffer length is not a multiple of 4 bytes.
Values returned by rte_hash_crc functions does not match the one
computed by a trivial crc32c implementation.
First patch fixes crc hash function autotests, to outline the problem.
Second patch fixes CRC32c computation.
Didier Pallard (2):
test: fix CRC hash function autotest
hash: fix CRC32c computation
app/test/test_hash_functions.c | 17 +++--
doc/guides/rel_notes/release_16_04.rst | 5 ++
lib/librte_hash/rte_crc_arm64.h | 64 +++++++++++++++++
lib/librte_hash/rte_hash_crc.h | 125 ++++++++++++++++++++++++++-------
4 files changed, 178 insertions(+), 33 deletions(-)
--
2.1.4
More information about the dev
mailing list