From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH v3 0/3] force IOVA to a particular mode Date: Thu, 4 Oct 2018 10:19:07 +0100 Message-ID: References: <1538599994-23331-1-git-send-email-eric.zhang@windriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: allain.legacy@windriver.com, matt.peters@windriver.com, dev@dpdk.org To: eric zhang , john.mcnamara@intel.com Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 6F2A41B11A for ; Thu, 4 Oct 2018 11:19:12 +0200 (CEST) In-Reply-To: <1538599994-23331-1-git-send-email-eric.zhang@windriver.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 -- Thanks, Anatoly