From patchwork Wed Sep 26 21:47:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 45459 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3A77D1B461; Wed, 26 Sep 2018 23:48:14 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 0C6D12C15 for ; Wed, 26 Sep 2018 23:48:13 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 944BD21F3F; Wed, 26 Sep 2018 17:48:12 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 26 Sep 2018 17:48:12 -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=2Kuc/W+Lz3M+kdgiloyYec24XdW9wbMeJhdK/r b8UF8=; b=PT111IBpdS+fJX3PVvS5kBf+nNtn+ec0oFNCGAs1+ec11laJ9A/9RJ S9OFOhy5J1gZ25cEa/VV3TqsTNq7la/TygPta/EIvbVSlZUSCTDUdDzzh1NqLFuw NQdYi67WPK4jpnaOlKekG4AF7Kw2s9MJmvFe8viAMtZw4UBjOrJ04= 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=2Kuc/W+Lz3M+kdgil oyYec24XdW9wbMeJhdK/rb8UF8=; b=YCxLsu77bfdkGjwzLCgeeJA01hwZndkwi XJcls4uE3QUy5wtIjYKaSHBuB0/zmwBJMpQwLSTd9q39DnpO3WpIpaKMjILa5zpt HLhvBaFJP4JJwtBCiV/B95m4OCrXIzJSJwd0Z+hGIDlhrZROkgAG9khacqXgBT8U t0Ynk2ZdchW/dUELIAStbnz3wkQYcgcAFHWZFF9y+eA9qZTWRzfi+HUzlbaz/ZYC G9yqgLYdBipDfM520xvb5QYo/X94ptyIHhqiWS4EGLihfICx2CXQbApnfEuqPrjx KqH8UItP4DU4LWHo8QOp7jh8/D2JgsfsUNJgQnd8I3G5KdYPh0iqw== 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 03455102DD; Wed, 26 Sep 2018 17:48:10 -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: Wed, 26 Sep 2018 23:47:55 +0200 Message-Id: <20180926214759.1856-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 Subject: [dpdk-dev] [PATCH v2 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: , 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 today. 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 | 38 +-------- 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, 96 insertions(+), 172 deletions(-)