Re: [dpdk-dev] [PATCH v4 0/4] generic rte atomic APIs deprecate proposal

2020-05-12 Thread Phil Yang
+ David Christensen The PPC c11 atomics maintainer. My apologies, I forgot to cc you on this email. Thanks, Phil Yang > -Original Message- > From: Phil Yang > Sent: Tuesday, May 12, 2020 4:03 PM > To: tho...@monjalon.net; dev@dpdk.org > Cc: bruce.richard...@intel.com; ferruh.yi...@inte

[dpdk-dev] [PATCH v4 0/4] generic rte atomic APIs deprecate proposal

2020-05-12 Thread Phil Yang
DPDK provides generic rte_atomic APIs to do several atomic operations. These APIs are using the deprecated __sync built-ins and enforce full memory barriers on aarch64. However, full barriers are not necessary in many use cases. In order to address such use cases, C language offers C11 atomic APIs.