From patchwork Thu Aug 10 12:21:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowrishankar Muthukrishnan X-Patchwork-Id: 130080 X-Patchwork-Delegate: thomas@monjalon.net 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 009B043026; Thu, 10 Aug 2023 14:21:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09FC143257; Thu, 10 Aug 2023 14:21:29 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 9041043267 for ; Thu, 10 Aug 2023 14:21:27 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37A8YKX9021020; Thu, 10 Aug 2023 05:21:27 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=jOjjt8k+PqnaoZx2/o0xh+wugISSoYF2/ipOgxNa42o=; b=Gsiw5meMtEg0sw7UnKuvF/3Zs2IyTPzLpPWK7o3g47pEJJk3Q7Iq22XhJlELBwtqkTfz 9UQIdY/tKwa6/N8bRhhrHvQ/OzZ+cMp/dTGlHbmXdDrnNz5Yn0BVsqiDbO7ExgnbZyLj KLNgIl+zUYFfnVmYNm+ezP+jKMn6v0ZOiEhax7reN8ivJRMpcoBWO674lc/EkNS9/QYC PvvzFlOS/jbdR7aBkz63c4JeUPtfx9Xurxp/enoQybpfhnvZNZJ5lpxzi/y4CXl2fT+A 0ici+B9RTzseA3Oq/hTSbzKTnxxIcMu+PBe6zssbXFKD26Rrb0IzyO/5rRwo3LJmCNJC tA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3scj5makkm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 10 Aug 2023 05:21:26 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 10 Aug 2023 05:21:25 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 10 Aug 2023 05:21:25 -0700 Received: from BG-LT91401.marvell.com (BG-LT91401.marvell.com [10.28.168.34]) by maili.marvell.com (Postfix) with ESMTP id E82103F70AF; Thu, 10 Aug 2023 05:21:22 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: , Chengwen Feng , "Vamsi Attunuru" , Gowrishankar Muthukrishnan Subject: [PATCH 3/4] dma/cnxk: update PCI driver name Date: Thu, 10 Aug 2023 17:51:10 +0530 Message-ID: <20230810122111.2329-4-gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20230810122111.2329-1-gmuthukrishn@marvell.com> References: <20230810122111.2329-1-gmuthukrishn@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: QhigN63JaWxneaKcGeoq1cMK-MNi53w- X-Proofpoint-GUID: QhigN63JaWxneaKcGeoq1cMK-MNi53w- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-10_10,2023-08-10_01,2023-05-22_02 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 Follow PCI driver naming convention standard across drivers. Signed-off-by: Gowrishankar Muthukrishnan --- drivers/dma/cnxk/cnxk_dmadev.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/dma/cnxk/cnxk_dmadev.c b/drivers/dma/cnxk/cnxk_dmadev.c index a6f4a31e0e..8c5d1409b3 100644 --- a/drivers/dma/cnxk/cnxk_dmadev.c +++ b/drivers/dma/cnxk/cnxk_dmadev.c @@ -17,6 +17,8 @@ #include #include +#define PCI_DRIVER_NAME dma_cnxk + static int cnxk_dmadev_info_get(const struct rte_dma_dev *dev, struct rte_dma_info *dev_info, uint32_t size) @@ -719,6 +721,6 @@ static struct rte_pci_driver cnxk_dmadev = { .remove = cnxk_dmadev_remove, }; -RTE_PMD_REGISTER_PCI(cnxk_dmadev_pci_driver, cnxk_dmadev); -RTE_PMD_REGISTER_PCI_TABLE(cnxk_dmadev_pci_driver, cnxk_dma_pci_map); -RTE_PMD_REGISTER_KMOD_DEP(cnxk_dmadev_pci_driver, "vfio-pci"); +RTE_PMD_REGISTER_PCI(PCI_DRIVER_NAME, cnxk_dmadev); +RTE_PMD_REGISTER_PCI_TABLE(PCI_DRIVER_NAME, cnxk_dma_pci_map); +RTE_PMD_REGISTER_KMOD_DEP(PCI_DRIVER_NAME, "vfio-pci");