Message ID | 1707979859-3984-1-git-send-email-roretzla@linux.microsoft.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 <dev@dpdk.org>; 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 <roretzla@linux.microsoft.com> To: dev@dpdk.org Cc: Bruce Richardson <bruce.richardson@intel.com>, David Hunt <david.hunt@intel.com>, Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>, Jerin Jacob <jerinj@marvell.com>, Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>, Sameh Gobriel <sameh.gobriel@intel.com>, Sunil Kumar Kori <skori@marvell.com>, Vladimir Medvedkin <vladimir.medvedkin@intel.com>, Yipeng Wang <yipeng1.wang@intel.com>, mb@smartsharesystems.com, thomas@monjalon.net, Tyler Retzlaff <roretzla@linux.microsoft.com> 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
use rte atomic thread fence
|
|
Message
Tyler Retzlaff
Feb. 15, 2024, 6:50 a.m. UTC
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(-)
Comments
Series-acked-by: Chengwen Feng <fengchengwen@huawei.com> On 2024/2/15 14:50, Tyler Retzlaff wrote: > 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(-) >
> > 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 > > Series-acked-by: Chengwen Feng <fengchengwen@huawei.com> Acked-by: Thomas Monjalon <thomas@monjalon.net> Squashed and applied, thanks.