From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: Re: [PATCH 5/7] eal/linux: mmap ioports on ppc64 Date: Fri, 13 May 2016 18:36:34 +0200 Message-ID: <57360292.4060901@6wind.com> References: <1463143859-3105-1-git-send-email-olivier.matz@6wind.com> <1463143859-3105-6-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , Chao Zhu To: David Marchand 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) In-Reply-To: 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 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!