test/pmd_perf: use compiler atomic builtins for polling sync
authorJoyce Kong <joyce.kong@arm.com>
Wed, 17 Nov 2021 08:21:49 +0000 (08:21 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 17 Nov 2021 10:07:06 +0000 (11:07 +0100)
commita598afba59272191e36b80f6e760bfa9b9b21e53
treec14639138dcd10ecaea5e2ef643b746dc6796a90
parent3dd8b5b3899400851d38d839273dce110edd0911
test/pmd_perf: use compiler atomic builtins for polling sync

Convert rte_atomic usages to compiler atomic built-ins
for polling sync in pmd_perf test cases.

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
app/test/test_pmd_perf.c