From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0082.outbound.protection.outlook.com [104.47.32.82]) by dpdk.org (Postfix) with ESMTP id 3E76C2A5E for ; Tue, 14 Feb 2017 06:13:56 +0100 (CET) Received: from BY2PR03CA079.namprd03.prod.outlook.com (10.141.249.52) by CY1PR0301MB0731.namprd03.prod.outlook.com (10.160.159.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Tue, 14 Feb 2017 05:13:53 +0000 Received: from BL2FFO11FD022.protection.gbl (2a01:111:f400:7c09::166) by BY2PR03CA079.outlook.office365.com (2a01:111:e400:2c5d::52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16 via Frontend Transport; Tue, 14 Feb 2017 05:13:53 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; infradead.org; dkim=none (message not signed) header.d=none;infradead.org; 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 BL2FFO11FD022.mail.protection.outlook.com (10.173.161.101) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.904.16 via Frontend Transport; Tue, 14 Feb 2017 05:13:52 +0000 Received: from [10.232.14.39] ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v1E5DlH7027964; Mon, 13 Feb 2017 22:13:48 -0700 To: Jan Blunck References: <1486986909-27597-1-git-send-email-shreyansh.jain@nxp.com> CC: , , Thomas Monjalon From: Shreyansh Jain Message-ID: <64d01f74-ec13-cd75-210c-322f9ddcd20b@nxp.com> Date: Tue, 14 Feb 2017 10:48:39 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 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: 131315228330993437; (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)(336005)(7916002)(39860400002)(39450400003)(39840400002)(39410400002)(39380400002)(39850400002)(39400400002)(2980300002)(1109001)(1110001)(339900001)(24454002)(377454003)(189002)(199003)(229853002)(8676002)(38730400002)(6246003)(65806001)(356003)(65956001)(2906002)(54356999)(81156014)(81166006)(23676002)(230700001)(50986999)(83506001)(31696002)(76176999)(85426001)(81003)(47776003)(50466002)(64126003)(86362001)(36756003)(54906002)(53936002)(8936002)(110136004)(305945005)(65826007)(4326007)(92566002)(626004)(104016004)(68736007)(5660300001)(106466001)(105606002)(77096006)(189998001)(4001350100001)(97736004)(31686004)(6666003)(6916009)(2950100002)(33646002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0731; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD022; 1:RtDmnSs3tdjkd5dZwLFihu6J0KjaVXsSW6UuGPHUWLNApVsgMgejoCgcbFJ8A45YeDjo86IqpaRznpwSByRBmX3U84fGH+T+4LCMRs8FjKOa1UK/Kpf1iDFUUg6ZG9SyLjE+mms/HejThd5G7jU9dW7+xlJSBYYWe/68d1J2KRKmOCaIFsFWCZDaMhaS2bHfOmLcZ9NoRityc22Ua0ysvXUqIb/mHyH9aqSJ5+nWa9K8C6W2alprj0ofdkugC4R9dhteNCeZFwovQIo5QxtGfR7j6j1Mcw177LR5Uzyq/pk6i1QKqe0SEPlqcNNeHCUQVyn4NpgG6sQyU6YrtVuL1ZW6qGFHRWWjZEBqtvdTKLRd8x9kgrk0+GWsx4yjxhIAsFj+Xc7dvwNoo7F8FBmF9Fse002GrTbJIORx9CZCqaP0kDaxb8y9Q4ngkb1VQ9ej6FwKAGtd3GYdzL5petey2ZVfjFhusjkhlDL73fTkNy3L+llzT9tZaXnGzhceYi8JPpvb7a3zdbDPTK7T3uHGpoMjSSGL5W5FJoZKimFJXKi8Owex0XTAQckEzARJXJN4 X-MS-Office365-Filtering-Correlation-Id: f6b5c071-4632-4b86-45bc-08d4549844b9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0301MB0731; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0731; 3:7adJRObxSBBJgAp3OEdsdqaclLmF8Fsqvvc91RitXSc1W143akvjOsHSSwSLGpeVGJ60XrpX/sP9nPFxurrJPQyCBDRduqr8mPNK+8SSYhHq/iApbvQ3jhTAyJerKaZqqml+5lFEEE27HeheB1S8Umb7X9NXZG0OAFgmOoBRrNNHkol9/bHRfA+MLoupJ32r3Lgr6P88BmQCxPtMFfrNmu82hzEpYKoQcYzfBTc+jnlDame2clId01gCMMMWat3TntgirRZ81htWZeNXj0z0M1eLBJIKuc1fPW3Da//6gEQFyLWAV5cl7bpAfAYMQxjRLycVm/5UBvQt9SGMjguDRUkNqbG5le86PQjfmfr4f5lIUsoeDJ/P3bK2aBQHwm3j; 25:qHfGD1+MpfO5GLP0GDZDigCg9eLeK/gO+UKgj3r+PXaenQ2NYCJjidiGbzu4qVAn9jTZ/XrV9HCCmJMnO8rRszm1/eaBIbGaFSPGFaSJS+pRWdsyzkEYFZtKxgyUfKwyTRll+YGkDsiXKvCmFkP6TWMXv+RGmUySh/vPYTFuhCxZyJYSix9dVqjayg5aCMHK4QaQ3ZKz3fWQY1T3aZXmXjwuKmnnuOygWolFGRRG7/HZKclhk69VWueIBSyujdRuUCo6LczKxH4SQDIqMhfeHMnth9aFzwzZfMXgcwJKqmgxKmG1r+Puq/iITWgf9I8YEJBgAxMXLSfYPOye2dUeS2FXFIjGgoimBjcX7jsruOMLfKmvH0je8p6O0SaokC9+NBaASkJEit763L7J4tvtbAcb0xlOnaxijp33FffyfiDXpR4B6bLY8ntipcjOLq0/X133Hg4q8EgEUxhGF7tw/g== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0731; 31:dhruYxUe3q8ZTn10wh4S2HhEBBuv2Lwrh9zz3pIZvviABMZ2MQR9FA1Bnib2/Nhf0kk4xIMhvuqpqWhEAaqalrAQoQUCJpDRXL/XMIdXAlCWpd5zsAeOl9sb6q5xEt4q4vk18dBb/6yOIU/C5Ph4OC9KbmgeLXYBg3bzvK5Xvu6RZztBYsEDeDtN2zyVf9UKo90WCSH3bFNLmOLJfFX8LnMPFiTpYg5bQm3b4D3y/62g6U62ySVfLrGHvSdZ/t/wHCfIm3donXiz8T00GA8XCw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13015025)(8121501046)(13024025)(5005006)(13017025)(13018025)(13023025)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123559025)(20161123563025)(20161123565025)(20161123556025); SRVR:CY1PR0301MB0731; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0731; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0731; 4:3rjUvtIrWa6pD/uX+TVXWDbT2gLXK6q2mgaVgr0B3ihEmCsKd7k+go8e/i07TCREolTeIZ99QxpNnZbwGm2dHxnqnIuFPCeLdXjP+lt5TDq69Qkh91r2paWO32JbyrtkFrUPCucIDlxZgfT2vY55V+CloSZW6Ei//xJ14x6wWHEpTIMpWgztjajmI7qGyLVKF0NWmQvrcT8KWZ5sAvcVNUGm7qHxfWO4en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ctzX7W5LtmxkjGPiX4Ai+GTyq6/a9W3kyyqoMubKhIqJbj4xdy3YZKJCBdBMDr5IRkclisWIqUAl98JGhxoF+XRWIphTt6tbfWMwAAHKi8MpgsEze48wAUwVonWpwlrKaSv4YH6rgX7moTbl+k6DFN2QhVKu8ddOsIdDncOXOsg07xm1HztkO6uuFXjtgs3q07Fhwo3XUPa5A6iPFEtN2H/EmPCO4Tq45qJ56v5Myw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2017 05:13:52.2413 (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: CY1PR0301MB0731 Subject: Re: [dpdk-dev] [PATCH] doc: add deprecation note for rework of PCI in EAL 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: Tue, 14 Feb 2017 05:13:56 -0000 On Tuesday 14 February 2017 03:26 AM, Jan Blunck wrote: > On Mon, Feb 13, 2017 at 1:00 PM, Shreyansh Jain wrote: >> On Monday 13 February 2017 05:25 PM, Shreyansh Jain wrote: >>> >>> EAL PCI layer is planned to be restructured in 17.05 to unlink it from >>> generic structures like eth_driver, rte_cryptodev_driver, and also move >>> it into a PCI Bus. >>> >>> Signed-off-by: Shreyansh Jain >>> --- >>> doc/guides/rel_notes/deprecation.rst | 12 ++++++++---- >>> 1 file changed, 8 insertions(+), 4 deletions(-) >>> >>> diff --git a/doc/guides/rel_notes/deprecation.rst >>> b/doc/guides/rel_notes/deprecation.rst >>> index fbe2fcb..b12d435 100644 >>> --- a/doc/guides/rel_notes/deprecation.rst >>> +++ b/doc/guides/rel_notes/deprecation.rst >>> @@ -13,10 +13,14 @@ Deprecation Notices >>> has exposed, like the way we have done with uio-pci-generic. This >>> change >>> targets release 17.05. >>> >>> -* ``eth_driver`` is planned to be removed in 17.02. This currently serves >>> as >>> - a placeholder for PMDs to register themselves. Changes for ``rte_bus`` >>> will >>> - provide a way to handle device initialization currently being done in >>> - ``eth_driver``. >> >> >> Just to highlight, above statement was added by me in 16.11. >> As of now I plan to work on removing rte_pci_driver from eth_driver, >> rather than removing eth_driver all together (which, probably, was >> better idea). >> If someone still wishes to work on its complete removal, we can keep >> the above. (and probably remove the below). >> > > There is no benefit in keeping eth_driver and removing rte_pci_driver > from it. Technically it isn't even needed today. I agree with you. I stopped working on it because I realized that removing it means making pci_probe call eth_dev_init handlers directly. Or, restructure the whole of pci probe stack - which, because of pending PCI bus implementation, was slightly tentative. Changes are already expected in EAL PCI code for bus movement, probably this task can be combined with that. > >> >>> +* ABI/API changes are planned for 17.05 for PCI subsystem. This is to >>> + unlink EAL dependency on PCI and to move PCI devices to a PCI specific >>> + bus. >>> + >>> +* ``rte_pci_driver`` is planned to be removed from ``eth_driver`` in >>> 17.05. >>> + This is to unlink the ethernet driver from PCI dependencies. >>> + Similarly, ``rte_pci_driver`` in planned to be removed from >>> + ``rte_cryptodev_driver`` in 17.05. >>> >>> * In 17.02 ABI changes are planned: the ``rte_eth_dev`` structure will be >>> extended with new function pointer ``tx_pkt_prepare`` allowing >>> verification >>> >> >