From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0083.outbound.protection.outlook.com [104.47.36.83]) by dpdk.org (Postfix) with ESMTP id BA96A5921 for ; Fri, 16 Sep 2016 06:32:23 +0200 (CEST) Received: from BN3PR0301CA0016.namprd03.prod.outlook.com (10.160.180.154) by BY2PR0301MB2005.namprd03.prod.outlook.com (10.163.196.27) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.619.10; Fri, 16 Sep 2016 04:32:22 +0000 Received: from BL2FFO11FD006.protection.gbl (2a01:111:f400:7c09::121) by BN3PR0301CA0016.outlook.office365.com (2a01:111:e400:4000::26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.619.10 via Frontend Transport; Fri, 16 Sep 2016 04:32:23 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; 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 BL2FFO11FD006.mail.protection.outlook.com (10.173.161.2) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.619.6 via Frontend Transport; Fri, 16 Sep 2016 04:32:21 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.87]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u8G4Trfm029256; Thu, 15 Sep 2016 21:32:18 -0700 From: Shreyansh Jain To: CC: , David Marchand , , Thomas Monjalon , Shreyansh Jain Date: Fri, 16 Sep 2016 09:59:41 +0530 Message-ID: <1474000200-16705-7-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474000200-16705-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1474000200-16705-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131184739417365511; (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)(189998001)(2351001)(104016004)(586003)(81156014)(19580395003)(87936001)(5003940100001)(50466002)(50226002)(5660300001)(86362001)(92566002)(85426001)(19580405001)(110136003)(575784001)(48376002)(8676002)(8936002)(81166006)(77096005)(2950100001)(626004)(229853001)(97736004)(8666005)(106466001)(36756003)(50986999)(76176999)(33646002)(105606002)(7846002)(305945005)(2906002)(4326007)(47776003)(356003)(68736007)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB2005; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD006; 1:hEGlNE75KLAqf9lJrrggPglinL0GcYbLandqob/umIXWtpRY51Vi8ze78N0jsJKjngrMbmsq/mikyY2U/S7yEzHL9BHvzWwiGxbDO1bZj2Kdh+YELBozJzBp3MeZnwplNK1uKSH2vg4TsSfx1tvh8DeFDUEenVgzzQsnxCA2D6MxPHzacjC8Br6Z6WWbnjNidjdbrI0WMFFgLVl+hL2IGYHEyj9Qey78TviwG2TAn8jFgSSuS8u886P2F08bj8ygR+N/X8dzpL5NF/6+w8lEnPa5Jd0bFUhTKVBO2ewqa3DEnsCmAyh8ibWwenNXPvc78aquVSnfDXBPiUioEONk2+NzapfDBZnn1LEAWm1yO6jNVePHEyNVBiOhlYlYWnYIsFPZjlRvimB0uk00+mchi/bwdD6ecAyznMON6PZBEmR6xz2HEpmUKP4JhURsPs5rtfBp2H7zniKLv4beNt0r7UmI/Dsfv4E+lVgTWUewenQp3dmq6K0HPEf2eRZXSJPcLOVi0/fyFnMegHKE6rWmqRAAeu4yzZs/Dy/8ygPq/pTwVbgF3MdZhI1TYNof4CLDBXtR4jQUN6ku2WkQ7K9bT0N6PIhvZp64L38RtMwAeuBHs+B7kJgOZQ15qfX6DE12KnX6FtBVI4Kq7ICCJjEc8OZhc1TsmHZf1diNu1rok8JR4mwAM0wbUhPyHO5+s4bZfbdOpbmPgZ5LpCZSSwzH3OyxO1sJ0cw5paMVBiKXvOY= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 3ee1c0ed-c42c-4dce-9c07-08d3ddea7363 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB2005; 2:6Vv+E7ojGW7Uec2J2C+zI+pht/ZdbMds4vrUuEbr/Ley69VuA5dbWQ9As40swkf2MW9gqi2W053xGLc9d7+qCqDQ4D54WKxMafzkGk4A8xtRmlgRcOL8e1IgxrGvJozl9DMwRrOVUtjTEcc+YPnwpbtsRTai/dZdyx4WJuTDy1cVgafSV6FiO1M3w2LLXFK4; 3:/MVPJEJhumqkzdJKaaVUsAjLyZHs2qedSXCPmzYxWtr7ZDU6JN2nFAgZXGbYxf+cw7WnZS1il2jj/oCjXeMqBO3t/dZ5uUX14B+UYZxwLtGnNhouvY07fT4X3vZD28cDmu8uzGtxxXD/h4b0TcBbZxp/pb5OnqCa0nyeMDUzwM5UAfmufzTXF8N2p3WY1m0QrxghWkEPP27aE9cBAPbJZtfbPV9tUt05ruyc3g3SMyA= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB2005; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB2005; 25:3mNLOMxGqvx8AGQxj5vjM5qrP5XLO0Xzs62CEQ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AfQOR/8WMLBe4ye3o4i6w7Y+x/9Z7P7JI4OqOiqxyHBNjmNry0Ms4ZkOS+Uqjiuy8HqdVc7Vzfz6lFdW8gdt0efI3HmDRn44GL3HDC9n2XB5PeKcqOXHwBRasUiVUDWqj21iKxmxRP7PiUbWL+dGPR6rieVuYO8xuq8qXIytpMhmyHyrGACpMYQk6+EhQov2CktP38a0w1eefwPYdl9F2YGChTiRNSyNz5snz0j673VpbO94FpO5/pPawRjLVLAqJsfTaDPNFAa+hsNZPgtowBNjOyfulUwdGqJydL/oDIUFeyMZS4U3b36lZ+nGnZQ4B6HSsmMJZ2EvHEJPcY6rfNsfAZ2XdqzZYEp3v3hfbS2/QpnwoYCI1OA5hI1BonpSi4M93rXgnDHOJ/RjwiQZ18TWtuBO9OSh/2RaQc/Fqo2wemHQ5LIVKGn+P2cTLyVi2ZUDJy6sLrVK8m9MlPMGUWfHhGXqHYxGQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13017025)(5005006)(8121501046)(13015025)(13024025)(13023025)(13018025)(10201501046)(3002001)(6055026); SRVR:BY2PR0301MB2005; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB2005; X-Forefront-PRVS: 0067A8BA2A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB2005; 23:lXNjigN7LHSinlHNHNtjorbvMbe2Y7XCdNvCr6o?= =?us-ascii?Q?GZNKRKHxJB5fg9BRz6nDfkFXTfji1FvEyHXc5LU0EI1WAyjZcQCWL0NsA0cM?= =?us-ascii?Q?UNM9h8lhlJMRinS2MpDvsuhs2W1zDDHzSm1HZaEpDt8YARlPr5joz6cvPJiI?= =?us-ascii?Q?lTVeyf43ijKcfpQKqvCHZvi61ia1/cYPcOkRIeeCRWmecm7y4PDWy8SCIH7x?= =?us-ascii?Q?Gc9lQ8gP9Cs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y+3b9pjMO?= =?us-ascii?Q?pnhmHz1BSsReaVutaSYT3IvoDn1pPTlkbzD/AWIpCGuGkXXnZwHWKHA=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB2005; 6:sDPPt3Js8oK0lNcuVN68tBafIeTe1giDinxnH6DwKZc/TqV1KNsIvjw/oebDwPTJQXBvSBWpkcD0+AvY8UuOfDsMduLqL4Y5FdmU16+YY+HfyVsfdDuFoy9/TDvuEmkRM5bfo2KNDMq07REdZeRih3MT0LWrTrttiZmDWYdbgaX7GdxC/zVMYD2QhaRtH/BR1YbijK8LG07nizuXLY3rElWrLus1WUC6G5eNqZEdGAk/LkLhfJJWOyYWTURSdazPMDyibYUV3CQPXLw4ldXhIT8wC24a149jkzkNH9Mrye8=; 5:zQ1pYvzfXPHbqSlsWXQeB4vlakiellJxLvoQCtqib1Asq30aH5HDRetYzWT5Y9g9rXPeX+kiOJpd00ye6ImMcgwLmWusShgblXpFZaUY4dSKX41lvsJqbbXQsqrCIrP5DhxULnylI3y8OQx2I80OY1IQM9sa2gqSiAjTqMBzJ3g=; 24:hI9beT0r6aSwBLJOxdl//Zzwj2rq/2v5D9o7WljER2HWWckY07elswcfvr0VjOMxtFXLsq/2tPbVlbFy5YMyiQMYkSB1LTmW78M/ScSvKPM=; 7:2dQYjN06tPX5SFnvWOOKQQRSYPZa3ZDSCAh547gxWYJ738cm/tvL0tRPk6GS/+rmkufQrT5ILlfiDdYR2l83adBAeY3QQPOO8iT8neK4dDE+RH3Ru1tHkvZkcW3y74coLD2qALFpFLe78Fg9SxqKzG0O7TXMlGcYc1PaRd5kGrH7IPbt+5SwBJoqXaz0IQBsqSdFgR4W5tMebeEHWjL3YSZNChNBLQyN8CN7MtCYoSXuIJAj+OiHex01r8uo2Pfu SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2016 04:32:21.5649 (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: BY2PR0301MB2005 Subject: [dpdk-dev] [PATCH v10 06/25] 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: Fri, 16 Sep 2016 04:32:24 -0000 From: David Marchand 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