From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0053.outbound.protection.outlook.com [104.47.36.53]) by dpdk.org (Postfix) with ESMTP id 8F4893989 for ; Tue, 12 Jul 2016 08:01:13 +0200 (CEST) Received: from BY2PR03CA060.namprd03.prod.outlook.com (10.141.249.33) by BY2PR0301MB1992.namprd03.prod.outlook.com (10.163.196.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16; Tue, 12 Jul 2016 06:01:11 +0000 Received: from BY2FFO11FD046.protection.gbl (2a01:111:f400:7c0c::183) by BY2PR03CA060.outlook.office365.com (2a01:111:e400:2c5d::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16 via Frontend Transport; Tue, 12 Jul 2016 06:01:11 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD046.mail.protection.outlook.com (10.1.15.170) with Microsoft SMTP Server (TLS) id 15.1.523.9 via Frontend Transport; Tue, 12 Jul 2016 06:01:10 +0000 Received: from Tophie.ap.freescale.net (Tophie.ap.freescale.net [10.232.14.199]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u6C60qWb006202; Mon, 11 Jul 2016 23:01:08 -0700 From: Shreyansh Jain To: CC: , , Date: Tue, 12 Jul 2016 11:31:08 +0530 Message-ID: <1468303282-2806-4-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1468303282-2806-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1468303282-2806-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131127768706068568; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(68736007)(2906002)(6806005)(104016004)(47776003)(36756003)(97736004)(85426001)(5003940100001)(106466001)(92566002)(2351001)(105606002)(33646002)(586003)(76176999)(50986999)(11100500001)(305945005)(8676002)(81156014)(81166006)(19580395003)(19580405001)(77096005)(8936002)(48376002)(50466002)(7846002)(87936001)(110136002)(229853001)(356003)(86362001)(575784001)(50226002)(4326007)(2950100001)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB1992; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD046; 1:N80ZZsLwjf7UWvzX261ozd1aZSmFJgHPT1tLi0H5o/aWY4ffsF6T4foyT95QcBZniZ8BGhA9ZHxmuuwWuM2vXHDBfyHCxHAHAlg0v+zsl11GnLw6MY3ceWjpRlWmkenxuwnT8jeGuygu5ZoI4LUVZn5yxDKq7b5HyB82FbPK7LDjYg3Xc2BTCuRctWbHUJ1UUEPidtF4lW+SMnl3V93p7jv+ETjfkSmb75Y/TRupCdLDR1uAOAKSTysMYRnZ1FWm5cMzyWhXOm3J9bHpMdghOBf+XIrPJW4bW4m6SBgq4LBNhh15Xo+ws9qZaRaumQuXQTnfeNHi4JRPRs0E3VWtEKthR4Stkf0+NMDba8XzbB9GMKPfk+V7IB59LKskQTxnqFx8B95/vstJzm3j1UUwL4xG0bioGQiI7h5/xewmNdgQzdyH0B/sPvZKZhOOeaLfzKRdJ7i1a4UZ2vrvICTIHp4ctPb0upMBE+GiYmFCOmeb5I7TIaZ/U0+ntjPCEyiR2so9fjHHDxxmXnLcUUKUC2c4hyVWFR6eWDWQEda+jig5zBhZe3gPYmfw34N8h9fhehUwYju+GQwwPxyLNEoNOwoIX/geuc1pHvZYH+x+7APpm+kyGiF3FJX5oG70EK5s MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 43fcac3a-e5bf-4caf-3058-08d3aa19ec61 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1992; 2:vqBcvTFUUstz3z956lycc9yzanWkpXE6nFvRRAsFqJXYbxm1dPrpHOoYRLa5CltqFdveap59tsnYz2+JSym/uh/ni4VgR7DhLsoNM2djFixfUOG0OFGY58PWFOjFyMypx3ZxPcCH3KxQVsUDGJ2QHkbeOMNjmTvQegpDsIv+PfVSHvDV/qnzLptb/3Yvioyn; 3:S1EHS63p3G+yHZvSAD5YFki97IkeuKliVL81zPMoMIez/Cdfhs+wo0nagmHcRjgMdv3Rej/G5HqoI3W9pzOVpI3lU+vpXqUc4Wt+TFYoKYsjWi5oA9Fsq0y4r93Y6Gl4zXxob2yrJpR3BpjWLEFaBhAndg0xR8Qy5HgI1QZ3Fknu32yTXYi5/WyqjfVwa4UpkMQJrud7b/yvkjYKCDlP+KAK2OsbKCRxm4m0JBA3Tfk=; 25:BDlX+1dr0agOirJwrdfk9TXicgUCJM9NAj5a+dXqKAK9H1hLFUzitTZTjhu2rMNnrJPQyvMJxfSnw1rv84yydtW1Lm4yq2/9Jo+wOofBE4VGJiY58d+SrMU7NaVGf/EMfdBsYDTBZhTWhmj4TsAN6tNU78K7AvVwkNjiGuyq8Tl/PPkHHZbzV6LAxm+gDfo1NGBnVMSm7zinhe/NcQ9IKTzytkhADicc9ia5oFlBk6Bjny/JHLija0mneX6g1hnPR7Su/6MoT+Wka4fZr2BMxue2haezYgMl7i9lHVGSdpjqci17phSfiyO1xg+bwFtnNTUr/eEo2w5GVtM+mlqXLPcWpzB4TWedur0w0rkX0XNTO0Ez0LUh8Td8KOKnMNdsXOucTqT3YHD31WF/X8smkjctH1OIsZpDNaJn3+S3vCQ= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB1992; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1992; 31:+iflhAqDDsZbbKBbDxlHXFToxLd4MzXjzrM68rz0PEJJb3ne8Ne7MpgqdHI4pO6qB0VMAM8eoitIiwK93oa4i6iMpy5b52/obOx1vQhzyBoUfRCZDHuE3NkwLxK2tJ2EhQ4Q620ZxZRKbiy7SuxZl43S2xpYK4FqCE06Tu4NdcZBnFl3/l5D7iTn0Qb2tBz9pAqioGixaTCJveYEujGd1w==; 4:2X7b3xCpwsUNuP5ChFryXNEOOV7cxdBPOokdbo03FkIhgH6Di62OnqOE+4CGkjLwht1srbeNPopsjGe2zf3q2OWE7NqSPRfYe8eSplJR+zVQC2RhwxUsuSoSOiT9SDPu0lynMkOVN+AL5E3KIQ8eZvcAwasqCre22XgG8MV2l98B7XsnT6IGku0G8J32GmOqZV3WuxtbKBB20MgS/DAP4u+TXLFY7MWjvwrDNm6qXOTJYUmIOAlE5nu/IfJHB5RxXv/uv9/hpbB5BTmqvYjqh/uVunBAmJXslSXJZYAjQ+grdB+Nz0DCVLYUkASE8T20Kz+SK1qyPaMoF9CY+AR1HeyOutU6QKle3Fz9v8124RTdRvoy7pkztqqG6hv7aZPKaLMLPRcaGUW2jdNXkz6kDhHoXjj7KqtgPEh7y9wOYZWiCsyazVKGacqFu3H8Xl/SSHIeZuuUHin7UXVKaXfKHJrsfC5baDsf0ArRsZoCEtfd4Uz3sfnVcQbG582oRqEuy3uyMBBBOQeGN+2E9mKxCQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13015025)(13017025)(13018025)(13024025)(13023025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:BY2PR0301MB1992; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB1992; X-Forefront-PRVS: 0001227049 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB1992; 23:yJLpa0/9nPvdS0aVNTP8ZujinXEjXdcPSWQb2rF?= =?us-ascii?Q?EjOixOF1tsazFDL3x7X2XbzxUsAFLkKfR7UX1sAIQhZDl6vdCOQNXfe9jmr/?= =?us-ascii?Q?vEJDDxrb3m9e3w6tkyr1GyjyvjJn4cY5PRJ8LstV1sKuys6iLwUI5Osal/qA?= =?us-ascii?Q?U1oIBVKHUH3byCcwhYl6hzHqtAdS5P7zw7h/LwHudkgJ9HClWMTNxWjv9DPf?= =?us-ascii?Q?uf5Fv1P/8Ndzbl/EH1Nhuee1zJomgiOUs02qCKDQ5PumqYtTreaN/Fs0/lZm?= =?us-ascii?Q?i5Hq5erVRA1t0Y2RA6nrffr/Y7aJ45aUXLZrUsXTI7CPAywKO1OXthmTUZN0?= =?us-ascii?Q?bwDNCegFJWIxYvPc7GpPDDxl81CzdKxl2lMV4T9evyiu2e/8/a/BHkUt5YDa?= =?us-ascii?Q?LmeUsul1Rv067XYbFDb2i2sYokUQ8+1PdsiRu6B85Yg9pLxnHKHrMY2hRLAv?= =?us-ascii?Q?US7hIo+FoLA2nGjxN5tKSeznyB+FgLtFmwdvuDO7ciRujfD1J+1uJp5RfNwI?= =?us-ascii?Q?+yL2r7aDku2nuGK0v9Zg5uSwGFa8L7YCPfTTZ4skAYEkZUpkUia3pzRepBaz?= =?us-ascii?Q?bt/SMz8810IaHKMJlVtKkjtbv+YWzT6GqBiPlOiYEQq/fZnM3DnZFl4gwWQ0?= =?us-ascii?Q?ojnsGu1EKfvW+NDgG9Ay7IYgM+APpxJLMPtw6FHEnibmsQk/owoW2Nvt4/mh?= =?us-ascii?Q?u2To1Cf6RLtmaoHK43mqbEG0z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XcagndkoBj037Dw4Q3s8POc3CzST3Qr3LEf4lYiCLr7U8ZstNTgDDbJ4lygsH7I=; 7:pOvzAwiXy31rmBYZA2RRTn1l9ZZOxf9Q6tadyEEOThY8LRMyzkEDb7s/UEYjFmgDQwH5SryMOdnhbrIbNfVUg7BPUzDHUA6XNG7KZWMD/Ehh9ak2dJ/uniHLQS3aLCCFA1LKQxGvQqIxb8cvnTuFy5SwkaWPcxZ3lGy+xmeeDTWEJ31pAGLud9MOatsZMhdOZ86SvSpEMs9+gksiDQX4oRZQYtmFCm+9kMc1C11P4HWrMfCRwDYZQ+trchaCyp09 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2016 06:01:10.4040 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB1992 Subject: [dpdk-dev] [PATCH v6 03/17] drivers: align pci driver definitions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2016 06:01:14 -0000 Pure coding style, but it might make it easier later if we want to move fields in rte_cryptodev_driver and eth_driver structures. Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain --- drivers/crypto/qat/rte_qat_cryptodev.c | 2 +- drivers/net/ena/ena_ethdev.c | 2 +- drivers/net/nfp/nfp_net.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/qat/rte_qat_cryptodev.c b/drivers/crypto/qat/rte_qat_cryptodev.c index 82ab047..1e9e0ba 100644 --- a/drivers/crypto/qat/rte_qat_cryptodev.c +++ b/drivers/crypto/qat/rte_qat_cryptodev.c @@ -113,7 +113,7 @@ crypto_qat_dev_init(__attribute__((unused)) struct rte_cryptodev_driver *crypto_ } static struct rte_cryptodev_driver rte_qat_pmd = { - { + .pci_drv = { .id_table = pci_id_qat_map, .drv_flags = RTE_PCI_DRV_NEED_MAPPING, }, diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c index ac0803d..9418d50 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -1685,7 +1685,7 @@ static uint16_t eth_ena_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, } static struct eth_driver rte_ena_pmd = { - { + .pci_drv = { .name = "rte_ena_pmd", .id_table = pci_id_ena_map, .drv_flags = RTE_PCI_DRV_NEED_MAPPING, diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index 82e3e4e..99a258a 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -2459,7 +2459,7 @@ static struct rte_pci_id pci_id_nfp_net_map[] = { }; static struct eth_driver rte_nfp_net_pmd = { - { + .pci_drv = { .name = "rte_nfp_net_pmd", .id_table = pci_id_nfp_net_map, .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC | -- 2.7.4