From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0052.outbound.protection.outlook.com [104.47.37.52]) by dpdk.org (Postfix) with ESMTP id 5745668CA for ; Fri, 16 Sep 2016 06:48:57 +0200 (CEST) Received: from BN6PR03CA0067.namprd03.prod.outlook.com (10.173.137.29) by BY2PR0301MB2006.namprd03.prod.outlook.com (10.163.196.28) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.629.8; Fri, 16 Sep 2016 04:48:56 +0000 Received: from BY2FFO11OLC006.protection.gbl (2a01:111:f400:7c0c::198) by BN6PR03CA0067.outlook.office365.com (2603:10b6:404:4c::29) 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; Fri, 16 Sep 2016 04:48:55 +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 BY2FFO11OLC006.mail.protection.outlook.com (10.1.14.199) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.619.6 via Frontend Transport; Fri, 16 Sep 2016 04:48:55 +0000 Received: from [10.232.14.87] ([10.232.14.87]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u8G4mqV9017378; Thu, 15 Sep 2016 21:48:53 -0700 To: David Marchand References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <1473257297-7221-1-git-send-email-shreyansh.jain@nxp.com> <1473257297-7221-9-git-send-email-shreyansh.jain@nxp.com> CC: "dev@dpdk.org" , From: Shreyansh Jain Message-ID: <9fdbceef-7982-a91d-4c49-ac7e1d586b7c@nxp.com> Date: Fri, 16 Sep 2016 10:19:20 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131184749356585089; (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)(24454002)(189002)(199003)(377454003)(50986999)(19580395003)(305945005)(77096005)(8666005)(11100500001)(106466001)(47776003)(19580405001)(23676002)(356003)(189998001)(87936001)(93886004)(110136003)(230700001)(64126003)(92566002)(36756003)(81156014)(33646002)(8676002)(85426001)(105606002)(83506001)(86362001)(65826007)(8936002)(81166006)(54356999)(97736004)(626004)(31696002)(31686004)(4326007)(68736007)(2906002)(76176999)(2950100001)(586003)(5660300001)(50466002)(65956001)(104016004)(7846002)(65806001)(4001350100001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB2006; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC006; 1:af/HckBT8FwUkywW2FxL9b6a32kd6MW8jsdx/S1/2fsbwMt04AVP+FUHAXJQUxyhJScbAP7vJMY9XAIVOpTE4qMrTy9ITpVZIzeYj3gdGDHZ2AIdgkyM6Kc/ql9r7My5cSbh1QPSi73xj8oHd/cm8RflMbOBJkYfboSsFtrfFGxtK8Pic/IPopezKIVmVQCmM248nj7OkRpIO3Nw8kccQ+IwVDBbTbkkM7EGUEAYC19339vu7jqIlkLSOn+4uCcuW3ZMM50SpMeWmm6TWyFcqyN2JIUbfp6x9dajNhF5sLmfWy7MAON29CueCs36PA/UuZDc1qeRH/6OBeiOLrZDb0C2hmL0N/QmeGhhLAxzmXUFVntfNGU9Fiq0P76YIUpz7VKdYxg85DtvzvvG9iT4ryYp5oeIhKPpcPAnLkrB/SPwVu/dO+BwkjE4IjX+dAw4HLnZtYoLaPPpGDP9uBBYPXT3GTe2/7wYmrkxuQePVWnXujuIZxhI8/cegP6N1WSlsdbGGank6JpWirOCxeMmPy5HFN59Kss9y9SWok2njei+xetha8Nvz4duU2/plaBTheyogeFXNEEz5QAAuV2gJA== X-MS-Office365-Filtering-Correlation-Id: 364b388a-8e2c-4762-1081-08d3ddecc3d0 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB2006; 2:UVboqZmp6AG62K7/nFN4ruT5ZZTUtuJjVn2zyFc3aJvaZWRbxtcb1w2SDEZtm3OB5nI+wtP4N+GjJsps5S2rzodSKlPeAZQCM7wCX9gmuPK2ULuRKeZCfF8+rZjcrcMn61cUPDp0932DLpe2KE9umzHzSP0Lhq08yBCjokSh1DDQoAg4QKFMq0/SDNFuhVWN; 3:w7HzkyGZKorelz2Z/P9MlpCBfy52hB5VKPfvShfzt/c7Wze9wURuK5Tbd2791+ZrB5h2h9kHvmhpJYLMhBWOG/Hp5VGZLgITdvxlg+tUahSN+a9ilJt4jlvjaCWdQCJzBqfz/vQkM9hQGDm54n/IVpA7lnFtd/nxrfUY5H6LgvcEqgjf/YA7qfjRcj+Aki/bRMdf9+3WczCHTlwjwbwQGCA9kDLCFZgUIRs3EewzCGc= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB2006; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB2006; 25:bjCD92TN0cyFzPxGf9sxUus1t6sClYeRGv2u9ZexeApfCcPSxszD3AqgBlOhOIvEk4wmFG74lYSzm24tCpAcQXRINlOWDbKtRbKfGCMRvm3Z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V3cYDrDGrHlMEAZ0Q8eiMGMSQcnO2WAdgm4Y/1Wpe5rQwjuDkMPR+SbCfLadyAZAf4h+nx35hzev0rrEx7gO/TKOAWHeSUzJR+wq/PGUMVIrj/8h8EO3yPoJaWzSbwyQMzYO5PwqH4b018eo6bOrPBNSEEURY0IXCWsVxYjemkt6ZK+468BjkXhR/Ul4UBzRnPZGagAxI8lUh6wQ+P8ii74afrpW52ZVSCyTHemLF/oqV3izS6+JNsN1R0eCp5n3ihxGqiJKJeALafT0kcDV77crchuaTi1vDe/+671mLPio+V72khqBCljcfCiZ4cBY/3PFdPKlr0dHPyNDLhQxprCn1nzBQj1ORJyj3U1+Yhuj/xhWaHMERU4D3faFvYklfJI4B4lXy/YaBLLO4KPKeDAxQW4b2+xxe7OD4YnjhxsfW5A= 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)(13017025)(8121501046)(5005006)(13015025)(13024025)(13023025)(13018025)(3002001)(10201501046)(6055026); SRVR:BY2PR0301MB2006; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB2006; X-Forefront-PRVS: 0067A8BA2A X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjAzMDFNQjIwMDY7MjM6MmUvTW14L3JrRFZJdFNzL0pVbmlIZ0Mw?= =?utf-8?B?aUkralIvOVJCYTd1RTlReUJ5aEIwMTA3WWFaRjdqYWFQNVhjREFzUHdpY0dx?= =?utf-8?B?WHB1aWttc2VWMmZLdkpHazU4aDB5R0F5eUJsdmlvbnpFQ0tjVGFHRm9IVTU5?= =?utf-8?B?Nkt6c0xyY29KM054dU4va3d3WnAvSXhIa3FSTTNGYjVmS0FnK0R0Rjlnd09w?= =?utf-8?B?RitoZWJTSXpmYkN0VDNiVTZ0TTdCOVkrcEVSWkYzS3A0WVEzNUhqNVAySWJw?= =?utf-8?B?blY4eldK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8wQr+oE0N+QlDN1hsaPKOJPDs/N6Lxi/QLwbE4C/YigXjjMUpy1shgzmqlPefRgoLwcH5n2lEwteXg8W8jc8tVt4TJr85AImO/qc=; 5:UpaLK9roQI0GlAl+FdqJoWHXz64+/4wObn5qmbTcmq4U99FMbM/GCG2cywb4K3AjPTtIPAC4252E9LW2FsRWySWV9MzuDonQvDC/tClfeDVoJDCWxf9hNKBlcn9ooVEeHRG60wU99yuOKLoo5dO/IoSxdiKdX+jut2mYNlhJdW0=; 24:qc3+M0rmXhJ7Dyf0sU3U28gefwN8GPN0/anSmS9sqenRki7l5V46gdFdkGjuIP4F/jCzzaqKDhO9r06k7UVmvJPwyxeHPIIbsFB4rQgyR2A=; 7:kXqXV7Zjqtxk71ZhsE027og8jUqk0TarrlhK17PD9cjCEA3yuAfKMJOq6eSXA747daNv+HJazo/1i20VKobP2baJZuzXF4KFFoMSNKp9EW8V8sDkbxqFxw9b7rfIto1EZxFMw6PrPaPW2asmIsLzQ728/lWgX41g6mTcGhz4wMmhjvFjA7hwXgQdClV2tTN2Yt4WWQ8SkgzcGPcbptUjCPFjlaeljyhT1ptv1U3Fl1WmxtUZetJHvYhNHqHvZcQq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2016 04:48:55.2217 (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: BY2PR0301MB2006 Subject: Re: [dpdk-dev] [PATCH v9 08/25] drivers: convert all pdev drivers as pci drivers 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: Fri, 16 Sep 2016 04:48:57 -0000 Hi David, On Monday 12 September 2016 12:46 PM, David Marchand wrote: > On Wed, Sep 7, 2016 at 4:08 PM, Shreyansh Jain wrote: >> Simplify crypto and ethdev pci drivers init by using newly introduced >> init macros and helpers. >> Those drivers then don't need to register as "rte_driver"s anymore. >> >> Exceptions: >> - virtio and mlx* use RTE_INIT directly as they have custom initialization >> steps. > > Afaics, we are missing some DRIVER_EXPORT_NAME for those. I have updated this in v10 based on the patches you sent me. > >> - VDEV devices are not modified - they continue to use PMD_REGISTER_DRIVER. >> >> Signed-off-by: David Marchand >> Signed-off-by: Shreyansh Jain > > - Shreyansh