Message ID | 20231110061331.3670158-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 D2461432EF; Fri, 10 Nov 2023 07:18:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C27741151; Fri, 10 Nov 2023 07:18:39 +0100 (CET) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id A693F40E0F for <dev@dpdk.org>; Fri, 10 Nov 2023 07:18:34 +0100 (CET) Received: from kwepemd100004.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4SRT846rxJz1P8Dy; Fri, 10 Nov 2023 14:15:16 +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.23; Fri, 10 Nov 2023 14:18:29 +0800 From: Jie Hai <haijie1@huawei.com> To: <dev@dpdk.org>, <ferruh.yigit@amd.com> CC: <lihuisong@huawei.com>, <fengchengwen@huawei.com>, <liudongdong3@huawei.com> Subject: [PATCH v2 0/6] net/hns3: fix and refactor some codes Date: Fri, 10 Nov 2023 14:13:25 +0800 Message-ID: <20231110061331.3670158-1-haijie1@huawei.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20231108034434.559030-1-haijie1@huawei.com> References: <20231108034434.559030-1-haijie1@huawei.com> 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-CFilter-Loop: Reflected 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 |
net/hns3: fix and refactor some codes
|
|
Message
Jie Hai
Nov. 10, 2023, 6:13 a.m. UTC
This patchset fixes the failure on sync mailbox and refactors some codes on mailbox, also replace gcc builtin __atomic_xxx with rte_atomic_xxx. -- v2: 1. fix misspelling error in commit log and codes. 2. replace __atomic_xxx with rte_atomic_xxx. -- Dengdui Huang (5): net/hns3: fix sync mailbox failure forever net/hns3: refactor VF mailbox message struct net/hns3: refactor PF mailbox message struct net/hns3: refactor send mailbox function net/hns3: refactor handle mailbox function Jie Hai (1): net/hns3: use stdatomic API drivers/net/hns3/hns3_cmd.c | 25 +-- drivers/net/hns3/hns3_dcb.c | 3 +- drivers/net/hns3/hns3_ethdev.c | 53 ++++--- drivers/net/hns3/hns3_ethdev.h | 12 +- drivers/net/hns3/hns3_ethdev_vf.c | 237 +++++++++++++++------------- drivers/net/hns3/hns3_intr.c | 39 +++-- drivers/net/hns3/hns3_mbx.c | 251 +++++++++++++----------------- drivers/net/hns3/hns3_mbx.h | 104 +++++++++---- drivers/net/hns3/hns3_mp.c | 9 +- drivers/net/hns3/hns3_rxtx.c | 33 ++-- drivers/net/hns3/hns3_tm.c | 6 +- 11 files changed, 421 insertions(+), 351 deletions(-)
Comments
On 11/10/2023 6:13 AM, Jie Hai wrote: > This patchset fixes the failure on sync mailbox and > refactors some codes on mailbox, also replace gcc > builtin __atomic_xxx with rte_atomic_xxx. > > -- > v2: > 1. fix misspelling error in commit log and codes. > 2. replace __atomic_xxx with rte_atomic_xxx. > > -- > > Dengdui Huang (5): > net/hns3: fix sync mailbox failure forever > net/hns3: refactor VF mailbox message struct > net/hns3: refactor PF mailbox message struct > net/hns3: refactor send mailbox function > net/hns3: refactor handle mailbox function > > Jie Hai (1): > net/hns3: use stdatomic API > Hi Jie, I still believe this set is a big update for -rc3, I proceeded based on your request with the ask to test it thoroughly, but new version doesn't even compiles, which doesn't gives confidence about the set. As most of the code is refactoring, lets postpone it to next release. Please send the fix, first patch, as separate patch and only merge that one for this release.