From: Feifei Wang Date: Thu, 14 Jan 2021 07:08:29 +0000 (+0800) Subject: app/eventdev: remove unnecessary barrier in pipeline test X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c56563f19a1553025b6618b60aceaefc603907d0;p=dpdk.git app/eventdev: remove unnecessary barrier in pipeline test For "processed_pkts" function, no operations should keep the order that being executed before loading "worker[i].processed_pkts". Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang Acked-by: Pavan Nikhilesh --- diff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c index c67be48e9c..b47d76743f 100644 --- a/app/test-eventdev/test_pipeline_common.c +++ b/app/test-eventdev/test_pipeline_common.c @@ -44,7 +44,6 @@ processed_pkts(struct test_pipeline *t) uint8_t i; uint64_t total = 0; - rte_smp_rmb(); for (i = 0; i < t->nb_workers; i++) total += t->worker[i].processed_pkts;