summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYipeng Wang <yipeng1.wang@intel.com>2018-09-28 07:11:09 -0700
committerThomas Monjalon <thomas@monjalon.net>2018-10-26 00:00:16 +0200
commit86c1ef20908eb1c7574f581569d2800d00a9846f (patch)
tree53775683cb562dcaed348578c960d7bf28a2a150
parent5437d81dbb5810939244ef231e928d4cf28a3551 (diff)
downloaddpdk-86c1ef20908eb1c7574f581569d2800d00a9846f.zip
dpdk-86c1ef20908eb1c7574f581569d2800d00a9846f.tar.gz
dpdk-86c1ef20908eb1c7574f581569d2800d00a9846f.tar.xz
hash: remove unused constant
Since the depth-first search of cuckoo path is removed, we do not need the macro anymore which specifies the depth of the cuckoo search. Fixes: f2e3001b53ec ("hash: support read/write concurrency") Cc: stable@dpdk.org Signed-off-by: Yipeng Wang <yipeng1.wang@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
-rw-r--r--lib/librte_hash/rte_cuckoo_hash.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/librte_hash/rte_cuckoo_hash.h b/lib/librte_hash/rte_cuckoo_hash.h
index b43f467..fc0e5c2 100644
--- a/lib/librte_hash/rte_cuckoo_hash.h
+++ b/lib/librte_hash/rte_cuckoo_hash.h
@@ -104,8 +104,6 @@ const rte_hash_cmp_eq_t cmp_jump_table[NUM_KEY_CMP_CASES] = {
#define LCORE_CACHE_SIZE 64
-#define RTE_HASH_MAX_PUSHES 100
-
#define RTE_HASH_BFS_QUEUE_MAX_LEN 1000
#define RTE_XABORT_CUCKOO_PATH_INVALIDED 0x4