From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 79FDC9A8A for ; Tue, 16 Feb 2016 12:37:01 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 16 Feb 2016 03:37:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,455,1449561600"; d="scan'208";a="885938626" Received: from shwdeisgchi083.ccr.corp.intel.com (HELO [10.239.67.119]) ([10.239.67.119]) by orsmga001.jf.intel.com with ESMTP; 16 Feb 2016 03:36:59 -0800 To: David Marchand , Tetsuya Mukawa References: <1453374478-30996-6-git-send-email-mukawa@igel.co.jp> <1455075613-3605-1-git-send-email-mukawa@igel.co.jp> <1455075613-3605-3-git-send-email-mukawa@igel.co.jp> From: "Tan, Jianfeng" Message-ID: <56C309DA.9030800@intel.com> Date: Tue, 16 Feb 2016 19:36:58 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2 2/5] EAL: Add new EAL "--qtest-virtio" option 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: Tue, 16 Feb 2016 11:37:01 -0000 Hi David, On 2/16/2016 1:53 PM, David Marchand wrote: > On Wed, Feb 10, 2016 at 4:40 AM, Tetsuya Mukawa wrote: >> To work with qtest virtio-net PMD, virtual address that maps hugepages >> should be between (1 << 31) to (1 << 44). This patch adds one more option >> to map like this. Also all hugepages should consists of one file. >> Because of this, the option will work only when '--single-file' option is >> specified. > This patch is pure virtio stuff. > Please, rework this so that we have a generic api in eal (asking for a > free region could be of use for something else). > Then you can call this api from virtio pmd. > > If you need to pass options to virtio pmd, add some devargs for it. > Seems it's hard to slip this option into --vdev="eth_qtest_virtio0..." from my side because memory initialization happens before vdev option is parsed. Can we make use of "--base-virtaddr" achieve the function of this option? Thanks, Jianfeng