Go to file
Harry van Haaren 505a2b0c64 test/service: fix wait for service core
This commit fixes a sporadic failure of the service_autotest
unit test, as seen in the DPDK CI. The failure occurs as the main test
thread did not wait on the service-thread to return, and allowing it
to read a flag before the service was able to write to it.

The fix changes the wait API call to specific the service-core ID,
and this waits for cores with both ROLE_RTE and ROLE_SERVICE.

The rte_eal_mp_wait_lcore() call does not (and should not) wait
for service cores, so must not be used to wait on service-cores.

Fixes: f038a81e1c ("service: add unit tests")
Cc: stable@dpdk.org

Reported-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
2019-11-27 21:23:17 +01:00
.ci ci: add minimal check on testpmd 2019-11-27 00:00:24 +01:00
app test/service: fix wait for service core 2019-11-27 21:23:17 +01:00
buildtools buildtools: fix build with coverage 2019-11-26 09:04:36 +01:00
config remove blank lines at end of file 2019-11-26 00:12:08 +01:00
devtools app/testpmd: reduce memory consumption 2019-11-26 18:05:15 +01:00
doc doc: update release notes for 19.11 2019-11-27 00:10:25 +01:00
drivers event/octeontx: fix partial Rx packet handling 2019-11-27 19:05:18 +01:00
examples examples/ioat: fix possible null dereference 2019-11-26 17:26:08 +01:00
kernel kni: increase kernel version requirement for VA 2019-11-21 00:18:02 +01:00
lib ethdev: limit maximum number of queues 2019-11-27 16:04:40 +01:00
license remove blank lines at end of file 2019-11-26 00:12:08 +01:00
mk mk: remove library search path from binary 2019-11-25 23:51:52 +01:00
usertools usertools: fix device binding module detection 2019-11-27 00:00:24 +01: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 32-bit travis builds 2019-11-19 22:23:31 +01:00
ABI_VERSION build: change ABI versioning to global 2019-11-20 23:05:39 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS maintainers: claim maintainership of ptpclient example 2019-11-27 00:36:53 +01:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt build: change ABI versioning to global 2019-11-20 23:05:39 +01:00
meson.build build: fix Windows build 2019-11-25 15:07:02 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 19.11-rc4 2019-11-27 00:43:18 +01: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