eal: remove FINISHED lcore state
authorHonnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Mon, 25 Oct 2021 04:52:35 +0000 (23:52 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 25 Oct 2021 16:20:59 +0000 (18:20 +0200)
commitf6c6c686f134dac6a0b4540b1a6b85719991b6dc
treea403cab1fb15b88e255b12867ca29667312d842d
parent33969e9c61385fc397f1934324e231ece9750404
eal: remove FINISHED lcore state

FINISHED state seems to be used to indicate that the worker's update
of the 'state' is not visible to other threads. There seems to be no
requirement to have such a state.

Since the FINISHED state is removed, the API rte_eal_wait_lcore
is updated to always return the status of the last function that
ran in the worker core.

Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Ola Liljedahl <ola.liljedahl@arm.com>
Reviewed-by: Feifei Wang <feifei.wang2@arm.com>
12 files changed:
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_21_11.rst
drivers/event/dpaa2/dpaa2_eventdev_selftest.c
drivers/event/octeontx/ssovf_evdev_selftest.c
drivers/event/sw/sw_evdev_selftest.c
examples/l2fwd-keepalive/main.c
lib/eal/common/eal_common_launch.c
lib/eal/freebsd/eal_thread.c
lib/eal/include/rte_launch.h
lib/eal/include/rte_service.h
lib/eal/linux/eal_thread.c
lib/eal/windows/eal_thread.c