From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0089.outbound.protection.outlook.com [207.46.100.89]) by dpdk.org (Postfix) with ESMTP id AE225B45D for ; Tue, 21 Jun 2016 14:02:51 +0200 (CEST) Received: from BN3PR0301CA0002.namprd03.prod.outlook.com (10.160.180.140) by SN2PR03MB2383.namprd03.prod.outlook.com (10.166.210.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12; Tue, 21 Jun 2016 12:02:50 +0000 Received: from BN1AFFO11FD015.protection.gbl (2a01:111:f400:7c10::121) by BN3PR0301CA0002.outlook.office365.com (2a01:111:e400:4000::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12 via Frontend Transport; Tue, 21 Jun 2016 12:02:50 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD015.mail.protection.outlook.com (10.58.52.75) with Microsoft SMTP Server (TLS) id 15.1.517.7 via Frontend Transport; Tue, 21 Jun 2016 12:02:49 +0000 Received: from Tophie.ap.freescale.net (Tophie.ap.freescale.net [10.232.14.199]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u5LC2TDK004076; Tue, 21 Jun 2016 05:02:47 -0700 From: Shreyansh Jain To: CC: , Date: Tue, 21 Jun 2016 17:32:32 +0530 Message-ID: <1466510566-9240-4-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> References: <1454076516-21591-1-git-send-email-david.marchand@6wind.com> <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131109841697892365; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(97736004)(50226002)(33646002)(85426001)(50986999)(48376002)(189998001)(87936001)(8936002)(76176999)(110136002)(5003940100001)(92566002)(7846002)(2906002)(104016004)(4326007)(6806005)(36756003)(11100500001)(105606002)(86362001)(586003)(50466002)(229853001)(2351001)(8676002)(77096005)(81156014)(356003)(19580405001)(19580395003)(2950100001)(81166006)(47776003)(68736007)(69596002)(106466001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2383; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD015; 1:nHh+BFrCKdLtPqqwX3XCosTlvlF3Qc12mnqZ12ds0HBXAO0h/WXLj9DnS3kJhiEW70UciBjUjmuPv2jzC4iMv2MADiYvbuPMt5RD6b0xX5mvmyiyS1LgAS5mkml9ejDEHDTSNvDnaIQKcawYuVUFwMj1LovStJr1UDzYSHn30C34MIK16sXa8BDRO8PVdeRDWwL+83pir4Cqt1/Dnfqqse+SzTVOwkz3gL02xh8GETr2Pp/xFPuhPiQyiCgFC9DuZ6W/6AvvpUcORTvoO9xApfq3O5zBGqBcipZohtw1bj3QHag/dV6dpxwYksoPX1lC1yjwEkpYBjSlXXKksBKzKKNn0keAtNQ9SSJaeeEzrziJBuDt3xjmn2NXRicC5MUbrKjv82w0oYK0NnK3huA2Z1m9R8bIZbScTmGf6ldr/KbGfN61UkdOKwgqjcgJ32cVlWFuOjTc6jZ7kjuR3nW72GO6PyP7QLQstzeeFz1FISL0zrLzfVe4rtuknd+oxl6UNrWlBnfdZmR0e0X1CANV2ue8QDSsv2768hinQTEhNO4mNZM7Mb1vemb4K4n8JLtF5mDSLwCCTlpvjOeN2++VgQ== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: cfb85e96-48d9-4e23-86af-08d399cbf76a X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2383; 2:SG3cW13MZo/xqAYESVuKunuy2db+0BHEIKeyHSguppmJ2ZIreQ1JZAa53BZKSaT+Lp7xrGBY5alAy0bOqSnp6q6X5UVjjlKsrVlg7/b20XxHAFUEeN4G58ksnptQgLYE5ot55yzEQSqkRUvC1GdG6K1i/jE3Zfn/GQp6yYn5zoE9+CgJmsVKtprq4haopSag; 3:5IXXf2izl8hwrMiW3ToPb6bQ+Ga3heK7j7HyTC3qxfQzHIgCGYjRPowx12p24REWnz1+cEIW+kh7jrklzb++VlLjgtyFnBwsJJrjvOXfioS/XPkoEnAzLx6czK8tr/rjIz70VNfNmp0CUBYBNRJVfqkKZnFu7VCNH8ikOADQYZ81Aon0Mh3EUyGFeYKWvI19yiG2W0XyKBNUTbhTM1cFEsFk2yPomVkDUeIW1RFG57Y= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN2PR03MB2383; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2383; 25:wsCJFu24LQqi7ILcI1qhATureM7mN0Gir1zu6F9weBQNw+OkmJG8U8shKVhPZ7WL77tkVHG9UV4npQHH4q7xsh1YzdfNmDb/ZTb1CLU1kcqN57GHSjHxQnU1NUMqFFS66ymJ5Wb6suZa0TE1/furUYmAsurI8vaL8rXfgWUyDgBko6ncLN7IKyiMh5ayprzhHkVORRdyIRMV1RsBujxHcKgjCuMjCuKvQ+Rg4cgejUZCJddnASIio2FpFnK61XjmNJ7J8HlHuMcFbIOFrk6voU49afh8NEEQGPsweRus4fZBWqh4x5xVAEiQM9rrtIzxmu+cSTbS1zbPULngSJx6L0GT1HEdAuunxB/fgOaax043cCZRCr3x/bQIEc5LC+1LxKm46IVMH5Kqz+fafn0TXRVvrHEb/YfoBkh6RzyAKVV0dfVJGRu89g1CGVfpahW+QezAcRofnxedOm4ZF2trLvRuMAJce9GgtsNbnndx6YK1bMIx3+iPYkWoyvjiYH0lcm1QHKeAUsyT/4vNaAeTp10Hrjpo7y684lnA6YEavxYmDhE221hnK2w+K1x0Jat+aUa6hopR/urdBZBKcNPeZftJj9Dp4c2Jmitdc0Ik90qVBFQy8S+mDZiAX8IsgwTwwfr1OtmJhHlfg4pCaEo2n8SvtSjcmF8ls2yWYLZ6BoXt+jpRNT21D+MCJanqqwTr1xnSixumBg/zzeXeI1ocboQFyqjNm9cPjAbt+alv0z0= 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)(13024025)(13018025)(13023025)(13017025)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:SN2PR03MB2383; BCL:0; PCL:0; RULEID:(400006); SRVR:SN2PR03MB2383; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2383; 4:BEkSTNmSRp4jc438gHKs3k5B5nZvuINbq2YKa90QcCgmKfewwI9xC9vEdEUdqwpVsAZCY5P3QRZ+CgctssiigBtTj4+dbctiH4OqfnGVUp3fXJ/3i+36xnHY2/0KygSBXT/usH6wpziMfcQU9TJpQPTTpyB6M0zbWJQyNnrhoSQiKvXE10S3JjR4Pu91KlCHoCQRokutkNDyrdsrjcsilBEIwgrDbBmcxw6CgWaJpnJe8nEgzO2NeFYXnK+O/x2dCTnq0sps1d10F/0uT38TNLEYGhL17sPXk0oKKK/TIbMpZicDfHpiotIwGfRwZ+cGMFO68WwU8iYsb/SXjTk4nL0EA9o6Gqggu0tKmSRMgHcPw9RORZ38D5F47Bm75uU2u17378shVtn9tcOHTDETXnLS4f55BD6dlc6HoWnc0HeOgLxjEIXdVixkXfNriChmCL1aQ57nkoTK/3k4XuynyeBzpwzwyxMLMiIp3D2SCCZEC6AlxN9UqI0IF6s6KM1leLO/w8MMVBTXYjfL3heIeA== X-Forefront-PRVS: 098076C36C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2383; 23:db3fc8wKiz5RKuc3wBw8y4bvmZCs5+vWkvza4L3BH?= =?us-ascii?Q?62psoRB9cahyTQdKA9bQo/wA31EIUWs0yge2MS5CDFw5qeEe4dw/Ad1/fa7h?= =?us-ascii?Q?VYKBS70UQoHM8nv75LDa6LwMr/ox61I45Tye1mEs3usNzhcQiF6S/obDLYZO?= =?us-ascii?Q?8jbU32eCqcEs0t6xaalgzIJpSd7rU42zn9uJXKgkgZw0qhdnR4ts5rHd5VE9?= =?us-ascii?Q?mZaXULQKX/zVq4GG8lDKRnUgIV3nz+4BYwIUp9Hj3KODfo1oia2NkfoiWwuC?= =?us-ascii?Q?MwLI4n3L3Dnq41DuilyU08uS8/FJ6ss12PYyi3rVpFhT5WXAzaupiyfIxjzn?= =?us-ascii?Q?zOxssKpUE4ahQipgi0HX8fVQOTl1FJWaNFld4RfQ63rrPO7hm5mJt0xUKzVM?= =?us-ascii?Q?lIyH4T/AbWhyfB6yFgU1O/ynpz9CaydAbCbjrTAyXtFkmYzNkg6k+mFymTUD?= =?us-ascii?Q?kTPDIUjJypyus7CJrtHp9E7kMbgfSjMbUBLkWd+0JJ8FJ+065peKEMzwv6kI?= =?us-ascii?Q?b0vEWipGJbYlBqY4FM2ddH1pPWSa6QE2Z/UaHw7E0nyuhV/Ove71U90vyCvK?= =?us-ascii?Q?g3LhiRIHFIs9mNKjOABihmsYZlmsVvqtClzA8AY5YjQX7vWF73tZXv3Ewukx?= =?us-ascii?Q?yv01naFpySOEfoDs9Kd6QoCT81LqM/svkduO7qxrsJ0WwWZZU0b/YXxzYkn3?= =?us-ascii?Q?9/rC7ENDKHYsyMxzyBxIj6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iKjfkccAbC1Eewzpg46kYHVyk2NEz+jpGibz/BKlDvddNKTJrpw=; 7:Vn6rfV6fwxTJ1MTcbuTUtEZ6ux4Wa/KuvZNdOu14Ltt2Fe0F4esqSkw/Z5vkrxSwENT9bukFxXxJ7mKz+v4D9OCLP6utB4e3qqcAeSLJ84J0tZhViEWiji5pRT21v0lYOwXA0NMqdCnFQ+9210rNEsJgWrX8mvlDgv2Wa1PkX4TFYoh4VzlSM5n10fWw7kNIp2jxmE5VlNf0iKY3Riwr0MdSLFRHoC+NKbS+Xw8d96Bwqd3abQC4+UIg0zj6XSCF SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2016 12:02:49.5552 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR03MB2383 Subject: [dpdk-dev] [PATCH v4 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, 21 Jun 2016 12:02:52 -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 a7912f5..08496ab 100644 --- a/drivers/crypto/qat/rte_qat_cryptodev.c +++ b/drivers/crypto/qat/rte_qat_cryptodev.c @@ -116,7 +116,7 @@ crypto_qat_dev_init(__attribute__((unused)) struct rte_cryptodev_driver *crypto_ } static struct rte_cryptodev_driver rte_qat_pmd = { - { + .pci_drv = { .name = "rte_qat_pmd", .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 e157587..8d01e9a 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -1427,7 +1427,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 5c9f350..ef7011e 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -2463,7 +2463,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