From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0083.outbound.protection.outlook.com [104.47.40.83]) by dpdk.org (Postfix) with ESMTP id 318615A43 for ; Fri, 26 Aug 2016 15:57:43 +0200 (CEST) Received: from BLUPR0301CA0014.namprd03.prod.outlook.com (10.162.113.152) by BY2PR03MB1878.namprd03.prod.outlook.com (10.164.114.18) with Microsoft SMTP Server (TLS) id 15.1.466.19; Fri, 26 Aug 2016 13:57:39 +0000 Received: from BY2FFO11OLC008.protection.gbl (2a01:111:f400:7c0c::122) by BLUPR0301CA0014.outlook.office365.com (2a01:111:e400:5259::24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9 via Frontend Transport; Fri, 26 Aug 2016 13:57:39 +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 BY2FFO11OLC008.mail.protection.outlook.com (10.1.14.255) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Fri, 26 Aug 2016 13:57:39 +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 u7QDvHpg023630; Fri, 26 Aug 2016 06:57:36 -0700 From: Shreyansh Jain To: CC: , , , , Shreyansh Jain Date: Fri, 26 Aug 2016 19:26:43 +0530 Message-ID: <1472219823-29486-6-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1472219823-29486-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1472219823-29486-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131166934600769346; (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)(1110001)(1109001)(339900001)(199003)(189002)(86362001)(87936001)(575784001)(110136002)(85426001)(76176999)(77096005)(81156014)(33646002)(8676002)(8666005)(50986999)(4326007)(97736004)(106466001)(81166006)(48376002)(92566002)(5003940100001)(2906002)(7846002)(189998001)(36756003)(105606002)(104016004)(2950100001)(229853001)(586003)(47776003)(8936002)(50466002)(305945005)(356003)(5660300001)(50226002)(11100500001)(19580395003)(2351001)(626004)(19580405001)(68736007)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB1878; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC008; 1:lvFNWTYLfd1YT6xJSzGNk+89BMGnxH/lzteX8G//m/MJafaLXABGtW8c5Zj0P6WT7OPiQ3qS2SJo7XyeQsZlvcT/mW/IkfRvgsbBBwd1xcgNSP35a1k5RtUKVQZvBgocDiF/08O+YYkuYLlarkf2bpi3SE0xHCIVGcX51vkHDIvXpcn/itqC6n8v0LykGsavQ6p2ZFoVZkkgZScpb4fFzSnSPQa/BuPrJzeNMedQTXLqhLF+ihCMuvCp7GdWw11VvZ/CyA0E7OjdnB21DpJLQCaScMT10vWlVTFKQsXA9fncixkmP2A23lA46lnFFZf+YReJA/2PfL/zMiwDVvUXKVqZWTw4uRkggqj1LfcoHU0BJmbtkLzMLL9aHOEB48JhxufKLKTosHkYD5KsBLYNCMlqu/tKKizeFOa9dPjMVBn5ROIraJBUkuPeOgV8dMCnE+D8mw168tTsix4wNb/hc8j3u0gPE4injhYScwiIgFUhewL/fdQUiB4Y7MVkSIS/gAMJv7lbbrnxwcoYTXCiEXXzEc2aj3KeuBmEzW9yl9k7hskA4aO2upiVkTjfqCGMdCgHMCpGeYbpPNH8W3ZE7DC+Qtzy462FqfUdbekBu/Bdawx6763+2wv2mLkph/2MCmur7VhH0fry162dMoLb2Ltap+EZi6V8BRtGCRw7ga7xiBcac49tl0NPY+Xhl20/QYUZ5DXInHmNICHJVHHQqNfe/l3mq2/WGe/xovnQxu4= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 01598089-2edf-44f8-df42-08d3cdb8f19e X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1878; 2:rnYQwEorwGkS8xp+lj2TI9TEVDNle50mW9A2XopQfhCbSCsiPpArqnF0+MG0tcTo19EMmFi9Rc6BO9elhs8ATwrn2NHjOck4c+tOC2hziv3Wf+MPt3xlhViadc6JVmLZZ9qB+WmMjFPP5e5RwydpJES6EekZfwZ1HgiNdeQcYMiz+Mo5yFC6oXfAXnzYIAoo; 3:4qZ7WR5WvhMgFs4EGz1znq62MkGOivtbzRlLOfpLyV1p3JrleTzvw5QqAGIZIqki0nqJp+a0m88DuMnneuJsqpquVK1uYDIUBO8J/vc4PnN5CDfpaPFa1X8kXmtdcR8ix7qgz4fGs37jPSf3czC/W8YQ972h6fVFd53F/+vbxfJ3kBj/ltC7jVkf2BELYe3dNXdYpcr2qi+7O4rdxXgCO/HqBglfTpXAsnsFKrmTDeM= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB1878; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1878; 25:jIggNro+2RCGo+p0g1XjMuH0QMywgeiI08nMePPXOfO8ghjdZeX1D4qTsvEnjPnqPNX7NQCsQ8c/45FjDWWTzFdU5KYcwgVYEZiP0NYPj4J+A68a8iAUcCrh1puFtA69eJ1db3ePVcx4tI5Wl5dUf9BaBTbHvNL3u6zylpRnYMTz6JojSpQNGHBuQntCUv5PumdulBRi75z9d4aPYo1t+P/KMG7KsXbUDv6splzWeoFQ0b8IxTVA8vFOCFUBd0c/BnYAH4ViJ4ezhalIKJvw6GppKw0R1QaZtYjvQ1UShPjtydQMtVXUwAX7JUelZPc1AeiMswrttxbbi1wQ5z6M9SaMi3jqDwn8PFFsuI51t7ojyGZYPQc3ek/mP3S2jxEjzLc6kdeLACZ5cZy6uI/RJg+CsHgHQv3lsk+qkeckRmU3JHstiUjbh2ggda6QFeMxJfnD9HvH+7h9v256jdhFI2y6s+a/kxRJM2Bzvs67LkSDcc6cdjxi02i0dQAvd1KtRY5ytkNL4ELmExkjOvyRio/RbCKSUlAZqnniafkK03QOIMJvSFnKoU1EzEOTTltfcDPnXQovqukQ2n4/egUzmMTG0p+f8Ilsp2f3Duj63NZWT2lyGVtOTydDwMoo+kQ0 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)(13015025)(13017025)(13024025)(13018025)(13023025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:BY2PR03MB1878; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB1878; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1878; 4:UW9qZfjkO8u/60Vuff4XhjbsCRxXoOKa9dwOHZih7HqlqkoyGottBlHYL6amB23uDVQMBLFtf2IIuk70pV8EwmB1VJkrRpfNJ4mMxmVFEAwDrT0qCtlYrTQetbcL7OI16919DUcaus6qoKqAltm98n0mwDBPmuVrLxmhqipaBOq7mTdQxN+L2J92YSPUXMf+9hYBSkKAiQea9aBm9hr/Dp1uOChdJH41BmKnYHQB8/ysEFnQ9pzPKJd7bCrJ5+DuDNxkVGb3+0/nwdHtrS2fmPpQwfZtqvx5Rl+kHDUdIFngqC889zHzlT98uyPdOWoIXMEzKUAdt3Hc2UGxihN5U5XBoxyZCLKCpcI33Ux+1amaeNMMArqOT3+tu6CtYJ7bSPkt7LUs1KBBlsCMK13GpO4GljjwIAHtjB8CN4Xs3RGW3fYEFFWtsVGdfF1798g15QZ30dLGYu9AXjEmPxKrhi9pdXZvVbG68HC+CPiJA9vl5ZdnNAv24oEN9U+Os/4xWIT3i2E+fO7cW++PjrrbMIpO6/3hAmSDuYRxq80w9f0= X-Forefront-PRVS: 00462943DE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB1878; 23:HaXey8wFEw/6XcGYGo1lzob8w2lELpUKbhnSLx8Jh?= =?us-ascii?Q?nSQokUoiv/th01eZKIGxgN65t1n8N6YTt4UC73TafjE4mUuxVfUrm6A615d5?= =?us-ascii?Q?MNmDISr2RMZzeOV4SAoGDS5D0PGC1OkzFf5T8n9U2qeB/Y9NxnsxnjQHKKcT?= =?us-ascii?Q?no36bqk5YKljo5TWy2a0jBq56T6ZKfUmlRB9xs+tqyBUHJfEKhgan2HzPveT?= =?us-ascii?Q?OU2NMuTiwZBrrHwhL29stLWtObG9OdiKXkBn+QVYPqgGfQGiwNFiw8iCMNMD?= =?us-ascii?Q?SVJDLndTfbrukVUgIWejYikpipK/HjtSRqI7fctntnfO0uqAmjBFYlt7RPin?= =?us-ascii?Q?WgTBM66lQzdMyesMtUvZ7Sel19YPKkDG0fbK4CQgFtMxu4CX6OoNSDH5Fara?= =?us-ascii?Q?h6kBaNV+yvsZ1CY77rvakOUNegqjghslRCTh1X7Tg18BShseLAcWusP/3bHW?= =?us-ascii?Q?C311j3wZjVULxtnU8e0Fe9vJJQyqBPXy9Z5EcLoTCO45MD5lj3S+zNBasfol?= =?us-ascii?Q?7RB1Jw33ywO4rrWXfIEbfdM+eXmWy7u8r9fLxNaAs7Mc54KgNVxaqfECNE5m?= =?us-ascii?Q?7rCWMVYpmBNzSMxcWGqK2Twpzeu72fa26YyBNvNKN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oQ49O9Vhakis0pRjg7rU1HKnbq9Lf7PxVES7Ms+9Y7qemJYVppFRFvx52xKwvYqo=; 7:GM+Uve0ZXicRB6H1OiiYHcEQjDwPF6I8nMLuwNbXzhWv6mAjLkx5bI5/dd/X8r1MCglgBsqGZc3M/mv9ooTqiYj5p2kgPnHbkqWA4xjSwgPDh3YSPv61dBGuX5ROhNmntzEkLTTautxMY/Whbiy07pWeJlz1TFewPW4EFYURkP6oXArJo3vtbej6q87ztCA0E+jxdQ1OtHScK85m169u05cfiX+W14zd8gFLkGymv4M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2016 13:57:39.8897 (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: BY2PR03MB1878 Subject: [dpdk-dev] [PATCH v8 05/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, 26 Aug 2016 13:57:46 -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