From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 338C93DC for ; Fri, 10 Mar 2017 00:04:22 +0100 (CET) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2017 15:04:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,137,1486454400"; d="scan'208";a="65971817" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga004.jf.intel.com with ESMTP; 09 Mar 2017 15:04:20 -0800 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 9 Mar 2017 15:04:20 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 9 Mar 2017 15:04:20 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0248.002; Fri, 10 Mar 2017 07:04:18 +0800 From: "Yang, Ziye" To: Thomas Monjalon CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] rte, eal: Rename pci_update_device and make it public Thread-Index: AQHSmP7Igeb0GI1+LUW95yMhsQztAKGNIKmQ Date: Thu, 9 Mar 2017 23:04:17 +0000 Message-ID: References: <1486954428-94003-1-git-send-email-ziye.yang@intel.com> <3302470.dIBVR2JIfX@xps13> In-Reply-To: <3302470.dIBVR2JIfX@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 23:04:23 -0000 Hi Thomas, That's OK. Hope that the need of usage can be considered in the new framewo= rk. -----Original Message----- From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]=20 Sent: Friday, March 10, 2017 1:58 AM To: Yang, Ziye Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] rte, eal: Rename pci_update_device and make= it public 2017-02-13 10:53, Ziye Yang: > The reaon is that sometimes we only like to rebound the kernel driver=20 > or VFIO or UIO or other drivers for this device after rte_eal_detach=20 > function. Function rte_eal_pci_probe_one not only updates the device=20 > but also probes the rte_eal_driver for this device, it is not=20 > flexible. >=20 > 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 pr= ogress.