From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4] app/testpmd: fix mempool creation by socket id Date: Wed, 10 May 2017 18:41:30 +0200 Message-ID: <5825278.eU5lpBf19y@xps> References: <20170507130546.94558-1-shahafs@mellanox.com> <20170509072837.120744-1-shahafs@mellanox.com> <9BB6961774997848B5B42BEC655768F810D6520D@SHSMSX103.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Wu, Jingjing" , stable@dpdk.org To: Shahaf Shuler Return-path: In-Reply-To: <9BB6961774997848B5B42BEC655768F810D6520D@SHSMSX103.ccr.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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