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 62D4641EC0; Fri, 17 Mar 2023 21:19:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D41542FD8; Fri, 17 Mar 2023 21:19:52 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 294E842F98 for ; Fri, 17 Mar 2023 21:19:50 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 6B9D420C32D1; Fri, 17 Mar 2023 13:19:49 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 6B9D420C32D1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1679084389; bh=U1gLvwOQf1oGFrNaf5KCz9GU32Sx4uW54qM3szDvDcA=; h=From:To:Cc:Subject:Date:From; b=SXL/UyP482inpzTe+girG5XCwGtDSYz0wTw9D5PSvNKVMHHmsJT54I7BzH/hcAjfO gkYN9yAaMW1cUVOIrelso/jETu5iDNgBHYstKNd/KVNtU/nqG0rfTej/N6Z2F+Le4W Emp3DwgOQDc8Tp/TasRP6Z0C3khCt0GsM/StLkvw= From: Tyler Retzlaff To: dev@dpdk.org Cc: Honnappa.Nagarahalli@arm.com, Ruifeng.Wang@arm.com, thomas@monjalon.net, Tyler Retzlaff Subject: [PATCH 0/7] replace rte atomics with GCC builtin atomics Date: Fri, 17 Mar 2023 13:19:41 -0700 Message-Id: <1679084388-19267-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 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 Replace the use of rte_atomic.h types and functions, instead use GCC supplied C++11 memory model builtins. This series covers the libraries and drivers that are built on Windows. The code has be converted to use the __atomic builtins but there are additional during conversion i notice that there may be some issues that need to be addressed. I'll comment in the patches where my concerns are so the maintainers may comment. Tyler Retzlaff (7): ring: replace rte atomics with GCC builtin atomics stack: replace rte atomics with GCC builtin atomics dma/idxd: replace rte atomics with GCC builtin atomics net/ice: replace rte atomics with GCC builtin atomics net/ixgbe: replace rte atomics with GCC builtin atomics net/null: replace rte atomics with GCC builtin atomics net/ring: replace rte atomics with GCC builtin atomics drivers/dma/idxd/idxd_internal.h | 3 +-- drivers/dma/idxd/idxd_pci.c | 6 +++--- drivers/net/ice/ice_dcf.c | 1 - drivers/net/ice/ice_dcf_ethdev.c | 1 - drivers/net/ice/ice_ethdev.c | 10 ++++++---- drivers/net/ixgbe/ixgbe_bypass.c | 1 - drivers/net/ixgbe/ixgbe_ethdev.c | 12 ++++++------ drivers/net/ixgbe/ixgbe_ethdev.h | 3 ++- drivers/net/ixgbe/ixgbe_flow.c | 1 - drivers/net/ixgbe/ixgbe_rxtx.c | 1 - drivers/net/null/rte_eth_null.c | 20 ++++++++++---------- drivers/net/ring/rte_eth_ring.c | 20 ++++++++++---------- lib/ring/rte_ring_core.h | 1 - lib/ring/rte_ring_generic_pvt.h | 10 ++++++---- lib/stack/rte_stack_lf_generic.h | 11 +++++------ 15 files changed, 49 insertions(+), 52 deletions(-) -- 1.8.3.1