From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id F038C1B11D for ; Thu, 4 Oct 2018 11:21:58 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id e4-v6so9112162wrs.0 for ; Thu, 04 Oct 2018 02:21:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=JYwSvEflgOTI1FldkiAWYYz8zKWQuGVsDqEhf5bA88E=; b=V68cBYq/bcQ675tOqiVvYLKpmZJKYB9Qzpdat6yvWphi8NCWlJMVz86f5Qm7tH95Wc VROWLy38sINjAsdTTkcgwmqbF0jCOoY7y1m/klNXrHjL157qSyxx7L8F27uDWZQkrPGZ Ai4/fcoDA+tklZOwKbzEe6ASfAyr+PU1xkcpwkzfFdSM4Avt8GOc4aKGAzshLVYJTUo8 J4oyB0zkIfUWfal6b/T0x5Hy0y7BYNr7gNeE1E8XWBhIUFOhtGtupsDCCB5rOlq6/ZIJ jrO/nRronVHTo+E20o963t2+Qq/wZUBhy2g+IcRFDLh4U88cTuo9zsToUN66B/uBgjO6 udMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=JYwSvEflgOTI1FldkiAWYYz8zKWQuGVsDqEhf5bA88E=; b=oTdMC81QWfWC90O+w+jcNYEMfca6Kvk+zeIQWwhEaMIraXTmfCN9h7J6/kSl1W8XgH 10J6Wpao4pUCQKA8sMKBD3X9AnEMTnbpzYfywDY9vAyLFavAGRd0UwhWmcw4dEt+Ern4 eq9bcVNtzNsXLKu27bx0m6qh02JM9F9heezlkaqj4xbz7KoO5yKXsZ8N8WZ8c8vMRQFn f2G9D3G4HEiE+jxtmrci0tclC6WIq2Caepthl2scFI1tCo8xYjIKJurLioaQGIYiRFCT v9R6esONc7Hh9fhscqToFXM9HNmybfMRYZ7Ro7NcwsaMTbrbH2vahndw46SkhwMjJYN9 f0cQ== X-Gm-Message-State: ABuFfojz5K7JTHF7p9lcv2YRjvJHRQe3i7zljB0gSwj/tkOQ2ZSzvQTg IZ1KKtC7Q8kWGbKbQ3pttSrGDw== X-Google-Smtp-Source: ACcGV61lUwO+hjT5rNZFWOXXvzybRVJ/MvNoYas07UKB7YiytdE9GMpnCCc73ERB/t+iUptZAOxjhw== X-Received: by 2002:adf:c594:: with SMTP id m20-v6mr4123282wrg.30.1538644918574; Thu, 04 Oct 2018 02:21:58 -0700 (PDT) Received: from bidouze.vm.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id k1-v6sm4545218wrl.39.2018.10.04.02.21.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Oct 2018 02:21:57 -0700 (PDT) Date: Thu, 4 Oct 2018 11:21:40 +0200 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet To: Thomas Monjalon Cc: dev@dpdk.org, ophirmu@mellanox.com, qi.z.zhang@intel.com, ferruh.yigit@intel.com, ktraynor@redhat.com Message-ID: <20181004092140.qyd6dt4rins5hmy6@bidouze.vm.6wind.com> References: <20180907222727.20521-1-thomas@monjalon.net> <20181003231046.26772-1-thomas@monjalon.net> <20181003231046.26772-3-thomas@monjalon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181003231046.26772-3-thomas@monjalon.net> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v5 2/5] devargs: simplify parameters of removal function 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: Thu, 04 Oct 2018 09:21:59 -0000 On Thu, Oct 04, 2018 at 01:10:43AM +0200, Thomas Monjalon wrote: > The function rte_devargs_remove(), which is intended to be internal, > can take a devargs structure as argument. > The matching is still using string comparison of bus name and > device name. > It is simpler and may allow a different devargs matching in future. > > Signed-off-by: Thomas Monjalon > Reviewed-by: Andrew Rybchenko Acked-by: Gaetan Rivet > --- > doc/guides/rel_notes/release_18_11.rst | 3 +++ > drivers/bus/ifpga/ifpga_bus.c | 5 +---- > drivers/bus/vdev/vdev.c | 8 ++------ > lib/librte_eal/common/eal_common_dev.c | 4 ++-- > lib/librte_eal/common/eal_common_devargs.c | 11 +++++++---- > lib/librte_eal/common/include/rte_devargs.h | 10 +++------- > 6 files changed, 18 insertions(+), 23 deletions(-) > -- Gaëtan Rivet 6WIND