From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet Subject: Re: [PATCH v11 07/25] eal: introduce device class abstraction Date: Thu, 12 Jul 2018 09:41:25 +0200 Message-ID: <20180712074125.hfio7uffddoitui5@bidouze.vm.6wind.com> References: <2ebad882d26ce9964b313428d5c07fe83acc880a.1531345404.git.gaetan.rivet@6wind.com> <19f9132f-cbaf-5ac5-8159-1f86e478b9f6@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org To: Shreyansh Jain Return-path: Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 9C6CB1B475 for ; Thu, 12 Jul 2018 09:41:43 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id b15-v6so20632030wrv.10 for ; Thu, 12 Jul 2018 00:41:43 -0700 (PDT) Content-Disposition: inline In-Reply-To: <19f9132f-cbaf-5ac5-8159-1f86e478b9f6@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jul 12, 2018 at 12:19:09PM +0530, Shreyansh Jain wrote: > On Thursday 12 July 2018 03:14 AM, Gaetan Rivet wrote: > > This abstraction exists since the infancy of DPDK. > > It needs to be fleshed out however, to allow a generic > > description of devices properties and capabilities. > > > > A device class is the northbound interface of the device, intended > > for applications to know what it can be used for. > > > > It is conceptually just above buses. > > > > Signed-off-by: Gaetan Rivet > > --- > > [...] > > > --- a/lib/librte_eal/rte_eal_version.map > > +++ b/lib/librte_eal/rte_eal_version.map > > @@ -244,6 +244,8 @@ DPDK_18.05 { > > EXPERIMENTAL { > > global: > > + rte_class_register; > > + rte_class_unregister; > > rte_ctrl_thread_create; > > rte_dev_event_callback_register; > > rte_dev_event_callback_unregister; > > > > Any reason you don't want the rte_class_find and rte_class_find_by_name as > exposed APIs? There is no experimental tag on these APIs either. > No actually I just overlooked that part! Thanks for catching this, I think it should be exposed and tagged experimental. -- Gaëtan Rivet 6WIND