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 C6D9AA04C1; Wed, 20 Nov 2019 10:29:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ADED42E8F; Wed, 20 Nov 2019 10:29:20 +0100 (CET) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id CD0C22C36 for ; Wed, 20 Nov 2019 10:29:18 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 7418458D; Wed, 20 Nov 2019 04:29:17 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 20 Nov 2019 04:29:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=mesmtp; bh=4I7AZJfdt+ZRdnB+HlqndUH Yiq5QTXRtpBu2b9tJZSY=; b=N7bnAzUA6nquUz7MpGDaNpuwnXL6ljP7wzcqiGA DxtdNZD/rdD+lH7Gz/mTl0SLpGXPvQ98vMKnYBG2mB8RZVBWGZbIEaIK1t37i9Ln YOLIarLXQLcyED9uLsE3V0YHQFCfhkxqfcZi8O8j5U2KWJ54z6gZqWxLh3TuhcyM KWqk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=4I7AZJfdt+ZRdnB+H lqndUHYiq5QTXRtpBu2b9tJZSY=; b=A7lUYG3gijIvWneGpb+A0K6oKHsvYhiOe 1rWdlO3bg2kgNafbkNq2Neb3I9MUshiMOycO2lHW4cfDMDz/qqBHTzkm6/0cCwoG ndCGzGW22owYlG1PzXvTv+XF91z/nwKiDj29bfpRCOn1x9wQnwDH2IUlZtaXhy2g 4Zy1+e47pdP0ipPKUbG1raJkiJ8j3DjAYOMu3ILchIBGUGdkea6R8/0znkNKySR5 cMvLGevZ9o/uXn3fg9qxFsoiYvSIFsrCCP5h3IM9U2usB2Ed/yOt/g0eYT056cVK X1lTsEBIot+FeZxfbR6MlHTfrmeBqmXaFhABMioElsbFy/XdP+Oqg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudehtddgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgrshcu ofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppe ejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhm rghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C4307306005C; Wed, 20 Nov 2019 04:29:15 -0500 (EST) From: Thomas Monjalon To: Ferruh Yigit , Andrew Rybchenko Cc: dev@dpdk.org Date: Wed, 20 Nov 2019 10:28:35 +0100 Message-Id: <20191120092835.25325-1-thomas@monjalon.net> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] devtools: fix required memory for null test 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" The testpmd fails in memory allocation since some ethdev structs have been extended. Increasing memory allocation from 150 to 300 MB makes it working again. Fixes: 436b3a6b6e62 ("ethdev: reserve space in main structs for extension") 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..f2396a4ca0 100755 --- a/devtools/test-null.sh +++ b/devtools/test-null.sh @@ -25,6 +25,6 @@ else fi (sleep 1 && echo stop) | -$testpmd -c $coremask --no-huge -m 150 \ +$testpmd -c $coremask --no-huge -m 300 \ $libs --vdev net_null1 --vdev net_null2 $eal_options -- \ --no-mlockall --total-num-mbufs=2048 $testpmd_options -ia -- 2.23.0