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 4172F43AFA; Sun, 18 Feb 2024 04:23:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C3F3F402BB; Sun, 18 Feb 2024 04:23:35 +0100 (CET) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) by mails.dpdk.org (Postfix) with ESMTP id 6C44C40262 for ; Sun, 18 Feb 2024 04:23:34 +0100 (CET) Received: from mail.maildlp.com (unknown [172.19.88.234]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4TcrVD3rVwz1FKc9; Sun, 18 Feb 2024 11:18:44 +0800 (CST) Received: from dggpeml500024.china.huawei.com (unknown [7.185.36.10]) by mail.maildlp.com (Postfix) with ESMTPS id ACF801400CC; Sun, 18 Feb 2024 11:23:32 +0800 (CST) Received: from [10.67.121.161] (10.67.121.161) by dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sun, 18 Feb 2024 11:23:32 +0800 Subject: Re: [PATCH v2 0/6] use rte atomic thread fence To: Tyler Retzlaff , CC: Bruce Richardson , David Hunt , Honnappa Nagarahalli , Jerin Jacob , Konstantin Ananyev , Sameh Gobriel , Sunil Kumar Kori , Vladimir Medvedkin , Yipeng Wang , , References: <1698894265-22963-1-git-send-email-roretzla@linux.microsoft.com> <1707979859-3984-1-git-send-email-roretzla@linux.microsoft.com> From: fengchengwen Message-ID: <51bce246-d633-d41b-a62c-c9c5ae9fcb4c@huawei.com> Date: Sun, 18 Feb 2024 11:23:32 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <1707979859-3984-1-git-send-email-roretzla@linux.microsoft.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.121.161] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml500024.china.huawei.com (7.185.36.10) 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 Series-acked-by: Chengwen Feng 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(-) >