From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0066.outbound.protection.outlook.com [104.47.32.66]) by dpdk.org (Postfix) with ESMTP id 7CE238E6E for ; Wed, 7 Sep 2016 16:09:49 +0200 (CEST) Received: from DM2PR03CA0029.namprd03.prod.outlook.com (10.141.96.28) by CY4PR03MB2438.namprd03.prod.outlook.com (10.168.163.140) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9; Wed, 7 Sep 2016 14:09:48 +0000 Received: from BL2FFO11FD029.protection.gbl (2a01:111:f400:7c09::117) by DM2PR03CA0029.outlook.office365.com (2a01:111:e400:2428::28) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9 via Frontend Transport; Wed, 7 Sep 2016 14:09:48 +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 BL2FFO11FD029.mail.protection.outlook.com (10.173.160.69) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Wed, 7 Sep 2016 14:09:47 +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 u87E8BCo013556; Wed, 7 Sep 2016 07:09:45 -0700 From: Shreyansh Jain To: CC: , Shreyansh Jain , "David Marchand" Date: Wed, 7 Sep 2016 19:37:57 +0530 Message-ID: <1473257297-7221-6-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473257297-7221-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1473257297-7221-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131177309880852620; (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)(189002)(199003)(77096005)(586003)(81156014)(33646002)(81166006)(87936001)(8936002)(4326007)(356003)(626004)(106466001)(575784001)(86362001)(92566002)(68736007)(11100500001)(19580395003)(97736004)(5003940100001)(48376002)(2950100001)(5660300001)(8666005)(47776003)(105606002)(229853001)(85426001)(76176999)(104016004)(36756003)(50226002)(305945005)(8676002)(110136002)(2351001)(50466002)(7846002)(50986999)(19580405001)(2906002)(189998001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2438; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD029; 1:runa85P8UFpJWj7yAS0kZesPnRHlKjhubntLnMOgCMUAqYacaRUBq2haKsM3u6IFfdHSLXmAMoSlI/4vAvkbQWGUbY+CO914fy3VtYVCBo/V4deH6FlV3+UGymweVUUSjrBw7AFRHPnpB41bAZs8GSqs8iwg0UAxsKaVoA2FbhFFuwseGyESYYCuxL/9tW1Uf4R7ElR/A61+2R+9aIiZK7E7KS8bhvZ8xYYg2yS5ZPkinfcBkJQ7KUHGCdCPxxu16ff4y/4GcBCkb+wyGGj/9fMP90cl8VbjpE9/564GvELxjCbXY+3WJjtSrKgBjxsShuGa6CRzDb1bDXcCDc03ab57EzzPd1mMh2UUqqdtFnWwA23wnNGVlC58jC+y7eE8U8ym26K6sRigecQsFh+MbSSBwHfe56sXhcJPfaw1sCU9OEtAtxdrDln7NdInp/OECo31gIMwUtWJahM/YHS4zOmgpPv/xRXsfZeaWMByP+ad5coCx6jGPM/V3HIFzXMfn/0JEUq7WbcQnj9kT1qLmaLsl06efl2EA91ofUA9c9VDQS4Du+FiTyWjwPjuEiSo12lV0/z+TxNXoa/G9csk3lWGU1i1SEKHym3SLls6UzfFPerSucK5O2rWzfQEfB+u MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: a0b8dbf6-e4a8-4def-5dca-08d3d728a07c X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2438; 2:i0RrEgngOwe3MRrp1xN9Dhxgmms14YRslh6FbP11WMuGJoDAhvIm5NTtHeKQc330dHwM/AJs0ZVf7PKSS2UjUSfZhGkdXcLxxexpQbVmJa+NGX/V/rG5V3LXjMuuo9MMufYJ8OVBiw0xi+vLoULIJ34wwfnCANcegGZVG5S9huNs32BQAa2QyGsXcTYpnhJV; 3:ue70Q2ilCck/81FY+tepWddpqBX+rVNq+jyaeZZm8pKi8BpvucQIErdLlekaYm3Id3USMcc4ETrdP6IsITOluVgoj8/UOlDkb4EKj0BrunHn3qeCzLwHTgQpUSbXstPw3SozG7kikdtyDjzzEDeu8yRd/ID4xdINYjhyOoHvO72SMGpMNv3CQkqSM+tRsKjS7zHteZO3e6hbJ+7kln3EZhYcFUK+++92RiZ5ol2SzYQ= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY4PR03MB2438; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2438; 25:OwnKDXCSO4ooXsuvw8g8xQcwcNtbbAoFinfik0dZ/9Oeg/Efcea4MxuF66qww8NyiaeWCd0C9wJUpowLscsfnW8/PEQ4lqjMoFvLbhaS84Pbw8BdYtdLuxIGE2Eoc/6A6SZXWt7X3X+VWVvxPY8tp5om9uBRAnSHFj+wfmPfFzq95uMfBB46+9AUHJngsuWLnvyilmB98F66aq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PDNmVM33I3fEJiwgElp+4wJUPdhzx8BpDeswioxKN7ZgxmDVoNWqRrwttfdsYpmwIbCmSzU2zVTeYlF1af+Gg+2LZGnlpO3VhGViXtxnYCyQ9Z/2kaa9EpW/NaVTwbyUObIvgnsYEmZpswW9xawBjlvzCklML6/ovWzuCA2Nvy92urtyX9eFTWZDbbMLXxei5bkreD4xDVqKQ4rWo1LIwwGU0/HkJf14bLx04XPzHjjNsMNfyd01gLzXkf1a967oh64P/XFzXncj6m5+gftvGZwf0KE28= 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)(13023025)(13024025)(13018025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:CY4PR03MB2438; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2438; X-Forefront-PRVS: 0058ABBBC7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2438; 23:x/dhN1CN5kVlWUDfSnwQ7RVwuYa2VAaTA4lOGeuxs?= =?us-ascii?Q?u4z34pQTbB/DMb3qpocRaH4f2QAqUJ/X17AmwP+OtjAQ8r7IIT7kAf9c2wv/?= =?us-ascii?Q?MRFS8eDZ2SMvNLWcl7KhWJZNCrAACBtVuJ22d18BozJy6mK1bX5EgmNvUEdi?= =?us-ascii?Q?o7sjjZtOfDLcakrZOWBWWvenwkerCbrSnzyyzOFiNfINRCZ93W273F7oRF8p?= =?us-ascii?Q?EAXGcwXigqOf3E4LNQQGoLaZ/4KjOyFVww0RCQ2iMU+S4Tkqs+6bg3JQcPE+?= =?us-ascii?Q?aTg324D69PsyTGdkJU2z93JOPjcqBn4chjG6R30tSmfF61/Px696CdlC3PSe?= =?us-ascii?Q?lIFzbR/6qXxRX5o+9b2+hmpUCyxM2hPEUKw8nRqrRePZ4c8rsF5bq4Lfhokb?= =?us-ascii?Q?1wyr4u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BPT6jAjDnD5lUXWopNAAWRh4KktoPB/ahXVgi1nwReE+VLdiSrHiTavsMiJqc69bwYsZbvTEYf/n+z94R5CV0sgug7mpKGWUaLgWvK1eP4BCfH9OzVPA968yL8+sVmkeLhN2bqbnaTWd0L0AumnjJnoiLJE+HvpRD2+SilqXbayb1SFVu+9bhs8nPrBa0gBefSlJamPYOs2ZWp3L/70vw65V97ACgu8KfpqJsREjcrhkMDWH/ovC6gtTyxS8=; 5:tuGgrPwN7aDItIICLy00YgMVoFCFOqEVF+EdrXqxYZx3gdpNtSgDDIHeRk/c5KDyAm868i2t5HcUc/WPNCWKd3Cr8dwTYzlhwW8Zf4Nlh3Rh+WwhzCIjUWXenvY7HzYOEQF03vGI1LdczPA31c2FIi/VKH5rfkQsYIiNoUnkhPQ=; 24:aV6uBm7UmMGtB3nPluoQG9i+0vIf5UGkukX73QGJPTy0enPLxRWhb1Fyxl8IGf1/ctJDHR4mNJk/SydGwa4UxkyV70dwZygNmD7JXUqdZY8=; 7:I7PB5RlwzE+veanQa6xphzb1RKh3w1Xd+45AZJuaI8QLxwJ7rqgBatoIum9QwWOIhEL0SfQFEuqNkXtlIYrrAQzuZx5DR6y5t9cSv/v6eq1VQcO0idcRXy7lEZ6WX1vTnf+lgbFcWtzPnbnMNVoE3/jMacGJUrgVNocEhnMktcBe2Nbsm50poa0HudEkdsX8q931TQD/IkXS5wFAZ9IHHS/D1nH3q+XQUmOLI0XOMMYGSG8KjlHbOUroIt1N0z5G SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2016 14:09:47.8044 (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: CY4PR03MB2438 Subject: [dpdk-dev] [PATCH v9 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: Wed, 07 Sep 2016 14:09:50 -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