From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 5A31CB82AF; Wed, 17 Jun 2015 07:31:28 +0000 (UTC) Received: from localhost.localdomain (vpn1-5-32.ams2.redhat.com [10.36.5.32]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5H7VQ2o009533; Wed, 17 Jun 2015 03:31:27 -0400 Message-ID: <5581224E.8050906@redhat.com> Date: Wed, 17 Jun 2015 10:31:26 +0300 From: Panu Matilainen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Stephen Hemminger , ameen.rahman@qlogic.com References: <1434498700-8522-1-git-send-email-stephen@networkplumber.org> <1434498700-8522-2-git-send-email-stephen@networkplumber.org> In-Reply-To: <1434498700-8522-2-git-send-email-stephen@networkplumber.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Cc: dev@dpdk.org, Stephen Hemminger Subject: Re: [dpdk-dev] [PATCH 1/4] eal: provide functions to access PCI config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 07:31:29 -0000 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 -