numam-dpdk/app
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
..
pdump app: check status of getting MAC address 2019-10-07 15:00:55 +02:00
proc-info app/procinfo: use strlcpy for copying string 2019-10-27 11:33:24 +01:00
test test/service: fix wait for service core 2019-11-27 21:23:17 +01:00
test-acl net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test-bbdev app/bbdev: enable fpga_lte_fec support in shared builds 2019-10-09 11:50:12 +02:00
test-cmdline app/cmdline: move from test directory 2019-02-26 15:24:11 +01:00
test-compress-perf app/compress-perf: add --external-mbufs option 2019-10-09 11:50:12 +02:00
test-crypto-perf app/crypto-perf: fix input of AEAD decrypt 2019-11-25 11:01:36 +01:00
test-eventdev app/eventdev: check function errors 2019-11-26 07:49:31 +01:00
test-pipeline app/pipeline: check status of getting link info 2019-10-07 15:00:54 +02:00
test-pmd app/testpmd: use better randomness for Tx split 2019-11-26 18:05:15 +01:00
test-sad app/test-sad: add sanity checks 2019-11-08 13:51:16 +01:00
Makefile app/test-sad: add test application for IPsec SAD 2019-10-23 16:57:06 +02:00
meson.build app/test-sad: add test application for IPsec SAD 2019-10-23 16:57:06 +02:00