From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH v3 0/4] eal: simplify devargs and hotplug functions Date: Fri, 28 Sep 2018 18:21:40 +0200 Message-ID: <20180928162144.1972-1-thomas@monjalon.net> References: <20180907222727.20521-1-thomas@monjalon.net> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: gaetan.rivet@6wind.com, ophirmu@mellanox.com, qi.z.zhang@intel.com, ferruh.yigit@intel.com, ktraynor@redhat.com To: dev@dpdk.org Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 7C6181B12F for ; Fri, 28 Sep 2018 18:21:51 +0200 (CEST) In-Reply-To: <20180907222727.20521-1-thomas@monjalon.net> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This is a follow-up of an idea presented at Dublin during the "hotplug talk". Instead of changing the existing hotplug functions, as in the RFC, some new experimental functions are added. The old functions lose their experimental status in order to provide a non-experimental replacement for deprecated attach/detach functions. It has been discussed briefly in the technical board meeting this week. Change in v3: - fix null dereferencing in error path (patch 2) Thomas Monjalon (4): devargs: remove deprecated functions devargs: simplify parameters of removal function eal: remove experimental flag of hotplug functions eal: simplify parameters of hotplug functions drivers/bus/ifpga/ifpga_bus.c | 5 +- drivers/bus/vdev/vdev.c | 8 +- drivers/net/failsafe/failsafe_eal.c | 3 +- drivers/net/failsafe/failsafe_ether.c | 3 +- lib/librte_eal/common/eal_common_dev.c | 85 +++++++++++++-------- lib/librte_eal/common/eal_common_devargs.c | 41 ++-------- lib/librte_eal/common/include/rte_dev.h | 35 +++++++-- lib/librte_eal/common/include/rte_devargs.h | 81 +------------------- lib/librte_eal/rte_eal_version.map | 10 +-- 9 files changed, 99 insertions(+), 172 deletions(-) -- 2.19.0