From: Pavan Nikhilesh Date: Fri, 14 Feb 2020 06:45:24 +0000 (+0530) Subject: event/octeontx2: remove WFE from dual-slot dequeue X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=aeb2494688fd982fc80f2d1468c5e2106ebc3148;p=dpdk.git 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 --- 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"