From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id F111A5592; Wed, 10 May 2017 18:41:31 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9535420A0A; Wed, 10 May 2017 12:41:31 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 10 May 2017 12:41:31 -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:x-sasl-enc; s=mesmtp; bh=twad8t7N7aXW6Z1 zdEhnqgoitEh5/YmSthkQlJSgmsQ=; b=JnIrQM0OnfYlL1rFISFM2OuQ+qcOx4+ l5vnHPbDHy8Q/vZYX+eNAbw2IlkSYOUSQpUb+8IpnN0RlcDl0Bt8vYfEv5OwcoZM BqXLsK5dAiIRVRSapLbHn002xOyxCIGhjYPVyRpI3t9xdh4JJ57XSrZjxslB6erH 4hJ1u0rVqql4= 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:x-sasl-enc; s= fm1; bh=twad8t7N7aXW6Z1zdEhnqgoitEh5/YmSthkQlJSgmsQ=; b=CCRyntpQ 3ialapiBber7pnJdvSIvzeN3eDCGbM8yJ5kJgi/2AqzqIInPn2g3nT+MhGvlyNUr /LPi1c3mCIkn74lGEM+mF1NMuPcMQPwBEDlYS8aH6+2DrSG/AeAX3cIoCYjz5oXa 4eKwdu+xo6YEvAJVYQnDth/tj+LcqE2xSa6dzabxg8BIrhE8bfzssEWEp/nwc74Q z00bacwNssqhg8FcvWE0goZqxNNDqZJLx4Oc+uDHete8sTAH4R3o3JkWaKtjSDSH j9ZpWb32EWgKqpqH73iOZ5HFhhE6u3D5GmRF9+NPvGRt7YhWP+EDhl837YR7wuLG IlPfnfcg2Rq0GA== X-ME-Sender: X-Sasl-enc: v+t0060qS0eKsGpuKsSVR58XtV0TlhJx1Lmiyj1usOVn 1494434491 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 45AE47E89A; Wed, 10 May 2017 12:41:31 -0400 (EDT) From: Thomas Monjalon To: Shahaf Shuler Cc: dev@dpdk.org, "Wu, Jingjing" , stable@dpdk.org Date: Wed, 10 May 2017 18:41:30 +0200 Message-ID: <5825278.eU5lpBf19y@xps> In-Reply-To: <9BB6961774997848B5B42BEC655768F810D6520D@SHSMSX103.ccr.corp.intel.com> References: <20170507130546.94558-1-shahafs@mellanox.com> <20170509072837.120744-1-shahafs@mellanox.com> <9BB6961774997848B5B42BEC655768F810D6520D@SHSMSX103.ccr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4] app/testpmd: fix mempool creation by socket id 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, 10 May 2017 16:41:32 -0000 09/05/2017 10:54, Wu, Jingjing: > From: Shahaf Shuler [mailto:shahafs@mellanox.com] > > > > The test assumes the socket ids are contiguous. This is not necessarily the case > > on all servers and may cause mempool creation to fail. > > > > Fixing it by detecting the list of valid socket ids and use it for the mempool > > creation. > > > > Fixes: 7acf894d07d1 ("app/testpmd: detect numa socket count") > > > > CC: stable@dpdk.org > > Signed-off-by: Shahaf Shuler > Acked-by: Jingjing Wu Applied, thanks