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
hash: fix scaling by reducing contention
[dpdk.git]
/
lib
/
librte_hash
/
rte_hash.h
diff --git
a/lib/librte_hash/rte_hash.h
b/lib/librte_hash/rte_hash.h
index
175c0bb
..
b678766
100644
(file)
--- a/
lib/librte_hash/rte_hash.h
+++ b/
lib/librte_hash/rte_hash.h
@@
-56,6
+56,9
@@
extern "C" {
#define RTE_HASH_LOOKUP_BULK_MAX 64
#define RTE_HASH_LOOKUP_MULTI_MAX RTE_HASH_LOOKUP_BULK_MAX
#define RTE_HASH_LOOKUP_BULK_MAX 64
#define RTE_HASH_LOOKUP_MULTI_MAX RTE_HASH_LOOKUP_BULK_MAX
+/** Enable Hardware transactional memory support. */
+#define RTE_HASH_EXTRA_FLAGS_TRANS_MEM_SUPPORT 0x01
+
/** Signature of key that is stored internally. */
typedef uint32_t hash_sig_t;
/** Signature of key that is stored internally. */
typedef uint32_t hash_sig_t;