From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v8 6/9] eal: integrate bus scan and probe with EAL Date: Wed, 18 Jan 2017 00:44:40 +0100 Message-ID: <12923865.ovmqeRRH94@xps13> References: <1484647774-28984-1-git-send-email-shreyansh.jain@nxp.com> <1484660264-6531-1-git-send-email-shreyansh.jain@nxp.com> <1484660264-6531-7-git-send-email-shreyansh.jain@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Shreyansh Jain Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id DE0A011DE for ; Wed, 18 Jan 2017 00:44:41 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id r144so248208993wme.1 for ; Tue, 17 Jan 2017 15:44:41 -0800 (PST) In-Reply-To: <1484660264-6531-7-git-send-email-shreyansh.jain@nxp.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-01-17 19:07, Shreyansh Jain: > Each bus implementation defines their own callbacks for scanning its bus > and probing devices available on the bus. Enable EAL to call bus specific > scan and probe functions during DPDK initialization. > > Existing PCI scan/probe continues to exist. It will removed in subsequent > patches. > > Signed-off-by: Shreyansh Jain > Reviewed-by: Ferruh Yigit > --- > lib/librte_eal/bsdapp/eal/eal.c | 8 +++ > lib/librte_eal/bsdapp/eal/eal_pci.c | 11 ++++ > lib/librte_eal/bsdapp/eal/rte_eal_version.map | 2 + > lib/librte_eal/common/eal_common_bus.c | 40 +++++++++++++++ > lib/librte_eal/common/eal_common_pci.c | 33 ++++++++++++ > lib/librte_eal/common/include/rte_bus.h | 19 +++++++ > lib/librte_eal/common/include/rte_pci.h | 68 +++++++++++++++++++++++++ > lib/librte_eal/linuxapp/eal/eal.c | 8 +++ > lib/librte_eal/linuxapp/eal/eal_pci.c | 15 ++++++ > lib/librte_eal/linuxapp/eal/rte_eal_version.map | 2 + > 10 files changed, 206 insertions(+) You can make 2 patches here: - 1 patch for generic functions - 1 patch for PCI implementation