From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f173.google.com (mail-wr0-f173.google.com [209.85.128.173]) by dpdk.org (Postfix) with ESMTP id 9B421234 for ; Thu, 9 Mar 2017 18:58:22 +0100 (CET) Received: by mail-wr0-f173.google.com with SMTP id u48so50315733wrc.0 for ; Thu, 09 Mar 2017 09:58:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=QwIPuhgFMkhmHEKRVsi9vThXZ1y1tQEwxZ57xe3/OeY=; b=kstP5xdGWS4jFxOF3TAvNtR6krVrImP1qh/QeGpYJtKGzwrB6FUGkm7EgDijyMqI0c J/aNwFa9Y2YL1yQpCm+eBKPhjfNTOwDHNkKuI9ghQGh/34ntcO/dy3mlCgpZEgMp3QGA Mo8C+qgrF5+Ns/15oO53kKRjtRPyYkkjZtPdqLGjH+neZXcotiT4XDXTCoqyqLqTsG61 FkYwfj2y9T12I77H0ve9LqnMGUbzkGdaXoxufEnlvmVOUmhK9fzFCmOvutdOWrBxJifA y8X1IQCr+A2vqPugum1bzbV/BioKFFIcgP3gsqJyLl7dFM1CD45V+7OXNERhF7gnoonj dr9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=QwIPuhgFMkhmHEKRVsi9vThXZ1y1tQEwxZ57xe3/OeY=; b=encL1uGJneKJRdz0SFjem34j2q3SI0uTPr6fLSkPx3IdqlJ2W5VmYYPbiHEnOFJtm8 oV96s36LymycyPr/Q6ypc4rJ6TkiN7q1t96d3OFjX8boa4YA34wO7OCfu1XUN1vD+9Um 15lQNX44HMgqJeiI0vqr2sLzGrxRQAICtwLdb+8yv5SD5llE2VF9u0A5S8Gsn90u3aI4 ghdeAngzhFIXEbtanmxOIQQxTkM45wEX8zLiKP7hhKXDT3CedqQEjwgp9soqy4sDOwsF wFpaAH/gDHovsGP9gUR9c9z6AkEUWkivxsh9lvUG1Hjgi7JLKNF6Id/m2ox2mV00jC8z MPyA== X-Gm-Message-State: AMke39kRjw5O6b5iJr5h/pk9+60gsZ+NX/SAa5RBKQKyWRtn68HcUQPyUytGG/0xqX3BmHJJ X-Received: by 10.223.139.154 with SMTP id o26mr11321937wra.56.1489082302367; Thu, 09 Mar 2017 09:58:22 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id g23sm9652870wme.8.2017.03.09.09.58.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 09:58:21 -0800 (PST) From: Thomas Monjalon To: Ziye Yang Cc: dev@dpdk.org Date: Thu, 09 Mar 2017 18:58:21 +0100 Message-ID: <3302470.dIBVR2JIfX@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1486954428-94003-1-git-send-email-ziye.yang@intel.com> References: <1486954428-94003-1-git-send-email-ziye.yang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] rte, eal: Rename pci_update_device and make it public 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, 09 Mar 2017 17:58:22 -0000 2017-02-13 10:53, Ziye Yang: > The reaon is that sometimes we only like to rebound the > kernel driver or VFIO or UIO or other drivers for > this device after rte_eal_detach function. Function > rte_eal_pci_probe_one not only updates the device but > also probes the rte_eal_driver for this device, it is > not flexible. > > Signed-off-by: Ziye Yang > --- > lib/librte_eal/bsdapp/eal/eal_pci.c | 2 +- > lib/librte_eal/common/eal_common_pci.c | 2 +- > lib/librte_eal/common/eal_private.h | 13 ------------- > lib/librte_eal/common/include/rte_pci.h | 14 ++++++++++++++ > lib/librte_eal/linuxapp/eal/eal_pci.c | 2 +- > 5 files changed, 17 insertions(+), 16 deletions(-) The PCI bus management is going to change with the new bus framework. Please check pending developments or future version for your needs. This patch will be marked as rejected because of the conflicting work in progress.