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 C4771A0C4D; Tue, 2 Nov 2021 04:20:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 41EBB41137; Tue, 2 Nov 2021 04:19: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 60DD841100 for ; Tue, 2 Nov 2021 04:19:32 +0100 (CET) Received: from dggeme756-chm.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Hjw7S0QQRz1DHvp; Tue, 2 Nov 2021 11:17:24 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by dggeme756-chm.china.huawei.com (10.3.19.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.15; Tue, 2 Nov 2021 11:19:26 +0800 From: "Min Hu (Connor)" To: CC: , Date: Tue, 2 Nov 2021 11:17:20 +0800 Message-ID: <20211102031729.35536-1-humin29@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggeme756-chm.china.huawei.com (10.3.19.102) X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH 0/9] code optimization for hns3 PMD 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 Sender: "dev" This patch set contains refactor patches and code check patches. Chengwen Feng (1): net/hns3: remove PF/VF duplicate code Huisong Li (7): net/hns3: fix the shift of DMA address in Rx/Tx queue net/hns3: remove a redundant function declaration net/hns3: modifying code alignment net/hns3: use unsigned integer for bitwise operations net/hns3: extract a common file net/hns3: remove magic numbers net/hns3: fix the return value of the function Min Hu (Connor) (1): net/hns3: add hns3 flow header file drivers/net/hns3/hns3_cmd.c | 2 +- drivers/net/hns3/hns3_common.c | 762 ++++++++++++++++++++++++++++++ drivers/net/hns3/hns3_common.h | 61 +++ drivers/net/hns3/hns3_ethdev.c | 748 +---------------------------- drivers/net/hns3/hns3_ethdev.h | 47 +- drivers/net/hns3/hns3_ethdev_vf.c | 327 +------------ drivers/net/hns3/hns3_fdir.h | 31 -- drivers/net/hns3/hns3_flow.c | 1 + drivers/net/hns3/hns3_flow.h | 44 ++ drivers/net/hns3/hns3_intr.c | 2 +- drivers/net/hns3/hns3_mbx.c | 2 +- drivers/net/hns3/hns3_rxtx.c | 8 +- drivers/net/hns3/hns3_rxtx.h | 1 - drivers/net/hns3/hns3_tm.c | 2 +- drivers/net/hns3/meson.build | 1 + 15 files changed, 901 insertions(+), 1138 deletions(-) create mode 100644 drivers/net/hns3/hns3_common.c create mode 100644 drivers/net/hns3/hns3_common.h create mode 100644 drivers/net/hns3/hns3_flow.h -- 2.33.0