test/hash: update for read/write concurrency perf
authorYipeng Wang <yipeng1.wang@intel.com>
Tue, 10 Jul 2018 16:59:59 +0000 (09:59 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 12 Jul 2018 21:04:12 +0000 (23:04 +0200)
commitf6f46b613e418b7763e88e4c70652907da1cf8a7
treee1699960b5104a5976b7ceef0d383f38363010cf
parentf2e3001b53ec107cf0ff26a89dd1b1bd29d51038
test/hash: update for read/write concurrency perf

New code is added to support read-write concurrency for
rte_hash. Due to the newly added code in critial path,
the perf test is modified to show any performance impact.
It is still a single-thread test.

Signed-off-by: Yipeng Wang <yipeng1.wang@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
test/test/test_hash_perf.c