[PATCH v9] eal: add seqlock

Stephen Hemminger stephen at networkplumber.org
Wed Jun 1 00:49:07 CEST 2022


On Mon, 23 May 2022 16:23:46 +0200
Mattias Rönnblom <mattias.ronnblom at ericsson.com> wrote:

> +
> +	/* make sure the data loads happens before the sn load */
> +	rte_atomic_thread_fence(__ATOMIC_ACQUIRE);

Why mix __atomic builtin with rte_atomic?
Instead:
        __atomic_thread_fence(__ATOMIC_ACQUIRE);


More information about the dev mailing list