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 CC5BC568A for ; Mon, 1 Oct 2018 22:52:33 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 61F7822053; Mon, 1 Oct 2018 16:52:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 01 Oct 2018 16:52:33 -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=Qeypcw6Bsz3QwOyCgEw5wEhRWRd8QeJv6tT8VG EDYtc=; b=elScb+nmVrZzU221cgASiWxEreAPkh6m6wknzJBPLI47omnFFh7gg+ MoRivRW3jZGBDCze0Ih8qhDm850QBS6H3EMYWnLjqvl7s5qt7aKINWmQUAmNX7Dn CSFEWfn/6lQ+qj5O+cm709O7mEYbcEXXc/OK9/YsRnw/5S7ZMfvHw= 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=Qeypcw6Bsz3QwOyCg Ew5wEhRWRd8QeJv6tT8VGEDYtc=; b=UiAzFdDOIxSTgwBqx8Qr56cpmtAFRzThx J1J2SNhJbtfBeUbQAIBVe9g2vV5ZiyxsI05na2KBPfYwHEC3BYf9oVjUMUzCCSN0 AKA5N1iu1pl2MWs/yrXG9ZDZ65MQ5+Q88/pgSYdf+MdCnCJIA1ChJSn5jNhCT7+S TeGjFbM0JPo1EH5aECAj8gNEbN4fTjjEqN8E04KgRNlRy0OrfVbnU3euvnoB88+z BIgPccx59Ouh5f5z7ei8c9GsXucg/3EY87GKW6S7JT+m30y+sAqTo8fmQ2VJ+sJn EvIzh+SZ3HxEOXVcpcnl7BPEszelbzMq5U10nHZLU9/oMIDHozaHQ== X-ME-Sender: X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 02E6FE49E9; Mon, 1 Oct 2018 16:52:30 -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: Mon, 1 Oct 2018 22:52:24 +0200 Message-Id: <20181001205228.3503-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 v4 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: Mon, 01 Oct 2018 20:52:34 -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 latest technical board meeting. Changes in v4 - after Andrew's review: - add API changes in release notes (patches 1 & 2) - fix memory leak in rte_eal_hotplug_add (patch 4) 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 doc/guides/rel_notes/release_18_11.rst | 8 ++ 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 | 89 +++++++++++++-------- 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 +-- 10 files changed, 111 insertions(+), 172 deletions(-) -- 2.19.0