numam-dpdk/app
David Marchand dfd9d5537e test/hash: use existing lcore API
Prefer the existing apis rather than direct access the configuration
structure.

test_hash_multi_add_lookup() currently starts n readers and N writers
using rte_eal_remote_launch().
It then waits for the N writers to complete with a custom
multi_writer_done[] array to synchronise over.
Jump on the occasion to use rte_eal_wait_lcore() so that the code is
more straightforward:
- we start n readers with rte_eal_remote_launch(),
- we start N writers with rte_eal_remote_launch(),
- we wait for N writers to join with rte_eal_wait_lcore(),
- we wait for n readers to join with rte_eal_wait_lcore(),

Fixes: c7eb0972e7 ("test/hash: add lock-free r/w concurrency")
Fixes: 3f9aab961e ("test/hash: check lock-free extendable bucket")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2019-05-30 00:36:53 +02:00
..
pdump net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
proc-info eal: promote some experimental functions as stable 2019-04-21 19:11:37 +02:00
test test/hash: use existing lcore API 2019-05-30 00:36:53 +02:00
test-acl net: add rte prefix to IP defines 2019-05-24 13:34:46 +02:00
test-bbdev app/bbdev: replace sprintf with snprintf or strlcpy 2019-04-22 21:32:10 +02:00
test-cmdline
test-compress-perf app/compress-perf: add incompressible data handling 2019-04-02 16:50:24 +02:00
test-crypto-perf app/crypto-perf: check range of socket id 2019-04-18 16:01:28 +02:00
test-eventdev net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
test-pipeline net: add rte prefix to IP structure 2019-05-24 13:34:46 +02:00
test-pmd net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
Makefile test: move to app directory 2019-02-26 15:29:27 +01:00
meson.build build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00