From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0072.outbound.protection.outlook.com [104.47.40.72]) by dpdk.org (Postfix) with ESMTP id A65FA326B for ; Thu, 27 Oct 2016 13:31:24 +0200 (CEST) Received: from BN6PR03CA0069.namprd03.prod.outlook.com (10.173.137.31) by CY1PR0301MB1628.namprd03.prod.outlook.com (10.162.166.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.679.12; Thu, 27 Oct 2016 11:31:22 +0000 Received: from BL2FFO11OLC012.protection.gbl (2a01:111:f400:7c09::190) by BN6PR03CA0069.outlook.office365.com (2603:10b6:404:4c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.679.12 via Frontend Transport; Thu, 27 Oct 2016 11:31:21 +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 BL2FFO11OLC012.mail.protection.outlook.com (10.173.160.159) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.679.5 via Frontend Transport; Thu, 27 Oct 2016 11:31:21 +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 u9RBVIlM024718; Thu, 27 Oct 2016 04:31:19 -0700 To: References: <1477552109-18624-1-git-send-email-shreyansh.jain@nxp.com> <1477567752-23039-1-git-send-email-shreyansh.jain@nxp.com> From: Shreyansh Jain Message-ID: <9eb3805d-8f6c-c1ec-4be6-35452a3d8458@nxp.com> Date: Thu, 27 Oct 2016 17:02:48 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1477567752-23039-1-git-send-email-shreyansh.jain@nxp.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131220414816972546; (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)(377454003)(199003)(24454002)(189002)(31686004)(575784001)(86362001)(6666003)(31696002)(8676002)(104016004)(81166006)(81156014)(64126003)(77096005)(356003)(4001350100001)(50986999)(50466002)(54356999)(189998001)(76176999)(23746002)(97736004)(4326007)(5660300001)(5890100001)(11100500001)(19580395003)(626004)(6916009)(110136003)(68736007)(586003)(92566002)(33646002)(36756003)(8936002)(2950100002)(65806001)(230700001)(65956001)(106466001)(83506001)(87936001)(305945005)(47776003)(85426001)(105606002)(2351001)(2906002)(7846002)(65826007); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB1628; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC012; 1:hvu1khdda/de+BVsriflL3oIoFm0wnBQwLJHMC8EYX0GStlShjntBkFTsvtUZHwy5SgTYy06N8sH+dji0CUxV6w2+Yq6OwwhRnTayCxYz+vtz8k1y4OeWccX7uu9EFKW2ESarEQJTdyEHqZWPUoHx3sCxMSRIt2tx/4PVNWrQpb1o4x9dpsFKWwHD7j2Exwj7sMC7Yfk7P9L7sDxvDYet2TatJGWgOKTEFUYZSF+9aYuMusZcOoAvkZjMhjkZyWXpzkP+4DD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I95W7HYwd3RSyWD+W/rkNaC6tsiZMt1OMSPAf3ZPa4i09TKF6IhpJX/SccSv7nhkEmmAs5GcNiVy1Gk+rZ29pPV0hgvTiN+RFQ7v1xEkLE0Q+GY8FMeeUbSIBek42dyBrCszS+ABkv3PvmxdJk3Q3Uqq021UmlkVjZhvLj1VwB5YoG+EtWMrHsliURnYiLLcNzQ5NaIl+j3/aEZdcfqOw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13017025)(13018025)(13024025)(13023025)(13015025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:CY1PR0301MB1628; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB1628; X-Forefront-PRVS: 0108A997B2 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; CY1PR0301MB1628; 23:zKEPuGF06INs0v8ngd+bXm2BoSb7fL1PyMo?= =?Windows-1252?Q?BQhO/b+ipRUI6JkTb7n6voMjuUuvm7EHlJDxdS3L4DtA5a4Oj0mS2udY?= =?Windows-1252?Q?S/nrXY6vPAh/5Xc6diokbWikRaJ7bCScBSgpKIgkyjABU/DLDsAMN7rU?= =?Windows-1252?Q?3UzSldoiv4HQwlHx1NpzT9KDfoqcm89ziZqoeiF2wZmUt5WzWWVmguzz?= =?Windows-1252?Q?JJSLp9N8LlRj1gPm2din1e6btpJa8/C4PsV1+p82yU0B4YemJsqI8NHd?= =?Windows-1252?Q?jNbAN3uMu0RzIuZ+DyImEew1JRSWO/NWiu/GUMCu8qyExLqK3h+MpRrT?= =?Windows-1252?Q?s1TmTaAIhqOs5UI9yJoNRoYxWDWXfAZtyP0GgQwLzaGkCcGsGqp3qci/?= =?Windows-1252?Q?X+XRYpJxKXKuH8hVML5ufLC+OtuUAYSsdNbv5RuOIJm/UG3/o4rdwkcD?= =?Windows-1252?Q?p36u6gwFi7kgk2LB1ZOBlZCcb2UVjxxtRLwzOq/fLT1Fm90uX1QO/2Lo?= =?Windows-1252?Q?rvnUPE130Ed7jR5K9/ZPMmmWn8XcmP3tawstzVNrkko4+XICoBb6qXAV?= =?Windows-1252?Q?S1HTIzUbqmtkXSvG/NmDu92DLl5jo0YhHt4MfW3bIMRlce1LNiRBpipc?= =?Windows-1252?Q?KHi52vQ/kh3v/cDzmkNiVXqXhYqYkt00+DVKeJ1+Cxr8CUCUxmiCwnWN?= =?Windows-1252?Q?4h0Q4btEXVcwZrTXAL5bBOaLIeDM3LA2EL83QUIF1f2gP9+7mtFB2Plr?= =?Windows-1252?Q?2PAM3ljrJZt+dGnww1sMlfTw1Mc1pcPgKyNfvkKMePQwdN9Cllyxpotk?= =?Windows-1252?Q?IRiFGdYbjI7ZMgtZxDf5WwmQuDs9R7AlCGr04KDyW+q/Nj/IXEFT89nK?= =?Windows-1252?Q?dTf01wpYLpgp8FruQRvPPUJwTtu76DvdvhybxBbAxZxDs0xaI1qBOMJj?= =?Windows-1252?Q?y96cZFv72OTLMRBlVnPN4eul7HJA3Rbu893mHfcF+OcEBd/ApL/l00VN?= =?Windows-1252?Q?8j7SyE+rSjzx/NYoxQnThDVDIkP/X+IJ9Gf8JZzoknVQXicOOAMl5iPd?= =?Windows-1252?Q?lZVlUu5H+EBosWFwBRGYJahaZtK9mNzOmp+swU/Fm6tVRauQABBXIqb6?= =?Windows-1252?Q?RC7Lg2fujs+Jp7ZU6WdqCEDOgudVpTXrx+vhTXJLZk2CBJ67/BhydIi9?= =?Windows-1252?Q?kirLWYnaE11v/42xhHibsk5r1+zgn+5OnDFnJfOGVfrE/68ClbLzzsJx?= =?Windows-1252?Q?I6ds6dVTDX1SUJomGYRJi/z5lzy/EsRnl1yFQdHgWSezzbLKpKIgMXHW?= =?Windows-1252?Q?G9ziS9Y0K7+toVDAhaIcOY4cdtftykzyVQrVfUIWnuU6lt6fr0fx41g0?= =?Windows-1252?Q?vX8cXYyI9w21kdQbI214hNkrqgnJ6lK2yss6LX9jLHb9vGVzWQM1FMb/?= =?Windows-1252?Q?JAj34jkqXQjdazjFCjQFeHtJQlQEjEWQDwTiKQ8BSw0B4DEG+bJPx6lK?= =?Windows-1252?Q?au0Ls4PjEbkOfwgIlluNHIwoTKCcb?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1628; 6:MZ/A0YqtYdmIt6LOLtfFY9DCu+smOoZZclWVEVdStW8RgYZw9Y4e2cQyIQjs3atQCKdscHMEwO5qUriEggXA+gCKHHjSJOWST8SygrTTRBBi0TahmPWUYkOmciic31v5Pbs9y8MfDQ52pt3FBO/xYNMd+k0eClTSPtIeU34HG9EBLOyeR19N/xp10wUUQ0Y0oQz/ztmP6ik1KFa0GwZw6dqk8K1+xhVmOOVZ4YOQch/qm67qoJmV/a+emmPn4AhM1aCZ0ICt+mulO851jnt8sr5hyFxx88Q3JGoWnLDfjp0VCIhOvTGtgZnmzgwL2b+E; 5:82EOdD+DoneNx5n9FvBYhrgAUPuL1MseQp4quQKIAtaxSlB18p3FV0vha4BEx1NXBbryOaT5YYbQHvUiX7mVzRnnACwipOIRWnR1NI3/9OUMa9DP5puElaSNINjooO72uyj5M57NETyjch7JlYeOlSVegdL7pQi9WEn3IRUcR8zC8bPQ2EkfJ6e0j3NGLMyP; 24:WO1nMb4Jy3MeKTM6lRXpMuRDubVU/SzvFobg5hwMl05695NiGmV//MKWst2P9zP579yzfLB74oBBXlAwEZVkB15oeke+1DeON0QmvBDzgnI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1628; 7:rtVkVTFsypmkn1ZR0KWa+rUZF3195Qd0AMAagRM8o/DP10aXyYGJqQitfemXs7hVpATIxb7GZDe2yJY4Ngl+bR9ekWDR01X0s3Uf1LqR5f6on9o3suiJ7vYYJCTElU3inIX8iRq3S+k+YfCjTp7ZnQNk9HO6jA/1SX1QeYIlX0QnVwZ5kRQtagwMQfn0cY12R6tQ+D7zpHlVmV09Mkvcz+8qOuej5HAM5e2f6i1JlGu4Zw/UZfZ9aRLssKNFVj7XmXlJVxg6MySOfyn3bJ1Zip7xfgUj7sOlycyqRH4cETSSprN8ixmcb1lF1BEh6UoQ7cktBRLIzZbgwBp5wCWekC8peMZeS6XCY4ugOfKZ48k= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2016 11:31:21.5100 (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: CY1PR0301MB1628 Cc: dev@dpdk.org, ferruh.yigit@intel.com Subject: Re: [dpdk-dev] [PATCH v4] eal: fix lib version for device generalization patches 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: Thu, 27 Oct 2016 11:31:25 -0000 On Thursday 27 October 2016 04:59 PM, Shreyansh Jain wrote: > index aa0c09a..db20567 100644 > --- a/doc/guides/rel_notes/release_16_11.rst > +++ b/doc/guides/rel_notes/release_16_11.rst > @@ -201,6 +201,32 @@ API Changes > * The ``file_name`` data type of ``struct rte_port_source_params`` and > ``struct rte_port_sink_params`` is changed from `char *`` to ``const char *``. > > +* **Improved device/driver hierarchy and generalized hotplugging** > + > + Device and driver relationship has been restructured by introducing generic > + classes. This paves way for having PCI, VDEV and other device types as > + just instantiated objects rather than classes in themselves. Hotplugging too > + has been generalized into EAL so that ethernet or crypto devices can use the > + common infrastructure. > + > + * removed ``pmd_type`` as way of segregation of devices > + * moved ``numa_node`` and ``devargs`` into ``rte_driver`` from > + ``rte_pci_driver``. These can now be used by any instantiated object of > + ``rte_driver``. > + * added ``rte_device`` class and all PCI and VDEV devices inherit from it > + * renamed devinit/devuninit handlers to probe/remove to make it more > + semantically correct with respect to device<=>driver relationship > + * moved hotplugging support to EAL. Hereafter, PCI and vdev can use the > + APIs ``rte_eal_dev_attach`` and ``rte_eal_dev_detach``. > + * helpers and support macros have been renamed to make them more synonymous > + with their device types > + (e.g. ``PMD_REGISTER_DRIVER`` => ``RTE_PMD_REGISTER_PCI``) > + * Device naming functions have been generalized from ethdev and cryptodev > + to EAL. ``rte_eal_pci_device_name`` has been introduced for obtaining > + unique device name from PCI Domain-BDF description. > + * Virtual device registration APIs have been added: ``rte_eal_vdrv_register`` > + and ``rte_eal_vdrv_unregister``. > + > > ABI Changes > ----------- Even though I have sent the v4, there is another possibility of splitting this log across API and ABI changes. Problem is that most of the changes are quite related in terms of impact on ABI and API. (some like rte_device is clear enough, though). Any suggestions? Would repetitions be OK in release notes? - Shreyansh