From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 4BD04A0679 for ; Tue, 2 Apr 2019 17:15:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CAD1C548B; Tue, 2 Apr 2019 17:15:35 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id A66734CA7 for ; Tue, 2 Apr 2019 17:15:33 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Apr 2019 08:15:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,301,1549958400"; d="scan'208";a="333064472" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.237.220.103]) ([10.237.220.103]) by fmsmga006.fm.intel.com with ESMTP; 02 Apr 2019 08:15:30 -0700 To: Shahaf Shuler , "wenzhuo.lu@intel.com" , "jingjing.wu@intel.com" , "bernard.iremonger@intel.com" Cc: "dev@dpdk.org" , Raslan Darawsheh , Thomas Monjalon , "ferruh.yigit@intel.com" References: <5db4de56-c5df-568a-431b-290dc60b9ec7@intel.com> From: "Burakov, Anatoly" Message-ID: Date: Tue, 2 Apr 2019 16:15:30 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format="flowed" Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 2/3] app/testpmd: support creation of no IOVA contig mempools 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190402151530.ZXu0obHhaL_5CabadePovfgK-PY9UNvb5YwjHgDzqw4@z> On 02-Apr-19 8:02 AM, Shahaf Shuler wrote: > Monday, April 1, 2019 4:50 PM, Burakov, Anatoly: >> Subject: Re: [dpdk-dev] [PATCH 2/3] app/testpmd: support creation of no >> IOVA contig mempools >> >> On 01-Apr-19 11:34 AM, Shahaf Shuler wrote: >>> providing a command line parameter to set the mempool flags accordingly. >>> This mode is relevant only when creating an empty mempool and then >>> populating with memory. >>> >>> Signed-off-by: Shahaf Shuler >>> --- >>> app/test-pmd/parameters.c | 5 +++++ >>> app/test-pmd/testpmd.c | 3 ++- >>> app/test-pmd/testpmd.h | 2 ++ >>> doc/guides/testpmd_app_ug/run_app.rst | 5 +++++ >>> 4 files changed, 14 insertions(+), 1 deletion(-) >>> >>> diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c >>> index 7b6b60905d..ce0056b0bd 100644 >>> --- a/app/test-pmd/parameters.c >>> +++ b/app/test-pmd/parameters.c >>> @@ -202,6 +202,8 @@ usage(char* progname) >>> printf(" --noisy-lkup-num-writes=N: do N random writes per >> packet\n"); >>> printf(" --noisy-lkup-num-reads=N: do N random reads per >> packet\n"); >>> printf(" --noisy-lkup-num-writes=N: do N random reads and writes >>> per packet\n"); >>> + printf(" --no-iova-contig: mempool memory can be IOVA non >> contiguous. " >>> + "valid only with --mp-alloc=anon\n"); >> >> Maybe rather than spelling this out in the help message, it would be better >> to enforce it at option parse time, > > No problem, I can add. > >> and document it in the user guide? > > I think I did documents it. what is missing? Nothing, as it seems :) The user guide is fine. I just don't think we should explicitly reference other parameters in the help message, as it makes it harder to track down any changes/usages that may be needed. > > > >> >> -- >> Thanks, >> Anatoly -- Thanks, Anatoly