From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] devargs: fix freeing during device removal Date: Fri, 19 Oct 2018 22:53:19 +0200 Message-ID: <3515806.AfmK2v9imX@xps> References: <20181018001949.17443-1-thomas@monjalon.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: gaetan.rivet@6wind.com, ferruh.yigit@intel.com, arybchenko@solarflare.com, wisamm@mellanox.com, ophirmu@mellanox.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 E27F95B36 for ; Fri, 19 Oct 2018 22:53:17 +0200 (CEST) In-Reply-To: <20181018001949.17443-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" 18/10/2018 02:19, Thomas Monjalon: > After calling unplug function of a bus, the device is expected > to be freed. It is too late for getting devargs to remove. > Anyway, the buses which implement unplug are already freeing > the devargs, except the PCI bus. > So the call to rte_devargs_remove() is removed from EAL and > added in PCI. > > Fixes: 2effa126fbd8 ("devargs: simplify parameters of removal function") > > Signed-off-by: Thomas Monjalon Applied