From patchwork Mon May 29 13:09:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongdong Liu X-Patchwork-Id: 127675 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 115D642BD3; Mon, 29 May 2023 15:13:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5913C42D94; Mon, 29 May 2023 15:12:30 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id 19D5B42D42; Mon, 29 May 2023 15:12:27 +0200 (CEST) Received: from kwepemi500017.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4QVG7k6LVjzLncg; Mon, 29 May 2023 21:09:06 +0800 (CST) Received: from localhost.localdomain (10.28.79.22) by kwepemi500017.china.huawei.com (7.221.188.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 29 May 2023 21:12:04 +0800 From: Dongdong Liu To: , , , , CC: , , , , Subject: [PATCH 00/11] net/hns3: add some bugfixes for hns3 Date: Mon, 29 May 2023 21:09:29 +0800 Message-ID: <20230529130940.1501-1-liudongdong3@huawei.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-Originating-IP: [10.28.79.22] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemi500017.china.huawei.com (7.221.188.110) X-CFilter-Loop: Reflected 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 This patchset contains some bugfixes for hns3 pmd. Chengwen Feng (3): net/hns3: fix mbuf leak when start rxq in resetting net/hns3: fix mbuf leak when start rxq after resetting net/hns3: fix no errcode returned when failed to init queue Dengdui Huang (3): net/hns3: make code more clean net/hns3: fix inaccurate log net/hns3: remove log redundant line break Huisong Li (4): net/hns3: fix uninitialized RTC time net/hns3: fix unenabled RTC time after reset net/hns3: add the uninitialization process of PTP net/hns3: extract a PTP header file Jie Hai (1): net/hns3: fix uninitialized variable drivers/net/hns3/hns3_ethdev.c | 23 ++++++----- drivers/net/hns3/hns3_ethdev.h | 16 -------- drivers/net/hns3/hns3_ethdev_vf.c | 4 +- drivers/net/hns3/hns3_flow.c | 5 ++- drivers/net/hns3/hns3_ptp.c | 63 +++++++++++++++++++++---------- drivers/net/hns3/hns3_ptp.h | 48 +++++++++++++++++++++++ drivers/net/hns3/hns3_regs.c | 3 +- drivers/net/hns3/hns3_regs.h | 23 ----------- drivers/net/hns3/hns3_rxtx.c | 47 ++++++++++++++++++----- 9 files changed, 151 insertions(+), 81 deletions(-) create mode 100644 drivers/net/hns3/hns3_ptp.h --- 2.22.0