From patchwork Thu Feb 15 06:50:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Retzlaff X-Patchwork-Id: 649 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CA2F743B06; Thu, 15 Feb 2024 07:51:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83E7142EA1; Thu, 15 Feb 2024 07:51:08 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id E96D040297 for ; Thu, 15 Feb 2024 07:51:06 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 34190207F229; Wed, 14 Feb 2024 22:51:06 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 34190207F229 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1707979866; bh=6CvMEUneMIKnu3geEL/syQWwQK0A0cWofOpsBwHG0+4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OVfPlxNnfF22tCHCVA5eR2IPbZcyehay9Xwdv/lHZiDp1MNdr66eCLugpXiMDWjMC 3wMOI0zDmT1/E/mMEPM9GmZG5vGaYRTAcdYv93f0y1MdWklnmdtanYo1HmTiZ+7fRk 5XJqGbHx9tB88hbO+uLvBx8ho0l/R+LDjUgSv89Y= From: Tyler Retzlaff To: dev@dpdk.org Cc: Bruce Richardson , David Hunt , Honnappa Nagarahalli , Jerin Jacob , Konstantin Ananyev , Sameh Gobriel , Sunil Kumar Kori , Vladimir Medvedkin , Yipeng Wang , mb@smartsharesystems.com, thomas@monjalon.net, Tyler Retzlaff Subject: [PATCH v2 0/6] use rte atomic thread fence Date: Wed, 14 Feb 2024 22:50:53 -0800 Message-Id: <1707979859-3984-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1698894265-22963-1-git-send-email-roretzla@linux.microsoft.com> References: <1698894265-22963-1-git-send-email-roretzla@linux.microsoft.com> MIME-Version: 1.0 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 use of __atomic_thread_fence with rte_atomic_thread_fence. Notes: The rest of lib/lpm will be converted to rte_atomic in a separate series (to be submitted soon). There are existing checkpatches checks that catch use of both __atomic_thread_fence and __rte_atomic_thread_fence in new submissions. v2: * change series to use rte_atomic_thread_fence instead of __rte_atomic_thread_fence (internal) * also change __atomic_thread_fence in lib/lpm Tyler Retzlaff (6): distributor: use rte atomic thread fence eal: use rte atomic thread fence hash: use rte atomic thread fence ring: use rte atomic thread fence stack: use rte atomic thread fence lpm: use rte atomic thread fence lib/distributor/rte_distributor.c | 2 +- lib/eal/common/eal_common_trace.c | 2 +- lib/eal/include/rte_mcslock.h | 4 ++-- lib/hash/rte_cuckoo_hash.c | 10 +++++----- lib/lpm/rte_lpm.c | 4 ++-- lib/ring/rte_ring_c11_pvt.h | 4 ++-- lib/stack/rte_stack_lf_c11.h | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) Acked-by: Thomas Monjalon