mbuf: use C11 atomic builtins for refcnt
authorPhil Yang <phil.yang@arm.com>
Fri, 17 Jul 2020 04:36:50 +0000 (12:36 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 21 Jul 2020 08:30:35 +0000 (10:30 +0200)
commitdb48bae25339d4b0fd56487c78441ea51031430f
treedb17a8e4f1a33beb01ba984a1c702462b6e500f7
parentcf43d9d04b935e3796331e453adedc3aabbedd12
mbuf: use C11 atomic builtins for refcnt

Use C11 atomic builtins with explicit ordering instead of rte_atomic
ops which enforce unnecessary barriers on aarch64.

Suggested-by: Olivier Matz <olivier.matz@6wind.com>
Suggested-by: Dodji Seketeli <dodji@redhat.com>
Signed-off-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
devtools/libabigail.abignore
lib/librte_mbuf/rte_mbuf.c
lib/librte_mbuf/rte_mbuf.h
lib/librte_mbuf/rte_mbuf_core.h