eal: add monitor wakeup function
authorAnatoly Burakov <anatoly.burakov@intel.com>
Thu, 14 Jan 2021 14:46:07 +0000 (14:46 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 18 Jan 2021 22:59:42 +0000 (23:59 +0100)
commit55243435f50b35ec465df8e1af59a140262e8c47
treedf5b3786bf8ec8325d067681670b0c948b3ed52f
parent1b36fc280a8e8c4db76a3fdbaf065a685f6d2871
eal: add monitor wakeup function

Now that we have everything in a C file, we can store the information
about our sleep, and have a native mechanism to wake up the sleeping
core. This mechanism would however only wake up a core that's sleeping
while monitoring - waking up from `rte_power_pause` won't work.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_eal/arm/rte_power_intrinsics.c
lib/librte_eal/include/generic/rte_power_intrinsics.h
lib/librte_eal/ppc/rte_power_intrinsics.c
lib/librte_eal/version.map
lib/librte_eal/x86/rte_power_intrinsics.c