[0/9] code optimization for hns3 PMD
Message ID | 20211102031729.35536-1-humin29@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 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 <dev@dpdk.org>; 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)" <humin29@huawei.com> To: <dev@dpdk.org> CC: <ferruh.yigit@intel.com>, <thomas@monjalon.net> 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 <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 Sender: "dev" <dev-bounces@dpdk.org> |
Message
humin (Q)
Nov. 2, 2021, 3:17 a.m. UTC
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