git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37f60fd
)
app/eventdev: remove unnecessary barrier in pipeline test
author
Feifei Wang
<feifei.wang2@arm.com>
Thu, 14 Jan 2021 07:08:29 +0000
(15:08 +0800)
committer
Jerin Jacob
<jerinj@marvell.com>
Tue, 26 Jan 2021 14:19:12 +0000
(15:19 +0100)
For "processed_pkts" function, no operations should keep the order that
being executed before loading "worker[i].processed_pkts".
Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
app/test-eventdev/test_pipeline_common.c
patch
|
blob
|
history
diff --git
a/app/test-eventdev/test_pipeline_common.c
b/app/test-eventdev/test_pipeline_common.c
index
c67be48
..
b47d767
100644
(file)
--- 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;