From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0048.outbound.protection.outlook.com [104.47.38.48]) by dpdk.org (Postfix) with ESMTP id 84CE17F3C for ; Tue, 20 Sep 2016 14:42:23 +0200 (CEST) Received: from BN6PR03CA0046.namprd03.prod.outlook.com (10.175.124.32) by MWHPR03MB2447.namprd03.prod.outlook.com (10.169.200.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.8; Tue, 20 Sep 2016 12:42:21 +0000 Received: from BL2FFO11OLC014.protection.gbl (2a01:111:f400:7c09::118) by BN6PR03CA0046.outlook.office365.com (2603:10b6:404:10c::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5 via Frontend Transport; Tue, 20 Sep 2016 12:42:20 +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 BL2FFO11OLC014.mail.protection.outlook.com (10.173.160.144) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.629.5 via Frontend Transport; Tue, 20 Sep 2016 12:42:20 +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 u8KCexsX006559; Tue, 20 Sep 2016 05:42:17 -0700 From: Shreyansh Jain To: CC: , David Marchand , , Thomas Monjalon , Shreyansh Jain Date: Tue, 20 Sep 2016 18:11:17 +0530 Message-ID: <1474375296-26078-6-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474375296-26078-1-git-send-email-shreyansh.jain@nxp.com> References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1474375296-26078-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131188489408702716; (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)(50226002)(19580405001)(68736007)(36756003)(105606002)(2906002)(92566002)(19580395003)(586003)(4326007)(106466001)(104016004)(85426001)(229853001)(87936001)(33646002)(2950100001)(2351001)(11100500001)(77096005)(8936002)(189998001)(97736004)(5660300001)(76176999)(356003)(575784001)(110136003)(305945005)(86362001)(5003940100001)(50466002)(50986999)(81166006)(8676002)(626004)(81156014)(8666005)(7846002)(47776003)(48376002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2447; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC014; 1:yB3Y+9GHbJRTiWZAgwgmgU89KuTUvpI7rfHzXSREptwtAyV13z7NMhxQSXR78/f6Y/gLdt5x7uL0TbHZxNcQBkK1cBPkn3xTucIm1sqezSKwo7bSOB8eN46NUIg/3MC7AOuWBk9rR2PZgEYcznQm0BgklMFn29+aFnyDo/LK6cQzDZ9bY+jG5sVzhggWynewNqqSkCVn4+V5PAbVCxzb8bJMCltZsR6a8n57M/R5oyatMV/2ximHmIXS6It8uhWSKCG4LZ5ognb44CyWMmxIljDoz2RxT4OOvh0cwjF0YVEsp0t6fCvBYBnrLWOciTutFRDuEI8QzjyOWGW6jKzmydcnSZkd3qhsS4ThZ6vo6fWzL+uAu+WaYcrjK2Aa3g+oP9yV2Y7kKvX/7V1kah50Bktb5EURnBwmkvWr7Jvejdk0N1HwTcm721U9Ep7kagZbaPNKtjn37Mxj8QWeEke28bjpqg+ihKzh98N5Urgu7VvR6+lGNb3kr9/VcCT1XPzVjLY0WWtExbX1TRiieLE5OQA92zL1s/o9GakXMyE1+9wqk7iuFED5FwbJYVmsrbipY2lBKZlPE9VJ0xzFQCcDbLNF8R8lsLkx53JeGKA+ArqYvKxqLnTnQtSyGOOEMjg9pXnv7bUMKSNRfzdLCqRDw+bJ3JdDTKm1m03+aMDZvl61+Ar9aQMFY+SvJyf0ty98kTxXtkElqkvSOworRoQCcTS559ULOi9/bzDIpVmwSW4= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 23d2eb30-05b8-4950-079d-08d3e1539048 X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2447; 2:nQez748A+AFvPgs7DwQvqR5W1CC2YJBB6XNGB8adoiaz77kLGxm3jcfWQlOtjiNNJHapGeFhIS7MJYx7AeJF/qdeu75mNaLRZSzfgNTyVf1y0qg11Gpq5G/ZlOFwsrFCJtqso8OMjXo1LsD0pIAoRoeZpnyf0W8fBmyRKKOT04eN5tcBRJwXvMeE4ToIEUr5; 3:qecRqPUSJeLJ41u3T1MOPQr56kUxUwvMDzqBrf3atYm4/2sgdiVK8UjA0TBfc+zqKiD98AKSwXfg2DA5LDPMlEW9v2764BT47lWSAlWLz8vSCjX4SWMUxXmUtkQPd8eedVVZpVsxyvWMSZtH0IyKhU5UkBvVVPlvOl+3VdwXusPgKKQ5BvQvREiPqz4UGrV5+OUtaZ1KcpiZib2bpUVg1evXPfE2WPg+pGPRlYsx10M=; 25:+Gytt4o5pcq6PR3pSt33R468rLMagrdZb0oxlHTiIjy0v489Wp/2S6P5XsSp4Q/FBa3HOoADA6VgWTcJ/TGROsI9DH4a91iRJOs72NeXte4hgjPMV/8ElSC2rILeXIuCE+z7e9h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ELj7xgg3l5r7NphDkvH8x6u1Fs3y1RC4b5dF1XI9RujPGunoeILgCrQ80oF2PuCxyDlFYxbGtcErF2GEydRhQm1q7NzeDKATMri6QcCSt9w7ZLF92KPc= 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)(10201501046)(3002001)(6055026); SRVR:MWHPR03MB2447; BCL:0; PCL:0; RULEID:(400006); SRVR:MWHPR03MB2447; X-Forefront-PRVS: 0071BFA85B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2447; 23:Fo5Pdax43SB7TnhyNFYYitokIxyP7MPRYuMRzzLZM?= =?us-ascii?Q?lIL4E7v4UciEwrSpbcQmIUObOJtxo0KeCLCkiTDfT6A/0ZprckbCgyOJp++l?= =?us-ascii?Q?wMK5+CmbqLN/Bv8HJVzdpyR2cuOaZirSQO7kcUxuwRIYBBOypimO2CJKh30z?= =?us-ascii?Q?qbrEw+A0sgEgtoqL/x2sYuYfkYMchd03jJkFCC0bMXdG/tNJjeh56ItG5Ds0?= =?us-ascii?Q?0acO3wn4spjDstlOek2DB3jEPRFebHCrJQncIwlnZek8zqtGTJrTQPQoqdO2?= =?us-ascii?Q?3AwDZJ9yQZv/wuItmA5bfC87hD+N4DYeplFNt2HcrtDnHH2P49Ojp0c/BD3Y?= =?us-ascii?Q?3aZFov++dDGjjfv45njAKv+C8ochb4OaWpk/rvKn9WrZoAXJT/ry0xoxKofL?= =?us-ascii?Q?Eq1tRmHefjhppSn7x9X/CHKxWxAMLv3WT3XUTMgpe1QRx3HiJsLR/wV9xCAd?= =?us-ascii?Q?qej+3flt0q6QUCJ2RSh2bTYj9wub+Mfi3UB20iGz2+JFkuN12h07uoavqO2Y?= =?us-ascii?Q?c706RaeI7TLlkoVVcRyd9Hl9ojFJoA5Rfq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sDK4mgCPe2cF7ryfTJ98ls7k/YiSTf13otDyOp3UG8nXfZrGrcScVrMQUp+YvbAui/Ls=; 5:6Uhgd58y/zQu86f9MRPOSXVd9KrJ3cM3rcDA5wFy3vTt7YCsgCxSkGibQpObe4/t9doceqzh0czHDkj4x15ZF0GdpNH19872JWfXMU2/VRY9kslJcd7mZgGtgsFw87/312d4wnmWOLtfDJHd4qbOjQDNmjixwUDd3t33U8VPYXU=; 24:0kzvonAKPAh3sTR94kbOb996S1iSE3NK41vJWQoN/X2hFQjCIhBV+U+y9Zzkq5tkPRgRNBfzOqf4a6UT+PtsdbLM9Sn5QYgkM9hh2/5UwO0=; 7:+NDkCwllKMm2YXJCnC+XZTpP8I4sAIDbm3V9M7nVHfWF6gP3TJ4AULz4hyerAgz2qz12Hb5B+banq9R+ZpatJqx4EkyAomOM129aBOsT5RFIa+PeUZYJNUul4yhEEnbVlueISbAZPQyOKoZp0NT5L/lkOzqGCW9TvVls80jjtyveScGhwkwI/AyXRd17t0QQmBZ19V0m2osJVTSyGLjb2GdZdwaJezz+MJLAIakPg4cuBRXsZcVv1s/71tDzEnoJT8nzABZxfAq1dFdEC3zLPSxPonXz9erQTq+vWa1pSH79rbH+bh/wmc7l4nCjQRrk SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2016 12:42:20.6830 (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: MWHPR03MB2447 Subject: [dpdk-dev] [PATCH v11 05/24] 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, 20 Sep 2016 12:42:24 -0000 From: David Marchand 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 d106f5f..f2e7c34 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 19a5f86..8421925 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