Go to file
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
.ci ci: fix arm64 config filename 2019-03-30 00:01:35 +01:00
app test/hash: use existing lcore API 2019-05-30 00:36:53 +02:00
buildtools build: fix ninja install on FreeBSD 2019-05-02 23:07:04 +02:00
config kni: remove ethtool support 2019-05-29 23:38:45 +02:00
devtools devtools: select patches to check with git range 2019-05-10 15:16:23 +02:00
doc kni: remove ethtool support 2019-05-29 23:38:45 +02:00
drivers net/softnic: do not dereference global config struct 2019-05-30 00:29:09 +02:00
examples examples/qos_sched: do not dereference global config struct 2019-05-30 00:30:17 +02:00
kernel kernel/linux: remove unneeded meson variables 2019-05-30 00:28:39 +02:00
lib kni: remove ethtool support 2019-05-29 23:38:45 +02:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk mk: disable warning for packed member pointer 2019-05-02 23:04:38 +02:00
usertools net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: fix missing asymmetric crypto table 2019-04-18 16:01:28 +02:00
.travis.yml ci: add a distinguisher to the extra Travis builds 2019-04-17 13:56:23 +02:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS maintainers: claim maintainership of IPC 2019-05-03 22:02:51 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: use integer for max ethdev ports option 2019-03-26 23:08:09 +01:00
meson.build examples: fix install with empty meson parameter 2019-05-20 23:55:50 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 19.08-rc0 2019-05-14 22:58:22 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org