]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_hash/rte_hash.h
hash: fix scaling by reducing contention
[dpdk.git] / lib / librte_hash / rte_hash.h
index 175c0bbb89c477ebb660338afc5edcb22fd80cf9..b678766025c12c4c280d7e9707411d70ad9d2e30 100644 (file)
@@ -56,6 +56,9 @@ extern "C" {
 #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;