From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by dpdk.org (Postfix) with ESMTP id AA7BE952 for ; Wed, 16 Dec 2015 14:34:35 +0100 (CET) Received: by mail-ob0-f169.google.com with SMTP id iw8so32298304obc.1 for ; Wed, 16 Dec 2015 05:34:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=awRmnt++3edXAZkZD5NBiB/6YWxjjTwYXWIRfipVJU0=; b=uxZwxZHG3sUDfIQV2tW6ytiWKRqt7JwEOLBqgZG/wfQPNSL8LFeEqwKt3v+UNP11yR FHFYDKSLt80o/ePe4tfMqoTG0/M9zD/YBCWhtLQv0H243Gy8irToY1iAsCAuiDr14rNz jIyeirIzaN/sE8bwvHXHAkkcJl+nPfYo3StpL5r5H08y2fpz9UCRRFhn71fbQlFvjN9I ecOlAuBHEPzLrqCTnh55KMSih8Cu0Yc3e7+zQUi9B7nzjWqoSeWrhvpeA+5OjmWNaqIX pHTYpMWoPjQvknc2HkTSbCQopitiPOCMoP+moxBbHWkd4hn1NZfczcqdh+1mtOqgj/sx nN3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=awRmnt++3edXAZkZD5NBiB/6YWxjjTwYXWIRfipVJU0=; b=ZSsy/WdTBK02Wcf5pT69K7t5DcUyEV21GLk4CsaCLMUyknqHEhUPdG8cNvqHxzxpRA /F9ITrGkZFAeXRbzAdhjC6q+tRByZhDAe8d7ycWZVb9S/B1mpNQZFXVxuWRfBdN33nRg xNg18AplE5OBZ4XtcWxizBP9AfFq98pBfaC0Z6JvRp4O/g3T4EmUaY9b+8ev30Xuoeg3 2nNzUNymYsSG9l9XzzwQTsxhgWox2jJ9oxxs8RWoJMyNupB38SgBzLHVjzl8WOalUJkN POZr7I5zNnWR60hVpXmGSGRmarVe9V7ePajDRlaVwfBu+jA1h8rfZyxX/covozHilx9W f/eQ== X-Gm-Message-State: ALoCoQlXrHpipKzo5E+V72BVPc5nDtSh48YkEoMMuQJZW6pb7CujboT+G/tVjexafbaUE9HN0zpvLkx9QJmSCirRZHy3Dhs7WS1Fb5Nd8wm+ddPtDsJd9CY= MIME-Version: 1.0 X-Received: by 10.182.60.170 with SMTP id i10mr34208507obr.62.1450272875113; Wed, 16 Dec 2015 05:34:35 -0800 (PST) Received: by 10.76.153.5 with HTTP; Wed, 16 Dec 2015 05:34:35 -0800 (PST) In-Reply-To: <20151216124834.GR29571@yliu-dev.sh.intel.com> References: <1450269064-23608-1-git-send-email-david.marchand@6wind.com> <20151216124834.GR29571@yliu-dev.sh.intel.com> Date: Wed, 16 Dec 2015 14:34:35 +0100 Message-ID: From: David Marchand To: Yuanhan Liu Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] eal: map io resources for non x86 architectures 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, 16 Dec 2015 13:34:36 -0000 Yuanhan, On Wed, Dec 16, 2015 at 1:48 PM, Yuanhan Liu wrote: > On Wed, Dec 16, 2015 at 01:31:04PM +0100, David Marchand wrote: > > x86 requires a special set of instructions to access ioports, but other > > architectures let you remap io resources. > > So let eal remap io resources by accepting IORESOURCE_IO flag for > > architectures other than x86. > > One question: this patch could be a replacement of the igbuio_iomap patch > from Santosh? If so, I like it: It's more elegant. > Well, yes, unless I missed something since I am no guru :-). -- David Marchand