From mboxrd@z Thu Jan 1 00:00:00 1970 From: Panu Matilainen Subject: Re: [PATCH 1/4] eal: provide functions to access PCI config Date: Wed, 17 Jun 2015 10:31:26 +0300 Message-ID: <5581224E.8050906@redhat.com> References: <1434498700-8522-1-git-send-email-stephen@networkplumber.org> <1434498700-8522-2-git-send-email-stephen@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Stephen Hemminger To: Stephen Hemminger , ameen.rahman@qlogic.com Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 4EE83C3CE for ; Wed, 17 Jun 2015 09:31:29 +0200 (CEST) In-Reply-To: <1434498700-8522-2-git-send-email-stephen@networkplumber.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 06/17/2015 02:51 AM, Stephen Hemminger wrote: > From: Stephen Hemminger > > Some drivers need ability to access PCI config (for example for power > management). This adds an abstraction to do this for both Linux > and BSD. > > Signed-off-by: Stephen Hemminger > --- [...] > diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map > index 7e850a9..494aae0 100644 > --- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map > +++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map > @@ -42,9 +42,11 @@ DPDK_2.0 { > rte_eal_pci_dump; > rte_eal_pci_probe; > rte_eal_pci_probe_one; > + rte_eal_pci_read_config; > rte_eal_pci_register; > rte_eal_pci_scan; > rte_eal_pci_unregister; > + rte_eal_pci_write_config; > rte_eal_process_type; > rte_eal_remote_launch; > rte_eal_tailq_lookup; > DPDK_2.0 does not have those symbols, 2.1 will. You need to add a new DPDK_2.1 {} block and introduce these new symbols there. - Panu -