From aeb2494688fd982fc80f2d1468c5e2106ebc3148 Mon Sep 17 00:00:00 2001 From: Pavan Nikhilesh Date: Fri, 14 Feb 2020 12:15:24 +0530 Subject: [PATCH] event/octeontx2: remove WFE from dual-slot dequeue Each workslot is always bound to a specific lcore there is no multi-core contention to cause cache trashing as a result it is safe to remove the WFE. Also, in dual workslot dequeue work will mostlikely be available on the pair workslot making WFE impractical. Signed-off-by: Pavan Nikhilesh Reviewed-by: Gavin Hu --- drivers/event/octeontx2/otx2_worker_dual.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/event/octeontx2/otx2_worker_dual.h b/drivers/event/octeontx2/otx2_worker_dual.h index 5134e3d525..c88420eb4e 100644 --- a/drivers/event/octeontx2/otx2_worker_dual.h +++ b/drivers/event/octeontx2/otx2_worker_dual.h @@ -29,11 +29,7 @@ otx2_ssogws_dual_get_work(struct otx2_ssogws_state *ws, rte_prefetch_non_temporal(lookup_mem); #ifdef RTE_ARCH_ARM64 asm volatile( - " ldr %[tag], [%[tag_loc]] \n" - " ldr %[wqp], [%[wqp_loc]] \n" - " tbz %[tag], 63, done%= \n" - " sevl \n" - "rty%=: wfe \n" + "rty%=: \n" " ldr %[tag], [%[tag_loc]] \n" " ldr %[wqp], [%[wqp_loc]] \n" " tbnz %[tag], 63, rty%= \n" -- 2.20.1