numam-dpdk/lib/librte_eal/include
Harry van Haaren 8929de043e service: retrieve lcore active state
This commit adds a new experimental API which allows the user
to retrieve the active state of an lcore. Knowing when the service
lcore is completed its polling loop can be useful to applications
to avoid race conditions when e.g. finalizing statistics.

The service thread itself now has a variable to indicate if its
thread is active. When zero the service thread has completed its
service, and has returned from the service_runner_func() function.

Suggested-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
2020-09-21 16:37:11 +02:00
..
generic eal: add wrapper for C11 atomic thread fence 2020-07-17 16:00:30 +02:00
meson.build eal: introduce bit operations API 2020-06-16 14:16:56 +02:00
rte_alarm.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_bitmap.h bitmap: add init with all bits set 2020-04-15 16:10:12 +02:00
rte_bitops.h eal: introduce macro for bit definition 2020-07-28 18:27:46 +02:00
rte_branch_prediction.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_bus.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_class.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_common.h eal: fix parentheses in alignment macros 2020-07-11 11:41:33 +02:00
rte_compat.h eal: add internal ABI tag definition 2020-04-25 17:01:00 +02:00
rte_debug.h replace no-return attributes 2020-04-16 18:30:58 +02:00
rte_dev.h eal: hide internal device event structure 2020-09-21 10:12:10 +02:00
rte_devargs.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_eal_interrupts.h eal/linux: use C11 atomics for interrupt status 2020-07-09 18:53:40 +02:00
rte_eal_memconfig.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_eal_paging.h mem: drop mapping API workaround 2020-09-21 10:12:10 +02:00
rte_eal_trace.h trace: simplify trace point registration 2020-07-05 21:34:21 +02:00
rte_eal.h eal: add multiprocess disable API 2020-07-08 14:41:06 +02:00
rte_errno.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_fbarray.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_function_versioning.h compat: provide experimental alias for matured ABI 2020-05-18 19:46:25 +02:00
rte_hexdump.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_hypervisor.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_interrupts.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_keepalive.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_launch.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_lcore.h eal: add lcore iterators 2020-07-08 14:41:06 +02:00
rte_log.h log: hide internal variable 2020-09-16 18:37:11 +02:00
rte_malloc.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_memory.h mem: remove physical address aliases 2020-09-19 00:25:35 +02:00
rte_memzone.h mem: remove physical address aliases 2020-09-19 00:25:35 +02:00
rte_pci_dev_feature_defs.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_pci_dev_features.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_per_lcore.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_random.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_reciprocal.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_service_component.h service: fix C++ linkage 2020-07-09 16:23:57 +02:00
rte_service.h service: retrieve lcore active state 2020-09-21 16:37:11 +02:00
rte_string_fns.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_tailq.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_test.h eal: change the log level for test asserts 2020-07-17 10:47:56 +02:00
rte_time.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_trace_point_register.h trace: simplify trace point registration 2020-07-05 21:34:21 +02:00
rte_trace_point.h trace: fix C++ compilation 2020-09-17 11:13:44 +02:00
rte_trace.h trace: introduce new subsystem 2020-04-23 15:39:06 +02:00
rte_uuid.h eal: fix uuid header dependencies 2020-07-07 14:06:49 +02:00
rte_version.h eal: move common header files 2020-03-31 13:08:55 +02:00
rte_vfio.h eal: move common header files 2020-03-31 13:08:55 +02:00