git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ice: add flow IPv6 TC support
[dpdk.git]
/
lib
/
librte_hash
/
rte_fbk_hash.h
diff --git
a/lib/librte_hash/rte_fbk_hash.h
b/lib/librte_hash/rte_fbk_hash.h
index
0915878
..
c4d6976
100644
(file)
--- a/
lib/librte_hash/rte_fbk_hash.h
+++ b/
lib/librte_hash/rte_fbk_hash.h
@@
-26,16
+26,8
@@
extern "C" {
#include <string.h>
#include <rte_config.h>
#include <string.h>
#include <rte_config.h>
-#ifndef RTE_FBK_HASH_FUNC_DEFAULT
-#if defined(RTE_ARCH_X86) || defined(RTE_MACHINE_CPUFLAG_CRC32)
#include <rte_hash_crc.h>
#include <rte_hash_crc.h>
-/** Default four-byte key hash function if none is specified. */
-#define RTE_FBK_HASH_FUNC_DEFAULT rte_hash_crc_4byte
-#else
#include <rte_jhash.h>
#include <rte_jhash.h>
-#define RTE_FBK_HASH_FUNC_DEFAULT rte_jhash_1word
-#endif
-#endif
#ifndef RTE_FBK_HASH_INIT_VAL_DEFAULT
/** Initialising value used when calculating hash. */
#ifndef RTE_FBK_HASH_INIT_VAL_DEFAULT
/** Initialising value used when calculating hash. */