From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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 , 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" Message-ID: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 -- Thanks, Anatoly