[dpdk-dev] [PATCH v7 2/7] eal: add the APIs to wait until equal

Jerin Jacob jerinjacobk at gmail.com
Fri Sep 27 13:03:14 CEST 2019


On Fri, Sep 27, 2019 at 11:12 AM Gavin Hu <gavin.hu at arm.com> wrote:
>
> The rte_wait_until_equal_xx APIs abstract the functionality of
> 'polling for a memory location to become equal to a given value'.
>
> Add the RTE_ARM_USE_WFE configuration entry for aarch64, disabled
> by default. When it is enabled, the above APIs will call WFE instruction
> to save CPU cycles and power.
>
> Signed-off-by: Gavin Hu <gavin.hu at arm.com>
> Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
> Reviewed-by: Steve Capper <steve.capper at arm.com>
> Reviewed-by: Ola Liljedahl <ola.liljedahl at arm.com>
> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Reviewed-by: Phil Yang <phil.yang at arm.com>
> Acked-by: Pavan Nikhilesh <pbhagavatula at marvell.com>

Acked-by: Jerin Jacob <jerinj at marvell.com>


More information about the dev mailing list