From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0068.outbound.protection.outlook.com [104.47.40.68]) by dpdk.org (Postfix) with ESMTP id 802E13DC for ; Wed, 14 Dec 2016 06:12:17 +0100 (CET) Received: from BY2PR03CA069.namprd03.prod.outlook.com (10.141.249.42) by DM5PR03MB2476.namprd03.prod.outlook.com (10.168.233.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.8; Wed, 14 Dec 2016 05:12:16 +0000 Received: from BL2FFO11FD047.protection.gbl (2a01:111:f400:7c09::101) by BY2PR03CA069.outlook.office365.com (2a01:111:e400:2c5d::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.8 via Frontend Transport; Wed, 14 Dec 2016 05:12:16 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=fail 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 BL2FFO11FD047.mail.protection.outlook.com (10.173.161.209) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.761.6 via Frontend Transport; Wed, 14 Dec 2016 05:12:13 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:1068; Count:13 Received: from [10.232.14.87] ([10.232.14.87]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id uBE5CAvk014901; Tue, 13 Dec 2016 22:12:11 -0700 To: Ferruh Yigit References: <1480846288-2517-1-git-send-email-shreyansh.jain@nxp.com> <1481636232-2300-1-git-send-email-shreyansh.jain@nxp.com> <1481636232-2300-13-git-send-email-shreyansh.jain@nxp.com> <44213d68-1e87-c464-549a-274e389b9c0f@solarflare.com> <108fb50f-a5da-1646-5dc4-23b03be6a02e@intel.com> CC: Andrew Rybchenko , From: Shreyansh Jain Message-ID: <85cbe230-7e9e-08ac-7eb7-7b1bd91fad81@nxp.com> Date: Wed, 14 Dec 2016 10:44:57 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <108fb50f-a5da-1646-5dc4-23b03be6a02e@intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-IncomingHeaderCount: 13 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131261659343534791; (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)(336005)(7916002)(39840400002)(39450400003)(39380400002)(39400400002)(39410400002)(39860400002)(39850400002)(2980300002)(1109001)(1110001)(3190300001)(339900001)(189002)(199003)(24454002)(377454003)(50466002)(93886004)(2906002)(4326007)(305945005)(31696002)(86362001)(36756003)(31686004)(105606002)(230700001)(76176999)(54356999)(92566002)(50986999)(83506001)(85426001)(106466001)(626004)(47776003)(5660300001)(97736004)(38730400001)(104016004)(4001350100001)(6666003)(77096006)(65826007)(65956001)(6916009)(69596002)(110136003)(65806001)(2950100002)(356003)(64126003)(15650500001)(33646002)(229853002)(189998001)(8676002)(8936002)(23746002)(81166006)(81156014)(68736007)(21314002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2476; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD047; 1:OYUbw42xFfWC59Y/NZd3VGItGK25ZJiMq4wLL8qY5KukMiu4lA9ZGPZ6m8FSTBm4dQe2D+7jxkiC4Kk398kA6GrNkzwIOAfogIYRogQM2vFQha6C0xMwCae3RKAiKsRqU87pWlMMVhxCuKciP1tfx5YQG6v4SePvXy8Uy3R54Apuegv5Wi8iADj3Tm0x8BVV85nvGfCDW4ktrRYE7c9mcDg2RcwOuIfIoNTuKV8R6lvx/hzcYkiqTLyAGiL5NFy+E7UKjTB4KZ2hXy6MQ2wILEy9THLjhddw/n4YvykcfP3E4RK/wyW9dPpvvUSEDq3Ey2L0VNM5oLP8qTOjpFh+CsudWiOA+73k8Eu5uUNw4k+AxaP3vHDInrVPd18kIPGFP1DF9P6yk9h7Y61TBSnEh4k3M1nd/LM9gJbWFbY/uSGTkboYMXkOka1vD8pvrl3cZgUOYkp/HUyIkbvLzhnYPO4s8VGKk4ZZPSN9RI8VIzp9owhoSfb6cBq9nvMIjF4WZ3A68sxGHVlPo97SggprZqf1eV/a1ZterQSObST9axsC7fZWX+xse7tyFtICRgMbgHVsltXASH+Komfd8I5BaKg+5pGSCxWCss2QvrPHOzB7u2U+/Do5WtOLdteIJB+az+h2lDCtbfQOZSM7lEI8FYGJlH8Zg1eL9QlHllC+VBY= X-MS-Office365-Filtering-Correlation-Id: a04b0773-16ba-49d7-5968-08d423dfc441 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM5PR03MB2476; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2476; 3:q+jwEpTH1nCzo2cUwdR1ZAncLYjwmD6xJ9vWTTRuSFeNQdAz48W163RImm6cwPhaSb7iSrWo5226fQGJuDPVjRbzcogyGpky2EieRGAACzl+NrTDyYwHjdpgSJRLjDnCVnE7Lfv0cnt9lGt7zXBtlKhUtFmMUzxSZ9B1WKqNCEJQuyi8VkCT3fBoEFKqCiNotzuSqdsPkpXWiVtZFKg7RZ0LlzNZ+D/3pjq7QcbAG4N+5wb6RKABk/3n5VuphBCEOMqPzoRkRlscUT8+ALnA7P4jHRWcEfPOJqeGliXHjuY2ftEE4AWUEnt5Os98+NwSpElpmFTaQAfnuODuHl02bZyorWDZmjroIxS9zwRiES0=; 25:FONn8vRB5enXv2jajlPV6eShW/mrUnlFiImj0UL4JkMbnsAEaCFg1xA2OB7HSByzpbqr+1pU1+mt+8C+KDfY8XCHNgWeJ8vuTurl9DE5TY4WHGpakXf/FA18+YRG8v7O7v1CeTwPiFQ3uJC36b9Zl6DFMnenFzn3SBYwWg6qOTLiwzsHq6KYoVjD3g3sNJA0JtVH7bliyiTrsUCoB+EaQMhoDW40DBudk4dPwDcJkYFK1ZNa0LEkMj1E5//gfwLTRjgTafA1JwUKHT2tLvKHJ4VyXz7SkJqf82LK7GnJOD7B3ugxLHXH4fH1uwxgr9gcuBFO/23dvdt/RQBpCb6f6Riuyj5rzlyvVqPaR9tQi92RSOM9jA9Rt4lNpj3dJbeR0z0Qm+DRobN0zvJu9wqtAhRT7leV2QUrf0+epxnvsgu0nHN4pvawq87YdyzHVvny4yMhQ25M8JQizceLpRU9fA== X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2476; 31:xnj3e+cuXSQzdSrLc9UEf+ekuw8KmLG/BF5+b2zBp8T9Ewo/VarSypm3rHj2KEpFkB7Oejkfqm4NeSqCuMWtkt0YNV7OnZZd3zgFoXIaEv6msEZTaJXHEOPV2DyuPTy2wp00LMUDc6Cjpg8P5K9w/kUk4H8cMhCgX35X3i1FlT0M+9Mw/EGTbiwqiRLfOoFkdBtMNLeD+8PCJzuq/U0Iyh9VQv+mJbON23/vv8wYpbCQrPFDSHq/f9jGlyDc1CoLRppHE+CMALEp10+az6lkCw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(8121501046)(5005006)(13017025)(13018025)(13015025)(13024025)(13023025)(3002001)(10201501046)(6055026)(6096035)(20161123563025)(20161123556025)(20161123561025)(20161123565025)(20161123559025); SRVR:DM5PR03MB2476; BCL:0; PCL:0; RULEID:(400006); SRVR:DM5PR03MB2476; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2476; 4:ZoWcTmYYSoPtYKn6ODrf7Pmbq/tXOMJ9Ly757L3/RXvoJN9LPEiMiQ9rGqdfOh2hk0M8GmnZiAvOyklQyJxeRY+nXycoPijWLQMjpBGTa5KjitP1vy432OcP8qgDdPUgvSGyDAvWewLEh/qxOoliBPlXQr4SmG8kvicqhSFoddML+L+ZwQEz00Wa/hcEOTHFAR10ZY1HU861/Yl2oxHKu2WLe6E4Zt/Y/Ot8t5VlD+LFukNrHqtGY3TsciTwZs4JSRl+JYx5/9xNuHt0qyezg0g6jSQCh+7wVPbUVPpef+aTg1BvP98Jmi6R/UUNDsGP2JtoVHsDtRXwuDDVt+mJIGzKZTwTg71PJWH/4MikqgtZGL1sHV81NtuYRDyVzHO+XoVOP4HnwUrlkWw71Xj5WDo7oFNkcWAmUGhT+UI4KtbksDqBFNgjb7v0DNf+aUmuxrtFAbBiaPfFJQ9H+TyLmiU2YENsarRVdle1dsp6W1qnhGETmK3xoPBjbw5CwJSK6JAU8G/M4i7QjF4I7USkKeORpqxOoTmhitl7MpHr5hJBCDRupG0/EBQ7iRKIi4s8Ny5p2Evixsf+5vE5RZ3/98vhOaMbCT7NYALGV232uost1kd8Lp5dEGODc9N6vHyKHhuHiml8My8rEt8v0mEqPfoPpPX5X8XrtyAEZzkoeelC2bA7JIwa53oA/UujU/Kj X-Forefront-PRVS: 01565FED4C X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; DM5PR03MB2476; 23:Yhtvr49qFuCfbUATg6QaU5KoUC9ka69zEQ6Jn?= =?Windows-1252?Q?DcUJUvnegMspiXCXr0xouVD7pu5vB/3qu1G1ePzgl5FW8Vv5uUXJTEfE?= =?Windows-1252?Q?N0gzF7uvhV1QhsHo0NhEjQ4HL2FW3Tj71B3g59MNNdBfY+OnCVTjlVJJ?= =?Windows-1252?Q?N5QE84eGlaHt0n/r6EsZc8+SKbNsgXU2SVLvEyCbVNsALgDgL4qX2koZ?= =?Windows-1252?Q?kqC+1+wh7QBT2LMgOQa8OHG7CXTdAcCaOumLL+xJTNKIqITyNJpONo3i?= =?Windows-1252?Q?5LWqZnCjbUjVBNn8qaDKefpV5gOppiiSVsKgopxW6+uQDb0BAo9Nifvk?= =?Windows-1252?Q?Yj6MNLmi8N7hXswQGWM+T9z81S60RhbIWRW+rHvj0W3EzFhbt1Je/6K6?= =?Windows-1252?Q?aMd0xC66UOPf6mWdbnSLtQmcwEkWNfVWFyPSRwGIeZ7pYE6lpoenGHKV?= =?Windows-1252?Q?BBFbXfYb+oHYUbX+HcyIMDIfbx0tG+otLyHUxpmGKRl6+wBYPf+bSQz6?= =?Windows-1252?Q?2mE097aF2oun+UkJKCvYdOVr8Y+DG0+AcXIFzV7jJXLps92MQRyNkmnd?= =?Windows-1252?Q?59r7PAVbTVWKFWKwgRQMV4MTgmbD/2hmdgxzaQjN0qQGN0fJsveH4VqY?= =?Windows-1252?Q?5AW7cmNYMjJVHcV5ZOqaJxjqgmGzlau+G4HR7A1pTB70dxAJexo+b2Zn?= =?Windows-1252?Q?UYVXwy9xXi2FPBpZNM+littnQ5W102QGi6Uw9+f9qgix/dAwK3u6UzUs?= =?Windows-1252?Q?0xDxHlJ9ZJukhYUusWJK6kdtzzIG76LVLbGqbLdx/4v+HIkvUKoF09EJ?= =?Windows-1252?Q?LZ6GLx4q/7Gizqqj5ZOcEkD/xTPC2V5uctwEaE0jPUPNbZxNGacwa0N1?= =?Windows-1252?Q?fF8p3zFuxnHseDqaFbnLdSktwjmdoU+uOGQcFKMhDOMVIZ+dsxcVYe9Y?= =?Windows-1252?Q?g397bVmX2cKEcJx0E++wsZyZXonCWNZYIa8hP7I2W+gO7YGJU2IvOjzz?= =?Windows-1252?Q?Mzi2O8GqE51Od2RAz+SDSYhne1z7uGefvh8eL7DKadl8dT1V7KmQuRZt?= =?Windows-1252?Q?dqoSlINDmC0MtfhZef0LxFu9OK5c9zM4FIagbSrtlxENWC/YX1ps29Gx?= =?Windows-1252?Q?Z/T7LJLANTPEtUYFs1Tbja263Lo183uHuoCGwF+1NO8bMGXifdbFXF9e?= =?Windows-1252?Q?FKzBnIXohC3EINQM1V1rnwQIGYNvZQuSQ6+i2LG/kFDGiqU2iQ9Annb2?= =?Windows-1252?Q?THdHXdTGpjYBVua6vqnZK7zOQgxmrgZ4LPpBciVoRaTlOQTwYHASTiuJ?= =?Windows-1252?Q?FsYkUakAkuhb3rUPGnl7dLVqr1ZJh9yRNlfkzzMFreS9gn/pORaQD12q?= =?Windows-1252?Q?OHJ4SMEh7/tWyuR83OZB/42aqir7VZsoKOY610FQLqg4TJ8e7QrBltZI?= =?Windows-1252?Q?zjZsWEv4J7g8WI8eoOvjaQ8g2LeWlxZe6ATsmqcZlHxr93BryJSvlkUB?= =?Windows-1252?Q?u4qpMc+Tommnia3lwqJSQ2Ci6qtqUrwxHveD7D5wXMxfkSJuQe9NTrRp?= =?Windows-1252?Q?Z3SYnnkLUsc9O9Gbb/4wUN9xntyHvnrzwIFxbR58297oXho+4Huj+WDG?= =?Windows-1252?Q?MrVaP4EQA5cpd8aHm4vyc21vuNK4O2edJ7tj5GJolSB6wT9dU+dnkmwo?= =?Windows-1252?Q?wqKl/t1ZRLYmw6mvXzpkXrxQ8xwLdc0mWcRr59l7oWW4k/Mfpc8?= X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2476; 6:Jt5GpFJQ9GRopXNtWTSvQQvj1mOvPTVCg431/4jc1+wKVXElMZqEUYS3gdMh1I4tsm4K0lef2sjQM2OFAzlxomyGKhnrNxH0BgKMYVgOojeKq7WNzWtNrFo7E1jdp78D1L8m4tshKPxiHkbZ0ii/g5cMvb09L31Ce5PAg1sRg+YxIX1TztCrwrwMjmeW4N1EXWeGmOtZtB7lDxKt/Xh/uC2a/FkhUplZkQRugl9u2TJI6SCjET3XTwNXOChlpEjbZHaTn4ZzP7fCUcdVySQ4gfsCqXLpodaz05VjfEQ+ID5w5HQa5oS6tFrNbN97me3bJ447YgQqNrlVHK8Hg/Gjrmhvc5dWmKSrAnm6ZO8Uoeedto6mmI/5Jq28rbIlA4aTCtt5WJCeAg51Cj02hSDaTgKym0hLaiKuvDPFWWxc0+p7JOTK8JTsqaFWfdH4bTET; 5:CQqSVdLKsWX1M/CPmCpOdw7w0j8gZ6TPVJBYNoenzdnwJGCNAywZzoPgC5w8ZNKTVdBCSaoe6bEdemVHUc1WbU5ZDSWS6mwkZjVrVbtNiML+5hU5JJRmTbuMSMtmN0UanCc8Ab46G0I50+iWkVj+qTHRRzgiiSrgDhdPHyqkRqm4Cy+NHql+7oU7lnUpvbDm; 24:VOPhzOS3V1G7NnEyl7dEy9brD/qALChz8XH3yyd8jtPHYhujSGg9XqbYPg1xvIaQfDEkcvRDA2VKDGnfk2IXsaTdRAzKLfe0h+hvUHiNQh8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2476; 7:wtPG5dlFqvxOu4OFoa059m8GwdjhmmSHpe7mn4UiPXzaln6YB/gSzPISJ++o7mdmAv3+B6cfGBV/2RgwZUR6lNJFdmV8vCwp8fH9BlLuB0sMvYi6zYG6V4W/0l90zta15zTfZSv58yrIlZdmaJooHLeaNMXPUb6v8nMFr9iis6zUXCYWAorRdfqAFsUA9fozFbL8R4mT1vdnaFdUKRLD4JHJcmunn019/1CJmuJqNE3PjoxPoOfO9T9sotaaygYUrEsNekuYOw8HNsUWDQsgs7AeY9YODi09zbSmoaskE757c1kJN8NzBSX/lCfx7mdxWzM4ZT2ZnJCVWyWCYjjt6sS74I6vk1KDRfb48aj2TIn+j7tD7z90P/37bUxscY+F5AbyWCiiKKM1pfoqNzIFdUw4OUVy007lRjDKlmhUqytESOL0+6UcCoNPprt+W9j+zOmpTjzQldZiyqKmO7kWmg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2016 05:12:13.8542 (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: DM5PR03MB2476 Subject: Re: [dpdk-dev] [PATCH v2 12/12] drivers: update PMDs to use rte_driver probe and remove X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 05:12:18 -0000 Hello Ferruh, On Tuesday 13 December 2016 08:37 PM, Ferruh Yigit wrote: > On 12/13/2016 1:52 PM, Andrew Rybchenko wrote: >> On 12/13/2016 04:37 PM, Shreyansh Jain wrote: >>> These callbacks now act as first layer of PCI interfaces from the Bus. >>> Bus probe would enter the PMDs through the rte_driver->probe/remove >>> callbacks, falling to rte_xxx_driver->probe/remove (Currently, all the >>> drivers are rte_pci_driver). >> >> I think similar changes in drivers/net/sfc/sfc_ethdev.c (already in >> dpdk-next-net) are required as well. > > Yes, that change is required, but it is a little tricky because this > patchset targets main tree where sfc is not merged yet, so this patch > can't include required patches. > > I think it is possible to wait for this patch to be merged into main > tree, and when next-net rebased on top of it, sfc can be patched > individually. > > So, yes there is a work to do there, but I think it can be postponed a > little. > I noticed this email after replying something similar (and a question) to Andrew. Sorry for double posting same thing. - Shreyansh