[dpdk-dev] [PATCH 0/3] add lock-free stack support discovery

David Marchand david.marchand at redhat.com
Fri Apr 16 08:34:29 CEST 2021


On Mon, Apr 12, 2021 at 10:29 AM Stanislaw Kardach <kda at semihalf.com> wrote:
>
> The lock-free stack implementation (RTE_STACK_F_LF) is supported only on a
> subset of platforms, namely x86_64 and arm64. Platforms supporting 128b atomics
> have to opt-in to a generic or C11 implementations. All other platforms use a
> stubbed implementation for push/pop operations which are basically NOPs.
> However rte_stack_create() will not fail and application can proceed assuming
> it has a working lock-free stack.

Did you actually hit this issue or is this only theoretical?
I can only think of ppc64 displaying such behavior.


-- 
David Marchand



More information about the dev mailing list