On Tue, 17 Oct 2023 13:30:58 -0700 Tyler Retzlaff <roret...@linux.microsoft.com> wrote:
> Replace the use of gcc builtin __atomic_xxx intrinsics with > corresponding rte_atomic_xxx optional stdatomic API. > > v2: > * add #include <rte_stdatomic.h> to rte_mbuf_core.h > * remove first two patches which were fixes that have > been merged in another series Looks good. It does look like lots of places are doing per-cpu statistics and maybe a set of helpers for that would make it simpler. Linux has percpu_counter_XXX helpers and NET_INC_STATS() macro.