event/octeontx2: use C11 atomics for statistics
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Fri, 27 Mar 2020 08:55:58 +0000 (14:25 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sat, 4 Apr 2020 16:38:43 +0000 (18:38 +0200)
commitf97b817ce448b0bde3b0072bc578cb1fbda2965a
tree8a75c02e215c972ead03ee2be35a60d0114112af
parent092454d99949fe78fcebd4b533ea56fe30ec26e0
event/octeontx2: use C11 atomics for statistics

Use c11 atomics with RELAXED ordering instead of rte_atomic ops which
enforce unnessary barriers on arm64.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
drivers/event/octeontx2/otx2_tim_evdev.c
drivers/event/octeontx2/otx2_tim_evdev.h
drivers/event/octeontx2/otx2_tim_worker.c