numam-dpdk/lib/eal/common
Harry van Haaren 6550113be6 service: fix lingering active status
This commit fixes an issue where calling rte_service_lcore_stop()
would result in a service's "active on lcore" status becoming stale.

The stale status would result in rte_service_may_be_active() always
returning "1", indicating that the service is not certainly stopped.

This is fixed by ensuring the "active on lcore" status of each service
is set to 0 when an lcore is stopped.

Fixes: e30dd31847 ("service: add mechanism for quiescing")
Fixes: 8929de043e ("service: retrieve lcore active state")

Reported-by: Naga Harish K S V <s.v.naga.harish.k@intel.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
2022-07-05 16:24:43 +02:00
..
eal_common_bus.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_common_class.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_common_config.c eal: remove unneeded header includes 2022-06-21 16:46:56 +02:00
eal_common_cpuflags.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_common_debug.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_common_dev.c devargs: fix leak on hotplug failure 2022-05-19 18:45:20 +02:00
eal_common_devargs.c devargs: fix crash with uninitialized parsing 2022-02-27 19:28:59 +01:00
eal_common_dynmem.c mem: check allocation in dynamic hugepage init 2022-02-11 08:46:21 +01:00
eal_common_errno.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_common_fbarray.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_common_hexdump.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_common_hypervisor.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_common_interrupts.c interrupts: extend event list 2021-10-25 21:20:12 +02:00
eal_common_launch.c eal: remove unneeded header includes 2022-06-21 16:46:56 +02:00
eal_common_lcore.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_common_log.c eal: remove unneeded header includes 2022-06-21 16:46:56 +02:00
eal_common_mcfg.c mem: use WFE for init sync on aarch64 2021-10-20 08:22:18 +02:00
eal_common_memalloc.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_common_memory.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_common_memzone.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_common_options.c eal/linux: allocate worker lcore stacks in hugepages 2022-06-23 22:36:33 +02:00
eal_common_proc.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_common_string_fns.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_common_tailqs.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_common_thread.c eal: factorize lcore main loop 2022-04-14 13:59:50 +02:00
eal_common_timer.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_common_trace_ctf.c remove unnecessary null checks 2022-02-12 12:07:48 +01:00
eal_common_trace_points.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_common_trace_utils.c trace: fix init with long file prefix 2022-06-21 11:11:00 +02:00
eal_common_trace.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_common_uuid.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_filesystem.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_firmware.h eal: handle compressed firmware 2021-07-07 16:41:53 +02:00
eal_hugepages.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_internal_cfg.h eal/linux: allocate worker lcore stacks in hugepages 2022-06-23 22:36:33 +02:00
eal_interrupts.h interrupts: extend event list 2021-10-25 21:20:12 +02:00
eal_log.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_memalloc.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_memcfg.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_options.h eal/linux: allocate worker lcore stacks in hugepages 2022-06-23 22:36:33 +02:00
eal_private.h log: close in cleanup stage 2022-02-11 19:49:22 +01:00
eal_thread.h eal: factorize lcore main loop 2022-04-14 13:59:50 +02:00
eal_trace.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
hotplug_mp.c eal: cleanup multiprocess hotplug resources 2022-02-11 19:49:22 +01:00
hotplug_mp.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
malloc_elem.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
malloc_elem.h test/mem: disable ASan when accessing unallocated memory 2022-05-11 14:05:30 +02:00
malloc_heap.c malloc: fix allocation of almost hugepage size 2022-06-23 13:40:50 +02:00
malloc_heap.h mem: cleanup multiprocess resources 2022-02-11 19:49:22 +01:00
malloc_mp.c malloc: fix allocation of almost hugepage size 2022-06-23 13:40:50 +02:00
malloc_mp.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
meson.build interrupts: add allocator and accessors 2021-10-25 21:20:12 +02:00
rte_keepalive.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_malloc.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
rte_random.c eal: provide pseudo-random floating point number 2022-06-22 10:59:09 +02:00
rte_reciprocal.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_service.c service: fix lingering active status 2022-07-05 16:24:43 +02:00
rte_version.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00