From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0087.outbound.protection.outlook.com [65.55.169.87]) by dpdk.org (Postfix) with ESMTP id 4128EC13A for ; Wed, 22 Jun 2016 11:06:27 +0200 (CEST) Received: from DM2PR03CA0023.namprd03.prod.outlook.com (10.141.96.22) by SN2PR03MB2382.namprd03.prod.outlook.com (10.166.210.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12; Wed, 22 Jun 2016 09:06:25 +0000 Received: from BY2FFO11OLC007.protection.gbl (2a01:111:f400:7c0c::158) by DM2PR03CA0023.outlook.office365.com (2a01:111:e400:2428::22) 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; Wed, 22 Jun 2016 09:06:26 +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 BY2FFO11OLC007.mail.protection.outlook.com (10.1.14.254) with Microsoft SMTP Server (TLS) id 15.1.517.7 via Frontend Transport; Wed, 22 Jun 2016 09:06:24 +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 u5M9663c022009; Wed, 22 Jun 2016 02:06:22 -0700 From: Shreyansh Jain To: CC: , Date: Wed, 22 Jun 2016 14:36:22 +0530 Message-ID: <1466586396-22618-4-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466586396-22618-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1466586396-22618-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131110599850435975; (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)(47776003)(69596002)(2906002)(19580405001)(5003940100001)(85426001)(86362001)(356003)(19580395003)(8676002)(76176999)(50466002)(229853001)(105606002)(33646002)(92566002)(50986999)(2351001)(87936001)(81156014)(68736007)(2950100001)(8936002)(106466001)(48376002)(6806005)(97736004)(586003)(189998001)(104016004)(77096005)(110136002)(36756003)(50226002)(81166006)(7846002)(4326007); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2382; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC007; 1:1+OIs3Y9UESwbV2zjXW2kBILMtK1Y3W33DMMsoV1fQBy/1KsfJP/k00YPld5lTLuy7iQVM0aRTRc3MvriHtZ3Fz5cyCGOOqyO0xuTntOIy7ymJ2xB/WW/DDCIZKwSanUmnacYuk9Taf7Hvg1tpwDgjs8QgfOTwuaD9sDzKJVdiQhaYtknN9VtbkTWUVyCfbHtGPbR9hDNYqHjCY6DWii86fIGxSGexBp4krVDvmJMMayn4zMh69B33odWw0M5iUdHqPDXh5fK3CM/EQFezMtNDjCLP7jUVOMqltIGxRKOWvCDDOACppWeV76NxbBHZqzjdzFUJerWmbzuAImbeKFTxbKj6P72GQPyu4/G6Xcs9Lwq01AW/yP8TzjnmcsQhRFmSVzbdwW8yhQ6Z3uNB/zRxZW0/T//pwESO28qCq2tnd9tTATt/Kn2jiNpW93CdtI4/BMPmIGtUSLRSpqmMgN2hlbtUA7aYLxNHAJUFXcKnaZtHwAcP3VCB6+UXg7jJa3tCJwUcS1CXK0pdERrUzCDtAS0L09iJiuvWBUDJnloMUUnQUXioB2SoaYn/6YvsYtUtHd3eyJcmoxo0iTSCbi7A== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 6dd322b7-59d7-49d7-a587-08d39a7c7cd6 X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2382; 2:SJIBmCJHuOfVRcgm7Szsu5LIiozHqZ8jYWzWESfprXghNQJyWElE9qF/VE6fRZi61mrYLHxi+FxkUZklJi72kI0LrRNfUvtc0LVBWwfh9B0kKDFT68wuT/77af8LtZd+YaPeWlJKSE5yJREIcCOjirUE9IPcbb3BdMQ1fr28pJ6EWp9WdXo14/wMks+j/VyK; 3:x/kMcCuBoGx/f1pNepT5G0ymaTS3XhELnkYCyNXQqxMsLR19AAl7CtgFUJjzm5uLivn3yr0JMpM8XQahd7lL2Pb19QGWgiq1gVYfzSvffnkmS/S9Nm03/59SbUfN7J7IZbeeTy9sElLopwBrOKv8ecg3qn9BQP4VI8q+kBRzsg2VYUDmH1+xAoBVJBZXqxJ05Zt43J6S2gvZKkC3GPMWfZRtuJUyQygWpz6smG7v8iY=; 25:ek8HylbhP7QgJJxr9yxCc7gSSjfTjkZ3Y5QLKQ/LXTtJ5gVWAKT321n7JvCY5PuaCZBs9K4C5YWvvEwJKxZFGpiLRRlazO3ugDGCLmhIp+Ktf08Jx0T59TtWB5UofYkT6IUAu1vlrhJCHIMSY7z27UyUtWKjVBNygrqTWtj1+emUDczEvuxOaNB1vR1uUZTO5ah3Mba5AcJcrujcQcnAJ68XwVcR496OajNM7/HzYYCo2mtWnmqC1rOoPdv/p98NzrbkmwtKpjBtCCbM/fovafx12NLMlyshPlARlHgkXquM5CDGQQdEtLsDFsPTkOeWdlP9mX7Bp4B1rK0CztyVLHWlUtMmNsCNXVdJ0ICp2g/mRTy+KWOKOoGv7cd0O1ou4quwixAG2MMp4paN/HBQr0U9kPKdm5wCwX57rCB1364= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN2PR03MB2382; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(13017025)(8121501046)(13018025)(5005006)(13024025)(13015025)(3002001)(10201501046)(6055026); SRVR:SN2PR03MB2382; BCL:0; PCL:0; RULEID:(400006); SRVR:SN2PR03MB2382; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2382; 4:CJXSRnEC0l3wuP7d30TLH6LegMGBm2wMoYVaVg+0cbRodD50VCkthaMfjWqlPrhUIyIc+iAzZUQB9mtgWk/7ubVRUFxNm217aQTM2dVhKtLt+fBXDYrxdUMvOFHEkAdi8SkW/4/oio9li/FFIpGCUFSucloCztvuVS+e9hTqLFer7DaopwCcHMTI81I5HmByOUFJlGv5pp3ziRlGs3PqfZZGSireFXWpVLHmwMLvPMxCkWIQ05rQJifzNDomBml1p61wTYBXvBOEtVsWvjUkVEG5hRKTl2lLHFoMKr/jYxT4O9W+pNurO3PNIpWWuJ40yileiekzB/2d87h1ObG3AAnRQbQhiKtoRJTLvzWbgd+YHEu9oakAPMgdc0yaLhebZfdfQJuXMJVR+r2Jv7p2uzbUJ3Fz9d/nmvh/ljqIQ1QfNWOaKdy+0y2UJM7Bh6UZ+3j87WkdhtDQUiKap4nkBwx7B9QRcdhk+jMbjnG0Cp/4QCUB7oB1SnbKU5OM1mfnnT+lAWMg93T4+6UZh0Milw== X-Forefront-PRVS: 0981815F2F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2382; 23:aexqjnjHpHS1UpViIQ/MA6BpDYuF0CMoS1hNoMltC?= =?us-ascii?Q?i9NKU+ElsNVsl4XlnUlXyLsaD6uzHaZeE2u2YXnB+kNW2gSl4PgZWp1KDuIJ?= =?us-ascii?Q?Z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99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2016 09:06:24.7940 (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: SN2PR03MB2382 Subject: [dpdk-dev] [PATCH v5 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: Wed, 22 Jun 2016 09:06:27 -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 f46ec85..0ff3944 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 = { .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