bbdev: use C11 atomics for device processing counter
authorPhil Yang <phil.yang@arm.com>
Thu, 24 Sep 2020 05:39:26 +0000 (13:39 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 25 Sep 2020 13:37:55 +0000 (15:37 +0200)
commitb5bafde26cca534be643859169b45e8249a39787
tree99789407d54d9de5ab50ead088db1617d00a3a71
parentc5d6c4725778ec04e50ab08b507490261740fe10
bbdev: use C11 atomics for device processing counter

Since rte_atomicXX APIs are not allowed to be used, use C11 atomic builtins
for device processing counter.

Signed-off-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Nicolas Chautru <nicolas.chautru@intel.com>
lib/librte_bbdev/rte_bbdev.c
lib/librte_bbdev/rte_bbdev.h