From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=FlMrf4Cuf78Yk2SWPBuoWzhTEDpqcD9oSttkfAkSkxk=; b=ormsornk8pA4rJ8+/kC0Al3EaKtauVGahAwBiCjy3Bxrpgbsm3uMBs3+DptFjuL0PU dfmrlW6uNvN7DK4wvUKchG+hYicfaZ9LpG6YuqFHTcWkxPouST5JnHeSXG2T5TNK2Z3k MU2aDfAMIWjNQhWlAqjwyc3Qz/IHUO4kYjEsmUXxm9uvstegecfw2czCRluLdn0ELt7S X+tp2MHyMp3dWzIr3z9Ks3ZkLeENwm6Iqp+bRknZTF8JZWcszy+lWpkZe3y/A89V8Qau +x8uNonoPJR1oWw8KwQr4n058d6ZenD3JKMoKK4MYotC/snowXUEha6U32vd0EliJC7R X2Pw== 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=FlMrf4Cuf78Yk2SWPBuoWzhTEDpqcD9oSttkfAkSkxk=; b=rVFgtQmMtGSJP0BJfR/4TIiAhtRBWRR5UlWCOrm84gCnmclzmgakJFxgZhdjhQR1Me hU0p6/mQLJ4iOdt5fKnKHLo8sDnUaj1uQVT4O0779w9Gsr68o3nOrh6o+QjUv8HN3UhW 17DqTTdhbS2j8CmLTJSq5jxlacnh7y7+wlaQGmOlEaAFN/Qkuoo6lX4obp+WJM3O95kj IcR5PpXLqeoLftSM8KbUoRSb8f5rK5o8S1pfliAqErY04vptPeZdMENSizAbB/FXL1Q+ WjS55a7iI5XtYyWJitdjk/AKeblQIU2Hz2xyCj7a9wBrWLRlzTf90KdsZGrTTARj91Bs ifyw== X-Gm-Message-State: AIkVDXJuvT802KcROw+uRKUjaT59NbXGTLg5TxByrK2p95VyRicHuj/eLvsW04OsOkexu610 X-Received: by 10.223.134.15 with SMTP id 15mr214308wrv.102.1484696681645; Tue, 17 Jan 2017 15:44:41 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id u78sm40614873wma.11.2017.01.17.15.44.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jan 2017 15:44:41 -0800 (PST) From: Thomas Monjalon To: Shreyansh Jain Cc: dev@dpdk.org Date: Wed, 18 Jan 2017 00:44:40 +0100 Message-ID: <12923865.ovmqeRRH94@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1484660264-6531-7-git-send-email-shreyansh.jain@nxp.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v8 6/9] eal: integrate bus scan and probe with EAL 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: Tue, 17 Jan 2017 23:44:42 -0000 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