[dpdk-dev] Use WFE for spinlock and ring
Ruifeng Wang
ruifeng.wang at arm.com
Sun Apr 25 07:56:51 CEST 2021
The rte_wait_until_equal_xxx APIs abstract the functionality of 'polling
for a memory location to become equal to a given value'[1].
Use the API for the rte spinlock and ring implementations.
With the wait until equal APIs being stable, changes will not impact ABI.
[1] http://patches.dpdk.org/cover/62703/
v3:
Series rebased. (David)
Gavin Hu (1):
spinlock: use wfe to reduce contention on aarch64
Ruifeng Wang (1):
ring: use wfe to wait for ring tail update on aarch64
lib/eal/include/generic/rte_spinlock.h | 4 ++--
lib/ring/rte_ring_c11_pvt.h | 4 ++--
lib/ring/rte_ring_generic_pvt.h | 3 +--
3 files changed, 5 insertions(+), 6 deletions(-)
--
2.25.1
More information about the dev
mailing list