[dpdk-dev] [RFC v2 3/5] ring: use wfe to wait for ring tail update on aarch64

Pavan Nikhilesh Bhagavatula pbhagavatula at marvell.com
Sat Jul 20 08:50:18 CEST 2019



>-----Original Message-----
>From: dev <dev-bounces at dpdk.org> On Behalf Of Gavin Hu
>Sent: Wednesday, July 3, 2019 2:29 PM
>To: dev at dpdk.org
>Cc: nd at arm.com
>Subject: [dpdk-dev] [RFC v2 3/5] ring: use wfe to wait for ring tail
>update on aarch64

>Instead of polling for tail to be updated, use wfe instruction.
>
>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>

Tested on octeontx2 board and noticed  2-5% perf improvement

Tested-by: Pavan Nikhilesh <pbhagavatula at marvell.com>

>---
> lib/librte_ring/rte_ring_c11_mem.h | 4 ++--
> lib/librte_ring/rte_ring_generic.h | 3 +--
> 2 files changed, 3 insertions(+), 4 deletions(-)
>
>2.7.4



More information about the dev mailing list