From patchwork Sat Feb 11 09:18:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongdong Liu X-Patchwork-Id: 123715 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 D863C41C6B; Sat, 11 Feb 2023 10:19:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 69A7D410EA; Sat, 11 Feb 2023 10:19:15 +0100 (CET) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id A6BEB40E03; Sat, 11 Feb 2023 10:19:13 +0100 (CET) Received: from kwepemi500017.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4PDQ3C4R1HznVNR; Sat, 11 Feb 2023 17:16:55 +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.2375.34; Sat, 11 Feb 2023 17:19:11 +0800 From: Dongdong Liu To: , , , CC: , , , Subject: [PATCH 0/6] net/hns3: some code optimization for Rx/Tx function Date: Sat, 11 Feb 2023 17:18:24 +0800 Message-ID: <20230211091830.3494-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: dggems704-chm.china.huawei.com (10.3.19.181) 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 is to do some code optimization for Rx/Tx function. Huisong Li (6): net/hns3: fix querying dummy function failed net/hns3: add debug info for Rx/Tx dummy function net/hns3: remove debug condition for Tx prepare net/hns3: separate tx prepare from getting Tx function net/hns3: remove getting Tx function from head file net/hns3: extract common functions to set Rx/Tx drivers/net/hns3/hns3_ethdev.c | 20 ++---- drivers/net/hns3/hns3_ethdev_vf.c | 19 ++---- drivers/net/hns3/hns3_mp.c | 4 +- drivers/net/hns3/hns3_rxtx.c | 108 ++++++++++++++++++------------ drivers/net/hns3/hns3_rxtx.h | 5 +- 5 files changed, 79 insertions(+), 77 deletions(-) --- 2.22.0