From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 873785A90 for ; Fri, 13 May 2016 18:36:40 +0200 (CEST) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1b1G6u-0001YT-So; Fri, 13 May 2016 18:38:45 +0200 To: David Marchand References: <1463143859-3105-1-git-send-email-olivier.matz@6wind.com> <1463143859-3105-6-git-send-email-olivier.matz@6wind.com> Cc: "dev@dpdk.org" , Chao Zhu From: Olivier Matz Message-ID: <57360292.4060901@6wind.com> Date: Fri, 13 May 2016 18:36:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 5/7] eal/linux: mmap ioports on ppc64 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: Fri, 13 May 2016 16:36:40 -0000 On 05/13/2016 04:33 PM, David Marchand wrote: >> --- a/lib/librte_eal/common/include/rte_pci.h >> +++ b/lib/librte_eal/common/include/rte_pci.h >> @@ -105,7 +105,8 @@ extern struct pci_device_list pci_device_list; /**< Global list of PCI devices. >> /** Nb. of values in PCI resource format. */ >> #define PCI_RESOURCE_FMT_NVAL 3 >> >> -/** IO resource type: memory address space */ >> +/** IO resource type: */ >> +#define IORESOURCE_IO 0x00000100 >> #define IORESOURCE_MEM 0x00000200 >> >> /** > > This could go in a linux-specific header. Yep, I'll do a separate patch for that in v2. > >> diff --git a/lib/librte_eal/linuxapp/eal/eal_pci.c b/lib/librte_eal/linuxapp/eal/eal_pci.c >> index 1a93725..f1ea52b 100644 >> --- a/lib/librte_eal/linuxapp/eal/eal_pci.c >> +++ b/lib/librte_eal/linuxapp/eal/eal_pci.c >> @@ -191,9 +191,9 @@ pci_find_max_end_va(void) >> } >> >> /* parse one line of the "resource" sysfs file (note that the 'line' >> - * string is modified) >> + * string is modified >> */ > > Garbage ? Indeed :) Thanks for reviewing!