From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] rte, eal: Rename pci_update_device and make it public Date: Thu, 09 Mar 2017 18:58:21 +0100 Message-ID: <3302470.dIBVR2JIfX@xps13> References: <1486954428-94003-1-git-send-email-ziye.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Ziye Yang 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) In-Reply-To: <1486954428-94003-1-git-send-email-ziye.yang@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.