From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 114042082E; Fri, 28 Sep 2018 12:21:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 28 Sep 2018 12:21:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to:x-me-sender:x-me-sender :x-sasl-enc; s=mesmtp; bh=v3aa4wHJKMkpt9CtBBg881ajIr2RRzBGJDDM8+ g4mHk=; b=AHnDLbWXI6Li0ags0GWGbJWQWmxGgOM6OO6OPd+EFD5LXMADBPd7fP 5kfCQMhanpmAO7XWi3pr8GqqDi7HrH30Q8LdUcpl6F+N8SOCi209RpoBK1qQhh2t uC6e3QWNKUowDbX/jqtZBfp869V7l2GU9/SFe6ACWEm/uKq9kA6oo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=v3aa4wHJKMkpt9CtB Bg881ajIr2RRzBGJDDM8+g4mHk=; b=jiH2DquEO7KYf0P1nxw8Z1G1kZ7vImgAk EosgpJnuAlFIltVsvcH8fIEUwv2VpaTj8p4fpbQ644JyiULqNrbVUuZtHZwMwb0h Zy+uc+w4peywyEBaJ/2Nx8pcPedim6PXhQmllre1Oog+1pulYf/aEwxd84NzPPSP AVWDYpaMSBkG7bLlc4kgMgcNDOp9bvMD1lblUy0gbPhjW9ZQbi1gJDQQt5q2E3fh E8xHlS59wvtCf8tI0R0jDLWVOJWc6MkVhuXSHci8P3Gz0d9mLkLauULh+G0ySuVI w+36kjY4pBIYMJOmeES/sG2br0uH5RpENUx98yuBmDsiP210pUp7Q== X-ME-Proxy: X-ME-Sender: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 6B5FBE49CA; Fri, 28 Sep 2018 12:21:49 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: gaetan.rivet@6wind.com, ophirmu@mellanox.com, qi.z.zhang@intel.com, ferruh.yigit@intel.com, ktraynor@redhat.com Date: Fri, 28 Sep 2018 18:21:40 +0200 Message-Id: <20180928162144.1972-1-thomas@monjalon.net> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180907222727.20521-1-thomas@monjalon.net> References: <20180907222727.20521-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/4] eal: simplify devargs and hotplug functions 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: Fri, 28 Sep 2018 16:21:51 -0000 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