[dpdk-dev] [PATCH v3 1/5] hash: add software CRC32 implementation

2014-11-25 Thread Stephen Hemminger
On Tue, 18 Nov 2014 09:21:54 +0600 Yerden Zhumabekov wrote: > +/* Lookup tables for software implementation of CRC32C */ > +static uint32_t crc32c_tables[8][256] = {{ > + 0x, 0xF26B8303, 0xE13B70F7, 0x1350F3F4, Table should be declared const

[dpdk-dev] [PATCH v3 1/5] hash: add software CRC32 implementation

2014-11-18 Thread Yerden Zhumabekov
Add lookup tables for CRC32 algorithm, crc32c_1word() and crc32c_2words() functions returning hash of 32-bit and 64-bit operand. Signed-off-by: Yerden Zhumabekov --- lib/librte_hash/rte_hash_crc.h | 316 1 file changed, 316 insertions(+) diff --git a/li