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 EF7FD41E6D; Fri, 10 Mar 2023 23:15:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 15BB541144; Fri, 10 Mar 2023 23:15:40 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 4F28840DD8 for ; Fri, 10 Mar 2023 23:15:36 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 7AC10203B411; Fri, 10 Mar 2023 14:15:35 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 7AC10203B411 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1678486535; bh=jTLNd+kVnSaG/0pO4sQEkU5m9UdiPq6cZSVaYzB3UkI=; h=From:To:Cc:Subject:Date:From; b=Ob2vEi3T4x8QWhbl/T0cmMQ8hLX/z5r9ZouW3mWGhXP7ussKTUgtxyn+2pb/moZQq wNpraBvM+cvzT1deToOP2H3cJpweYWgxpU3LsRVSGXg02Rysa6QkGx471DjdRRLRSH c16r3w0LQuQcGjqAObmRY6P4bSrwy65X3qt2HNt0= From: Tyler Retzlaff To: dev@dpdk.org Cc: Honnappa.Nagarahalli@arm.com, Ruifeng.Wang@arm.com, thomas@monjalon.net, Tyler Retzlaff Subject: [PATCH 00/16] use __atomic operations returning new value Date: Fri, 10 Mar 2023 14:15:14 -0800 Message-Id: <1678486530-20688-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 This series replaces uses of __atomic_{add,and,or,sub,xor}_fetch with __atomic_fetch_{add,and,or,sub,xor} intrinsics where the return value is used. This series is being separated from the other similar series in an effort to reduce the chance of mistakes being spotted in review since the usages in this case consume the returned / new value. Tyler Retzlaff (16): app/test: use previous value atomic fetch operations common/cnxk: use previous value atomic fetch operations common/mlx5: use previous value atomic fetch operations drivers/event: use previous value atomic fetch operations net/af_xdp: use previous value atomic fetch operations net/cnxk: use previous value atomic fetch operations net/cxgbe: use previous value atomic fetch operations net/iavf: use previous value atomic fetch operations net/mlx5: use previous value atomic fetch operations net/octeontx: use previous value atomic fetch operations raw/ifpga: use previous value atomic fetch operations bbdev: use previous value atomic fetch operations eal: use previous value atomic fetch operations ipsec: use previous value atomic fetch operations mbuf: use previous value atomic fetch operations rcu: use previous value atomic fetch operations app/test/test_ring_perf.c | 2 +- drivers/common/cnxk/roc_ae.c | 2 +- drivers/common/cnxk/roc_ae_fpm_tables.c | 2 +- drivers/common/cnxk/roc_npa.c | 2 +- drivers/common/mlx5/linux/mlx5_nl.c | 2 +- drivers/common/mlx5/mlx5_common_mr.c | 8 ++++---- drivers/common/mlx5/mlx5_common_utils.c | 8 ++++---- drivers/event/cnxk/cnxk_tim_worker.h | 2 +- drivers/event/dsw/dsw_event.c | 4 ++-- drivers/event/octeontx/timvf_worker.h | 2 +- drivers/net/af_xdp/rte_eth_af_xdp.c | 4 ++-- drivers/net/cnxk/cn10k_tx.h | 4 ++-- drivers/net/cxgbe/clip_tbl.c | 2 +- drivers/net/cxgbe/mps_tcam.c | 2 +- drivers/net/iavf/iavf_vchnl.c | 8 ++++---- drivers/net/mlx5/linux/mlx5_verbs.c | 2 +- drivers/net/mlx5/mlx5.c | 4 ++-- drivers/net/mlx5/mlx5_flow.c | 8 ++++---- drivers/net/mlx5/mlx5_flow_dv.c | 12 ++++++------ drivers/net/mlx5/mlx5_flow_hw.c | 14 +++++++------- drivers/net/mlx5/mlx5_hws_cnt.c | 4 ++-- drivers/net/mlx5/mlx5_rxq.c | 6 +++--- drivers/net/mlx5/mlx5_txq.c | 2 +- drivers/net/octeontx/octeontx_ethdev.c | 2 +- drivers/raw/ifpga/ifpga_rawdev.c | 2 +- lib/bbdev/rte_bbdev.c | 4 ++-- lib/eal/include/generic/rte_rwlock.h | 8 ++++---- lib/eal/ppc/include/rte_atomic.h | 16 ++++++++-------- lib/ipsec/ipsec_sqn.h | 2 +- lib/mbuf/rte_mbuf.h | 12 ++++++------ lib/rcu/rte_rcu_qsbr.h | 2 +- 31 files changed, 77 insertions(+), 77 deletions(-) -- 1.8.3.1