]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_hash/rte_hash.h
hash: add scalable multi-writer insertion with Intel TSX
[dpdk.git] / lib / librte_hash / rte_hash.h
index 724315a98f921f55b61b48a06247596ae0d1de24..c9612fbd01123205da77ba5d1db0993bb4f9b4a3 100644 (file)
@@ -60,6 +60,9 @@ extern "C" {
 /** Enable Hardware transactional memory support. */
 #define RTE_HASH_EXTRA_FLAGS_TRANS_MEM_SUPPORT 0x01
 
+/** Default behavior of insertion, single writer/multi writer */
+#define RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD 0x02
+
 /** Signature of key that is stored internally. */
 typedef uint32_t hash_sig_t;