From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v3 3/4] eal: remove experimental flag of hotplug functions Date: Tue, 2 Oct 2018 11:28:29 +0100 Message-ID: <6205dfd2-e14f-94dd-c621-ed9313dc8fba@intel.com> References: <20180907222727.20521-1-thomas@monjalon.net> <20180928162144.1972-1-thomas@monjalon.net> <20180928162144.1972-4-thomas@monjalon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: gaetan.rivet@6wind.com, ophirmu@mellanox.com, qi.z.zhang@intel.com, ktraynor@redhat.com, Neil Horman To: Thomas Monjalon , dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 0FA792BC7 for ; Tue, 2 Oct 2018 12:28:32 +0200 (CEST) In-Reply-To: <20180928162144.1972-4-thomas@monjalon.net> Content-Language: en-US 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 9/28/2018 5:21 PM, Thomas Monjalon wrote: > These functions are quite old and are the only available replacement > for the deprecated attach/detach functions. > > Note: some new functions may (again) replace these hotplug functions, > in future, with better parameters. > > Signed-off-by: Thomas Monjalon > --- > lib/librte_eal/common/eal_common_dev.c | 7 ++++--- > lib/librte_eal/common/include/rte_dev.h | 11 ++--------- > lib/librte_eal/rte_eal_version.map | 4 ++-- Can remove "-DALLOW_EXPERIMENTAL_API" (or "allow_experimental_apis = true" for meson) from drivers/raw/ifpga_rawdev when these APIs are not experimental anymore. For reference: https://patches.dpdk.org/patch/45836/ It is easy to know when to add "-DALLOW_EXPERIMENTAL_API" but it is hard to know when to remove one, some helper should be good there.