]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_hash/rte_hash.h
hash: support read/write concurrency
[dpdk.git] / lib / librte_hash / rte_hash.h
index f71ca9fbf681e9640b4f858345b95c9615f70a0a..ecb49e4ff58a3282fce043ca7e7d829f7f0f3530 100644 (file)
@@ -34,6 +34,9 @@ extern "C" {
 /** Default behavior of insertion, single writer/multi writer */
 #define RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD 0x02
 
+/** Flag to support reader writer concurrency */
+#define RTE_HASH_EXTRA_FLAGS_RW_CONCURRENCY 0x04
+
 /** Signature of key that is stored internally. */
 typedef uint32_t hash_sig_t;