app/eventdev: remove unnecessary barriers in order test
authorFeifei Wang <feifei.wang2@arm.com>
Thu, 14 Jan 2021 07:08:30 +0000 (15:08 +0800)
committerJerin Jacob <jerinj@marvell.com>
Tue, 26 Jan 2021 14:32:18 +0000 (15:32 +0100)
commit7fdc5ce88d33f1e767981c824532f13d86390639
treefa30b498e98f352a7b1ed4491da20a33d690bfc3
parentc56563f19a1553025b6618b60aceaefc603907d0
app/eventdev: remove unnecessary barriers in order test

For the wmb in order_process_stage_1 and order_process_stage_invalid in
the order test, they can be removed. This is because when the test results
are wrong, the worker core writes 'true' to t->err. Then other worker
cores, producer cores and the main core will load the 'error' index and
stop testing. So, for the worker cores, no other storing operation needs
to be guaranteed after this when errors happen.

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_order_common.h