Re: [dpdk-dev] [PATCH v8 2/6] eal: add the APIs to wait until equal

2019-10-22 Thread Gavin Hu (Arm Technology China)
n Nikhilesh ; > Honnappa Nagarahalli ; Ruifeng Wang > (Arm Technology China) ; Phil Yang (Arm > Technology China) ; Steve Capper > > Subject: Re: [dpdk-dev] [PATCH v8 2/6] eal: add the APIs to wait until equal > > On Tue, Oct 22, 2019 at 11:37 AM Ananyev, Konstantin > wro

Re: [dpdk-dev] [PATCH v8 2/6] eal: add the APIs to wait until equal

2019-10-22 Thread Gavin Hu (Arm Technology China)
n Nikhilesh > ; Honnappa Nagarahalli > ; Ruifeng Wang (Arm Technology China) > ; Phil Yang (Arm Technology China) > ; Steve Capper > Subject: RE: [dpdk-dev] [PATCH v8 2/6] eal: add the APIs to wait until equal > > > > The rte_wait_until_equal_xx APIs abstract the functionalit

Re: [dpdk-dev] [PATCH v8 2/6] eal: add the APIs to wait until equal

2019-10-22 Thread David Marchand
On Tue, Oct 22, 2019 at 11:37 AM Ananyev, Konstantin 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.

Re: [dpdk-dev] [PATCH v8 2/6] eal: add the APIs to wait until equal

2019-10-22 Thread Ananyev, Konstantin
> > 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

Re: [dpdk-dev] [PATCH v8 2/6] eal: add the APIs to wait until equal

2019-10-21 Thread David Marchand
On Mon, Oct 21, 2019 at 11:48 AM Gavin Hu 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

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

2019-10-21 Thread Gavin Hu
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.