app/test-pipeline: add cuckoo hash
authorGuruprasad Rao <guruprasadx.rao@intel.com>
Thu, 22 Sep 2016 10:12:06 +0000 (03:12 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 12 Oct 2016 20:09:46 +0000 (22:09 +0200)
commitad28e5f7d6f4ddc8c2c0bf9581d28ad524a3ab6a
tree2a332c94aa83c3f15bdbcb7d7fe52ebb1a50c6cf
parent5a80bf0ae61356479cb90b3cfe0b9ac6a712af80
app/test-pipeline: add cuckoo hash

This patch inclides cuckoo hash table into test-pipeline
This allows to benchmark the performance of the cuckoo hash table
The following key sizes are supported for cuckoo hash table
8, 16, 32, 48, 64, 80, 96, 112 and 128.

The test-pipeline can be run using the following command
say for key size 8
./app/testpipeline -c 0xe -n 4 -- -p 0xf --hash-cuckoo-8

Signed-off-by: Sankar Chokkalingam <sankarx.chokkalingam@intel.com>
Signed-off-by: Guruprasad Rao <guruprasadx.rao@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
app/test-pipeline/config.c
app/test-pipeline/main.c
app/test-pipeline/main.h
app/test-pipeline/pipeline_hash.c