]> git.droids-corp.org - dpdk.git/commit
test/bpf: use compiler atomics for calculation
authorJoyce Kong <joyce.kong@arm.com>
Wed, 17 Nov 2021 08:21:53 +0000 (08:21 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 17 Nov 2021 10:07:06 +0000 (11:07 +0100)
commit7e6533c1b62526b90ef6bce5a58227802c4a6bd4
tree42b96f44c735f4b3b02163b86699f4062048cecf
parent931e3a994597acb9ffa827376206e8aa324476b7
test/bpf: use compiler atomics for calculation

Convert rte_atomic usages to compiler atomic built-ins
for calculation in bpf test cases.

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