From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F281541B93; Tue, 31 Jan 2023 22:33:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 930EC40684; Tue, 31 Jan 2023 22:33:26 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 711A64067B for ; Tue, 31 Jan 2023 22:33:24 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id ABAFF20B3712; Tue, 31 Jan 2023 13:33:23 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com ABAFF20B3712 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1675200803; bh=g5vs/exSqdIV405ghR0j4krkc9tB3ECFth5UnVBQjEU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kH7QlvNmD8DBnAYbq7JiKhSyjmIPPT9tXQMY+SitN49omd9KF05JM0Zglzzk431sx dW/3sr6E54Hh7CY/kqXGqJS3Hb6MrFcPs/3npaYf9SgtRT3B6Bva2Q4apByqhiygPX up0yrY4zVi1HTSlQJKid44hcyWaPRDepQoXofI5Q= Date: Tue, 31 Jan 2023 13:33:23 -0800 From: Tyler Retzlaff To: dev@dpdk.org Cc: bruce.richardson@intel.com, mb@smartsharesystems.com, thomas@monjalon.net Subject: Re: [PATCH] eal: abstract compiler atomics Message-ID: <20230131213323.GA16029@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <1673558785-24992-1-git-send-email-roretzla@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1673558785-24992-1-git-send-email-roretzla@linux.microsoft.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org hi folks, just raising this to the top of mailboxes to call for reviewers. it's going to be a lot of work by the time it's done so your feedback is gretly appreciated. thanks! On Thu, Jan 12, 2023 at 01:26:24PM -0800, Tyler Retzlaff wrote: > Introduce an abstraction for compiler specific atomics and a meson > option to allow standard C11 atomics use. > > Note, this series does not attempt to convert to the use of the > abstraction it only introduces it as per the plan discussed here. > http://mails.dpdk.org/archives/dev/2023-January/258693.html > > devtools checkatches warnings are expected as we intend no > functional change with this series. Subsequent series will address > the use of __sync_xxx builtins warning. > > Tyler Retzlaff (1): > eal: introduce atomics abstraction > > config/meson.build | 11 +++ > lib/eal/arm/include/rte_atomic_32.h | 6 +- > lib/eal/arm/include/rte_atomic_64.h | 6 +- > lib/eal/include/generic/rte_atomic.h | 156 ++++++++++++++++++++++++++++++++- > lib/eal/loongarch/include/rte_atomic.h | 6 +- > lib/eal/ppc/include/rte_atomic.h | 6 +- > lib/eal/riscv/include/rte_atomic.h | 6 +- > lib/eal/x86/include/rte_atomic.h | 8 +- > meson_options.txt | 2 + > 9 files changed, 199 insertions(+), 8 deletions(-) > > -- > 1.8.3.1