From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2314BA0350; Sun, 24 Nov 2019 23:52:51 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0CCC137AF; Sun, 24 Nov 2019 23:52:50 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id BF16A2952 for ; Sun, 24 Nov 2019 23:52:48 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 05C2E226F0; Sun, 24 Nov 2019 17:52:48 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 24 Nov 2019 17:52:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=VM4TNjtqY1jvmHr+9moZ+LiOvWJKMstppskhmEso31I=; b=Sstg//fDfgqn CzyYbM0D0qqgPX/vLoyYN71ls+u9j9GOa+0YWLNYeY1F7/7Cg5lbQ10aeZlqHkK7 0kkwlxqQlQyM78PnmlSNunqeD4JBsVnPsQzIjVsfpj4P8I5XMJJSO4y6OLRhCHyM B8A+qnxILW9QcieHxNjBCM9PtAWs2BU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=VM4TNjtqY1jvmHr+9moZ+LiOvWJKMstppskhmEso3 1I=; b=Gl/Mrv9Pt0He3ANQEB9BdnzDjGgHiOGay0tJV0aGzBNYsC+ve5FVxwhQ8 1Z/V+iEDxeFm3lW9+FY5j9TXVoX0UlwrmTp0dxo/HcANE4nZVGlWZgfQFi0/bWWT Q3sL6deSExOIIEcEb846X2mGhMIMipG3zUc7LJEEYYUcHTxQyVDo4VK+TqKvDh/i yh9eyqb4VwS+yK7zQwVioRoqD2dJHZxFvsiVB1I2iSIAFpPCnh7cdtjIHoPGvOb3 0zLc7+bYz37h1Ts0oLH1OP4iFMd+L6nFyBoRuyJCWdSKxKEexFBOnG9SSmFA4i0m e4NWu2veW0Td8zSZDB13shgIpIQzQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudehledgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id B890180066; Sun, 24 Nov 2019 17:52:46 -0500 (EST) From: Thomas Monjalon To: David Marchand Cc: dev@dpdk.org, Ferruh Yigit Date: Sun, 24 Nov 2019 23:52:45 +0100 Message-ID: <157464387.gmNRIZ9n61@xps> In-Reply-To: References: <785dc5f5-8378-3506-aaa8-39ec22a3eb11@intel.com> <50ee66c8-1b5a-093d-e38c-f746380a03f3@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] devtools: disable automatic probing in null testing 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" 22/11/2019 16:56, David Marchand: > On Fri, Nov 22, 2019 at 2:56 PM Ferruh Yigit wrote: > > > > On 11/22/2019 1:48 PM, Thomas Monjalon wrote: > > > The script test-null.sh is supposed to do a quick and simple > > > run of testpmd with null PMD only, for sanity check. > > > As it is not supposed to test probing of any other PMD, > > > physical device probing is switched to whitelist mode > > > by using a fake PCI address (0:0.0). > > > It will also help to keep memory usage stable across platforms. > > > > > > Signed-off-by: Thomas Monjalon > > > --- > > > devtools/test-null.sh | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/devtools/test-null.sh b/devtools/test-null.sh > > > index 9f9a459f76..d82c6ad193 100755 > > > --- a/devtools/test-null.sh > > > +++ b/devtools/test-null.sh > > > @@ -26,5 +26,5 @@ fi > > > > > > (sleep 1 && echo stop) | > > > $testpmd -c $coremask --no-huge -m 150 \ > > > - $libs --vdev net_null1 --vdev net_null2 $eal_options -- \ > > > + $libs -w 0:0.0 --vdev net_null1 --vdev net_null2 $eal_options -- \ > > > --no-mlockall --total-num-mbufs=2048 $testpmd_options -ia > > > > > > > Tested-by: Ferruh Yigit > > Ugly, but does the job. > Acked-by: David Marchand Applied