From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0052.outbound.protection.outlook.com [104.47.42.52]) by dpdk.org (Postfix) with ESMTP id A07B358C3 for ; Mon, 1 Aug 2016 12:45:00 +0200 (CEST) Received: from DM2PR03CA0042.namprd03.prod.outlook.com (10.141.96.41) by BY2PR0301MB0695.namprd03.prod.outlook.com (10.160.63.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Mon, 1 Aug 2016 10:44:58 +0000 Received: from BL2FFO11FD022.protection.gbl (2a01:111:f400:7c09::170) by DM2PR03CA0042.outlook.office365.com (2a01:111:e400:2428::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15 via Frontend Transport; Mon, 1 Aug 2016 10:44:58 +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 BL2FFO11FD022.mail.protection.outlook.com (10.173.161.101) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.549.5 via Frontend Transport; Mon, 1 Aug 2016 10:44:58 +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 u71Aibjj018422; Mon, 1 Aug 2016 03:44:56 -0700 From: Shreyansh Jain To: CC: , , David Marchand Date: Mon, 1 Aug 2016 16:15:18 +0530 Message-ID: <1470048332-27318-4-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1470048332-27318-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1470048332-27318-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131145218988252746; (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)(199003)(189002)(11100500001)(77096005)(50226002)(33646002)(8936002)(36756003)(104016004)(4326007)(50986999)(76176999)(50466002)(2950100001)(105606002)(189998001)(48376002)(97736004)(92566002)(110136002)(81166006)(81156014)(8676002)(47776003)(2906002)(586003)(68736007)(5003940100001)(85426001)(87936001)(575784001)(86362001)(106466001)(229853001)(2351001)(356003)(19580395003)(19580405001)(305945005)(7846002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0695; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD022; 1:OTV/idET0sh0DFBUs33urOs6WS2g+8jJMPBxC8EjN/x+t1+UuXy+GNQGixDKWobYlFMTBo6J21yQ0JaFGV2wrMS2EiWuz40HtTkupZWhFLiEA7pYkkpucTqYrqDNU3RC1QwmOpB4Ltns204f6B9cCb+E0orgtkWrVPH3jbneCqrJcSkrnd2dZo+Y2aA+hj41GSEfZM1qw0tKUZrmLXm5I8oC9BJ27KC1qI2GAahmIyJ6sOWS9mdWnra4dSw00xiRtp8ptpDBh/GW0lZk1tFJSxGBcYUeASexqxAFKBQfYQZthiyNef/XwJXXbypOJIKGvD/MbbdD+zSABZWWBZN4eOKpNf8Gyd1RDPIdcZSnNdnCQXK63t+vVPC5MilgEKmuZzV6khnIq4Bl3gVC5rN81MWjUUmcwVNMwYTqLuCqD9IK/57MY6/sqUYNkFOdq7YSa7UzNztTyXD2qKo+GO3tFiHndVyuTP26KZcYl8tQS7sSyNWm8seiS1Li02fO8anAq4ChC6kq0HEkhbKFUK6MMhitzwXlm/nFrVaX8MJNtv9iVeAwLX1rNuAvlfg0JfJQ2vCcABr+MKhOB3UKq+/4d+42/Di47uZLIq+Zgbmgyow2rOw8gzcV33EBHNlYmtpr MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 72daba33-bd8b-42fe-bce9-08d3b9f8e23d X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0695; 2:TdroOg7VnKoc72QOOSwusU5lJimvV6fCtezmtT+MC9pDP+1IXUsWyBwhpMeUm1l0KPWsEHXMLRW+Ki+0eUT5fwMTaRRw/JoYuvz0rSdWoAe3i2mWOaiY6DLJXL1XZN0OBlBuLnqkQKeakHzmPXtUwylQlRyQIX8PfTCO24DfJBleNz4PBqr/n3WS5G/nm0/5; 3:oAwkflijziy69EQQ1HyCYWOpYMwmfRpBxsRK0TWABnHVCPrm+vc0nysIGMrLx523gaqraCPwbaQ+68OXaryj43IcFObaKrPTrG6+F44eh+dDWSy6HBJdUy1PbzD+l46NA7mokcKc/JssrE7oZoc94d0PxGKA60IX74XWvBwZuVLZFS5s/a0ICp1TAvCJxyLJduEtoDcUTGYR5OBFH6caM2IY5D2714v4bHX9gIb4EFo=; 25:+mngTg9+Wijr1Yh47LrcWL+vMiX2uNpS7M/5Vp9j7bnfgQ0/6ufp6JEmQ1BKyMDUgZ4cOTm4PQYnxcu7agkY8BVPjhFClU05LMBHJu9dcJICk1xTWXHWpObyIhXTgQplpKn/+0aCCoKnDtkjNy1+P/tG3GiOnSEECVc7D85s4xvTLMddqp3QHN9WCIQ+/xcDbKFzbPPbDx4wXRMTuPg4FMllt+3I9SaPY9ccyhhwl3YBR73vHxysC0hGdJU+qEZE5y4AlLmVUf5WAL5t7czMQRxeHos2bjIZZNG9n0/VOFol6e7bVl7o47J467+l8cZIIGPn0Lto1LR1MTbpEE0Dtsbk1dybURoExgC7z1/7sd4WrVHvF9PDRAhu1BtwDdkjt3qZl3PqOUVNkHVt3326opglCJ6hE7CQmNJUbf1DczA= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB0695; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0695; 31:DkPXCbzO4orDYM1Jnwhz+yaw2hRdQI4XC5LgooNocqlSwfG+4V1JJBjo3jpTX00XzloRrID9NMv36VHCoySGiaHmt0/UpQP+rgdqGh2enyY0/G1zS39JKehVCaSUwilLdZXqvTMf577KZcdI5Wk5JOgwONNcEo2ZvSTLzQRy64qtTYv/nnHeJYrvXqpvKLM/tSC3RQL+eLx6oz0cciuCcA==; 4:SHL1aj/0r+wHKc04YRJI8Hyu5u7+/wtB8Ct8ceAwwkPyTL9YEc6PycuKCMrOFo3wB3p2WaartVr/Y2PrtI2dGnQzbjWWfp6vhn6MQ9BnJlHiNOh84Yg/AGzZ4Ht06h8yHkSarNxwk0RXBjoiGHHWoP8TFIjG0nlEds3NKf2C8jayh8oNLhlWPne3dOAS+OjJdhHBgsPkR9tlOYgsHbRDh19a3HaVhvLP+rvD+bbJNEV8goV3KU/WQny2HFDODQ5pE5y8wgswF76nBextW+MxMUPH6W1KPxCVx+No2i1QrIj8ZpmwpQqv0HyFfTp04v/5bonf08MorjqDxmhaGWsqRCIvV+SzxN0v2Lr1NuATzG4SRqpO0n/M8dEiXv4UXEYcYOWKH0x0fWydbD+rMM+lxNyEVFMQgdrLpZRlL9hcg7sBJMOxkj2270o/L9TluAD507GUSeEqUEOhDZh6rLE+7sX8ff6z4IjmNyx8MpOqzMNk2S76N057KboPy1Dnai9MPlhHig1qxQncvH2FPlZ5hg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(13024025)(13023025)(13017025)(13015025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:BY2PR0301MB0695; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB0695; X-Forefront-PRVS: 0021920B5A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB0695; 23:JCLSMqR7fkcEfFLuvAS77p5U1kShIPaaguwqult?= =?us-ascii?Q?1PiVlWgxPM41P/n0jZTFkMGxNBAS19rCXqXvQXJSBhXkv8URSUbA4RqPbRld?= =?us-ascii?Q?i6HrtkN97K7Y5IY4SxqPqo6t2ip7vCPK7j5YZyjg1QVHmchiRVb0DlSO4k8j?= =?us-ascii?Q?9d7ic87EiQZ049TG6rtcwoz0ONXfDTjsA5owLrAnS43zhbypWyK1klLx3/sx?= =?us-ascii?Q?grZz8otjesfKTWdCs6wnoPEyGaDLiwHal45OzttLpObWvM5xGKBoM5Y/Nuwk?= =?us-ascii?Q?b/9kbcvNZ6BbrAzuraLLHjkC+j6X+EFeEYJaFggeM377G+cln1GjFAHXd7aj?= =?us-ascii?Q?19DRGoIlck5CIUK3dIbe/l/p5W0EcRSAo67JbvCRuB/jLiUdJTElm+Tiswak?= =?us-ascii?Q?uQUOHU3J2Reyp0gK6snL3sDUxei/9iFKAqLQ51LLG175VPQXIZ7m+ZYU1/yw?= =?us-ascii?Q?lbWp+pcINCXSu44ovj018oKRYOBYgoCVkiA5fKMcrOs5jyPP3DI7SCYOifrr?= =?us-ascii?Q?pQNCvUpQ4qNOVY9Hsh8NN6iSDW+2xLoAjxJ9mbo5cPuFS7ZOuwmH6poMY2aX?= =?us-ascii?Q?tvmMF2Q+v6N+iszCFPiA6urvuRKWjv0pS3GERPyykTc4BM7pcoqpyBnT+DKr?= =?us-ascii?Q?QdrymXlev4Gc6gXj5aXRwagUnLY5S4ImIB5ewH50pzoAJzs+JMKzxC+jkUFA?= =?us-ascii?Q?vdHrPC0/MK0XgfYDvO0DdDZhIYcEaOhZbMjGg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sVSztZLuvNPzmdRoS0B8j0PNuI3iu1mq/qRqXRng=; 7:yKc0KqyHGtSLTfGg9B6xiTyGJzf3x9t4IDlSowP9cnRydb3wSYF5Pp3TkDno5aQKZb7926S7olQx8TIxTlvlZbCdCq+QH8+NnLQwc8HSjqHYGg7dCyASIal2ehmIDlNI9cp8sN9uO6gqG3FoiZ9wF8cslJ0Ywma80b935HgqgsC1DYKk3IibxeS1WsFA/PmPxtZrI7T/ztg8UMqM1u1zMTtW4OIe5pZPoz3kLqY7h6zR2UvIgXLS7ChD4UhhZZWq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2016 10:44:58.6380 (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: BY2PR0301MB0695 Subject: [dpdk-dev] [PATCH v7 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: Mon, 01 Aug 2016 10:45:01 -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