From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id C8E381041; Wed, 19 Sep 2018 15:38:04 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6029B21908; Wed, 19 Sep 2018 09:38:04 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 19 Sep 2018 09:38:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=B3J5pT+3jLfOYcWfKIzoZZcuMe X/dFhXg2VpdSN6TSo=; b=Yfg5R9JhE0YQIh+UimpLAD+CM8z96DZdjDehKu0Ih/ Tbv/MqvsWuPN1viI/ccJRp2bznlDT+1/c8eYqDPfKRwatUtkbWrp9q76PHXPlo+N 90KV1aHcO/1Zzi+tDG/YulEVXR6DuPmX8mmvc5LKE+8xNQ4Id3TJB7cHqY81yAW6 0= 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-sender:x-me-sender:x-sasl-enc; s=fm3; bh=B3J5pT +3jLfOYcWfKIzoZZcuMeX/dFhXg2VpdSN6TSo=; b=wS9hDY8or5fXUUXJJnTIXo /fReWN8NC2TWqMTtI9zYbKKpAbLKUeYeDkLhI7TAFaB5F76qxrcAXm/YQ3snX03V MslIxyXyHRtJIXFW7THxVMZlNa6yAAoWAkT3Xq3JJhcypc15+HUhiVv5P37znNOy QILfZmKxMORI5cs+YOsJNTFcRx2lboKHP7RCKteTnV5qRtUU+ewzjvA7frO3gCd7 x8knCQe0BJdZsTWFF/erX7ReXgQPYk/bQTf3Zt8Yo/UULIvrTduYloOD+V4f5DHk QfzidVJQLXtvRTPys1srLk+HbmrH/t924jaUno6+1CnLC3vpT7fx0BGowBqIb0Fg == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 365B9E479F; Wed, 19 Sep 2018 09:38:02 -0400 (EDT) From: Thomas Monjalon To: "phil.yang@arm.com" Cc: dev@dpdk.org, "Iremonger, Bernard" , "gavin.hu@arm.com" , "stable@dpdk.org" Date: Wed, 19 Sep 2018 15:38:00 +0200 Message-ID: <3618143.o1vK1DBNeJ@xps> In-Reply-To: <8CEF83825BEC744B83065625E567D7C260CEF262@IRSMSX107.ger.corp.intel.com> References: <1535362398-6526-1-git-send-email-phil.yang@arm.com> <1536717266-6363-1-git-send-email-phil.yang@arm.com> <8CEF83825BEC744B83065625E567D7C260CEF262@IRSMSX107.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] app/testpmd: optimize membuf pool allocation 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: Wed, 19 Sep 2018 13:38:05 -0000 > > By default, testpmd will create membuf pool for all NUMA nodes and ignore EAL > > configuration. > > > > Count the number of available NUMA according to EAL core mask or core list > > configuration. Optimized by only creating membuf pool for those nodes. > > > > Fixes: c9cafcc ("app/testpmd: fix mempool creation by socket id") Fixes: c9cafcc82de8 ("app/testpmd: fix mempool creation by socket id") Cc: stable@dpdk.org > > Signed-off-by: Phil Yang > > Acked-by: Gavin Hu > > Acked-by: Bernard Iremonger Applied, thanks