Message ID | 20231211073904.811243-1-haijie1@huawei.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 29BFF436C6; Mon, 11 Dec 2023 08:42:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0CA5740395; Mon, 11 Dec 2023 08:42:49 +0100 (CET) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) by mails.dpdk.org (Postfix) with ESMTP id 31DAD40041 for <dev@dpdk.org>; Mon, 11 Dec 2023 08:42:47 +0100 (CET) Received: from mail.maildlp.com (unknown [172.19.88.214]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4SpYXb0pFmz1FDlD for <dev@dpdk.org>; Mon, 11 Dec 2023 15:39:11 +0800 (CST) Received: from kwepemd100004.china.huawei.com (unknown [7.221.188.31]) by mail.maildlp.com (Postfix) with ESMTPS id F2A131A018F for <dev@dpdk.org>; Mon, 11 Dec 2023 15:42:44 +0800 (CST) Received: from localhost.localdomain (10.67.165.2) by kwepemd100004.china.huawei.com (7.221.188.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1258.28; Mon, 11 Dec 2023 15:42:44 +0800 From: Jie Hai <haijie1@huawei.com> To: <dev@dpdk.org> CC: <lihuisong@huawei.com>, <fengchengwen@huawei.com>, <liudongdong3@huawei.com>, <haijie1@huawei.com> Subject: [PATCH 0/2] bugfix and replace on use of stdatomic API Date: Mon, 11 Dec 2023 15:39:02 +0800 Message-ID: <20231211073904.811243-1-haijie1@huawei.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.67.165.2] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemd100004.china.huawei.com (7.221.188.31) 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 |
bugfix and replace on use of stdatomic API
|
|
Message
Jie Hai
Dec. 11, 2023, 7:39 a.m. UTC
This patchset fixes bug on stdatomic API in lib and test, and replaces all __atomic_XX with rte_atomic_XXX of hns3 driver. Jie Hai (2): eal: fix constraints on stdatomic API net/hns3: use stdatomic API app/test/test_atomic.c | 6 +-- drivers/net/hns3/hns3_cmd.c | 24 ++++++---- drivers/net/hns3/hns3_dcb.c | 3 +- drivers/net/hns3/hns3_ethdev.c | 52 +++++++++++++-------- drivers/net/hns3/hns3_ethdev.h | 36 ++++++++------- drivers/net/hns3/hns3_ethdev_vf.c | 68 +++++++++++++++------------- drivers/net/hns3/hns3_intr.c | 47 ++++++++++--------- drivers/net/hns3/hns3_intr.h | 4 +- drivers/net/hns3/hns3_mbx.c | 9 ++-- drivers/net/hns3/hns3_mp.c | 9 ++-- drivers/net/hns3/hns3_rxtx.c | 15 ++++-- drivers/net/hns3/hns3_tm.c | 6 ++- lib/eal/include/generic/rte_atomic.h | 12 ++--- 13 files changed, 169 insertions(+), 122 deletions(-)