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

From: Pavan Nikhilesh Bhagavatula <hidden>
Date: 2019-07-20 06:50:28

-----Original Message-----
From: dev <redacted> On Behalf Of Gavin Hu
Sent: Wednesday, July 3, 2019 2:29 PM
To: dev@dpdk.org
Cc: nd@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 <redacted>
Reviewed-by: Ruifeng Wang <redacted>
Reviewed-by: Steve Capper <redacted>
Reviewed-by: Ola Liljedahl <redacted>
Reviewed-by: Honnappa Nagarahalli <redacted>
Tested on octeontx2 board and noticed  2-5% perf improvement

Tested-by: Pavan Nikhilesh <redacted>
---
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
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help