> 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.bura...@intel.com> > --- > > Notes: > v16: > - Improve error handling > - Take a lock before UMONITOR > > v13: > - Add comments around wakeup code to explain what it does > - Add lcore_id parameter checking to prevent buffer overrun > > lib/librte_eal/arm/rte_power_intrinsics.c | 9 ++ > .../include/generic/rte_power_intrinsics.h | 16 +++ > lib/librte_eal/ppc/rte_power_intrinsics.c | 9 ++ > lib/librte_eal/version.map | 1 + > lib/librte_eal/x86/rte_power_intrinsics.c | 98 ++++++++++++++++++- > 5 files changed, 132 insertions(+), 1 deletion(-) > > -- Acked-by: Konstantin Ananyev <konstantin.anan...@intel.com> > 2.25.1
- [dpdk-dev] [PATCH v16 01/11] eal: uninline power intri... Anatoly Burakov
- [dpdk-dev] [PATCH v16 02/11] eal: avoid invalid API us... Anatoly Burakov
- [dpdk-dev] [PATCH v16 03/11] eal: change API of power ... Anatoly Burakov
- Re: [dpdk-dev] [PATCH v16 03/11] eal: change API ... Ananyev, Konstantin
- Re: [dpdk-dev] [PATCH v16 03/11] eal: change ... Burakov, Anatoly
- Re: [dpdk-dev] [PATCH v16 03/11] eal: change ... Ananyev, Konstantin
- Re: [dpdk-dev] [PATCH v16 03/11] eal: change ... Burakov, Anatoly
- Re: [dpdk-dev] [PATCH v16 03/11] eal: change ... Ananyev, Konstantin
- [dpdk-dev] [PATCH v16 04/11] eal: remove sync version ... Anatoly Burakov
- [dpdk-dev] [PATCH v16 05/11] eal: add monitor wakeup f... Anatoly Burakov
- Re: [dpdk-dev] [PATCH v16 05/11] eal: add monitor... Ananyev, Konstantin
- [dpdk-dev] [PATCH v16 06/11] ethdev: add simple power ... Anatoly Burakov
- Re: [dpdk-dev] [PATCH v16 06/11] ethdev: add simp... Ananyev, Konstantin
- [dpdk-dev] [PATCH v16 07/11] power: add PMD power mana... Anatoly Burakov
- Re: [dpdk-dev] [PATCH v16 07/11] power: add PMD p... Ananyev, Konstantin
- Re: [dpdk-dev] [PATCH v16 07/11] power: add P... Burakov, Anatoly
- Re: [dpdk-dev] [PATCH v16 07/11] power: add P... Burakov, Anatoly
- [dpdk-dev] [PATCH v16 08/11] net/ixgbe: implement powe... Anatoly Burakov
- [dpdk-dev] [PATCH v16 09/11] net/i40e: implement power... Anatoly Burakov
- [dpdk-dev] [PATCH v16 10/11] net/ice: implement power ... Anatoly Burakov
- [dpdk-dev] [PATCH v16 11/11] examples/l3fwd-power: ena... Anatoly Burakov