fa6b488998
In acquiring a spinlock, cores repeatedly poll the lock variable. This is replaced by rte_wait_until_equal API. Running micro benchmarking and testpmd and l3fwd traffic tests on ThunderX2, Ampere eMAG80 and Arm N1SDP, everything went well and no notable performance gain nor degradation was measured. Signed-off-by: Gavin Hu <gavin.hu@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Reviewed-by: Phil Yang <phil.yang@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> Tested-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Jerin Jacob <jerinj@marvell.com> |
||
---|---|---|
.. | ||
rte_atomic.h | ||
rte_byteorder.h | ||
rte_cpuflags.h | ||
rte_cycles.h | ||
rte_io.h | ||
rte_mcslock.h | ||
rte_memcpy.h | ||
rte_pause.h | ||
rte_pflock.h | ||
rte_power_intrinsics.h | ||
rte_prefetch.h | ||
rte_rwlock.h | ||
rte_spinlock.h | ||
rte_ticketlock.h | ||
rte_vect.h |