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 12D84426D6; Sat, 7 Oct 2023 04:53:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E7FB3402BF; Sat, 7 Oct 2023 04:53:11 +0200 (CEST) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id 273B2402A7 for ; Sat, 7 Oct 2023 04:53:11 +0200 (CEST) Received: from dggpeml100024.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4S2VCg1zPQz1P7kW; Sat, 7 Oct 2023 10:50:39 +0800 (CST) Received: from [10.67.121.161] (10.67.121.161) by dggpeml100024.china.huawei.com (7.185.36.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Sat, 7 Oct 2023 10:53:06 +0800 Subject: Re: [PATCH 01/14] drivers: remove duplicated PCI master control To: David Marchand , CC: , , , , Anatoly Burakov , Dongdong Liu , Yisen Zhuang , Jiawen Wu References: <20230803075038.307012-1-david.marchand@redhat.com> <20230803075038.307012-2-david.marchand@redhat.com> From: fengchengwen Message-ID: <0bf9b8fe-4dbd-8878-fa03-44c25f493771@huawei.com> Date: Sat, 7 Oct 2023 10:53:06 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20230803075038.307012-2-david.marchand@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.121.161] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml100024.china.huawei.com (7.185.36.115) 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 Acked-by: Chengwen Feng On 2023/8/3 15:50, David Marchand wrote: > Use existing API to cleanup duplicated code. > > Signed-off-by: David Marchand > --- > drivers/bus/pci/linux/pci_uio.c | 32 +---------------------- > drivers/bus/pci/linux/pci_vfio.c | 41 ++---------------------------- > drivers/net/hns3/hns3_ethdev_vf.c | 25 +----------------- > drivers/net/ngbe/base/ngbe_hw.c | 20 ++------------- > drivers/net/ngbe/base/ngbe_osdep.h | 3 --- > 5 files changed, 6 insertions(+), 115 deletions(-) > ...