From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <anatoly.burakov@intel.com>
Received: from mga03.intel.com (mga03.intel.com [134.134.136.65])
 by dpdk.org (Postfix) with ESMTP id 6F2A41B11A
 for <dev@dpdk.org>; Thu,  4 Oct 2018 11:19:12 +0200 (CEST)
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from orsmga007.jf.intel.com ([10.7.209.58])
 by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 04 Oct 2018 02:19:11 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.54,338,1534834800"; d="scan'208";a="78399687"
Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.237.220.113])
 ([10.237.220.113])
 by orsmga007.jf.intel.com with ESMTP; 04 Oct 2018 02:19:07 -0700
To: eric zhang <eric.zhang@windriver.com>, john.mcnamara@intel.com
Cc: allain.legacy@windriver.com, matt.peters@windriver.com, dev@dpdk.org
References: <1538599994-23331-1-git-send-email-eric.zhang@windriver.com>
From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
Message-ID: <f61b476a-1a92-bffc-fe72-09af3f05e015@intel.com>
Date: Thu, 4 Oct 2018 10:19:07 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <1538599994-23331-1-git-send-email-eric.zhang@windriver.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Subject: Re: [dpdk-dev] [PATCH v3 0/3] force IOVA to a particular mode
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Oct 2018 09:19:12 -0000

On 03-Oct-18 9:53 PM, eric zhang wrote:
> This patchset introduces an EAL command line option "--iova-mode"
> to give the user a facility to force IOVA mode to a special value.
> 
> Auto detection of the IOVA mode, based on probing the bus and IOMMU
> configuration, may not report the desired addressing mode when virtual
> devices that are not directly attached to the bus are present.
> The EAL command line option "--iova-mode" can be used to select either
> physical addressing('pa') or virtual addressing('va').
> 
> ------
> v3:
> * document --iova-mode EAL option
> * change default iova mode to RTE_IOVA_DC
> 
> v2:
> * use eal option instead of compilation option to configure IOVA
> * apply http://patchwork.dpdk.org/patch/25192/
> 
> 
> Santosh Shukla (1):
>    eal: add eal option to configure iova mode
> 
> eric zhang (2):
>    eal: force IOVA to particular mode
>    doc:document --iova-mode EAL flag
> 
>   doc/guides/prog_guide/env_abstraction_layer.rst |  8 +++++++
>   doc/guides/testpmd_app_ug/run_app.rst           |  4 ++++
>   lib/librte_eal/bsdapp/eal/eal.c                 | 11 +++++++--
>   lib/librte_eal/common/eal_common_options.c      | 30 +++++++++++++++++++++++++
>   lib/librte_eal/common/eal_internal_cfg.h        |  1 +
>   lib/librte_eal/common/eal_options.h             |  2 ++
>   lib/librte_eal/linuxapp/eal/eal.c               | 27 +++++++++++++---------
>   7 files changed, 71 insertions(+), 12 deletions(-)
> 

Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>

-- 
Thanks,
Anatoly