5 #ifndef _RTE_CRC_GENERIC_H_ 6 #define _RTE_CRC_GENERIC_H_ 12 return crc32c_1byte(data, init_val);
16 static inline uint32_t
19 return crc32c_2bytes(data, init_val);
23 static inline uint32_t
26 return crc32c_1word(data, init_val);
30 static inline uint32_t
33 return crc32c_2words(data, init_val);
static uint32_t rte_hash_crc_2byte(uint16_t data, uint32_t init_val)
static uint32_t rte_hash_crc_8byte(uint64_t data, uint32_t init_val)
static uint32_t rte_hash_crc_1byte(uint8_t data, uint32_t init_val)
static uint32_t rte_hash_crc_4byte(uint32_t data, uint32_t init_val)