numam-dpdk/config/arm
Gavin Hu 1be7855d77 eal: add wait until equal API
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.

From a VM, when calling this API on aarch64, it may trap in and out to
release vCPUs whereas cause high exit latency. Since kernel 4.18.20 an
adaptive trapping mechanism is introduced to balance the latency and
workload.

Signed-off-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Steve Capper <steve.capper@arm.com>
Reviewed-by: Ola Liljedahl <ola.liljedahl@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
2020-01-17 12:02:21 +01:00
..
arm64_armada_linux_gcc config: add pkgconfig for arm64 2019-11-28 23:03:52 +01:00
arm64_armv8_linux_gcc config: add pkgconfig for arm64 2019-11-28 23:03:52 +01:00
arm64_bluefield_linux_gcc config: add pkgconfig for arm64 2019-11-28 23:03:52 +01:00
arm64_dpaa_linux_gcc config: add pkgconfig for arm64 2019-11-28 23:03:52 +01:00
arm64_emag_linux_gcc config: add pkgconfig for arm64 2019-11-28 23:03:52 +01:00
arm64_n1sdp_linux_gcc config: add pkgconfig for arm64 2019-11-28 23:03:52 +01:00
arm64_octeontx2_linux_gcc config: add pkgconfig for arm64 2019-11-28 23:03:52 +01:00
arm64_thunderx2_linux_gcc config: add pkgconfig for arm64 2019-11-28 23:03:52 +01:00
arm64_thunderx_linux_gcc config: add pkgconfig for arm64 2019-11-28 23:03:52 +01:00
armv8_machine.py build: detect micro-arch on ARM 2018-01-30 21:59:00 +01:00
meson.build eal: add wait until equal API 2020-01-17 12:02:21 +01:00