[dpdk-dev] [PATCH 0/4] use C11 atomic builtins for libs

David Marchand david.marchand at redhat.com
Tue Sep 15 17:12:31 CEST 2020


On Fri, Sep 11, 2020 at 5:29 AM Phil Yang <phil.yang at arm.com> wrote:
>
> Since rte_atomicXX APIs are not allowed to be used[1][2], use C11 atomic
> builtins instead in eal, bbdev, power, and ethdev libs.
>
> [1] http://code.dpdk.org/dpdk/latest/source/doc/guides/rel_notes/deprecation.rst#L87
> [2] http://code.dpdk.org/dpdk/latest/source/devtools/checkpatches.sh#L80
>
> Phil Yang (4):
>   eal: use C11 atomic builtins for already initialized check
>   bbdev: use C11 atomic builtins for device processing counter
>   power: use C11 atomic builtins for power in use state update
>   ethdev: use C11 atomic builtins for link status update

It breaks build with clang (Travis + FreeBSD vm at UNH).


-- 
David Marchand



More information about the dev mailing list