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 1504A6932 for ; Sun, 30 Apr 2017 15:29:20 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 72B2420511; Sun, 30 Apr 2017 09:29:20 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 30 Apr 2017 09:29:20 -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=SLeex4B5leNMM// TQWXkKDEma2/rTOVJRhFEIh0M8/4=; b=kdkoKSGs5114FlITAUsmJzOH47oSO/o OLdwSdcBxTak3EMDAP5jX9hjoJ4HVUHali/809Lsq9XPW75CCHclNVU+1SHd+8ky KCfpWDBbWYxMVsBui/+u9X8hHUcRurwgI1lxoVIQ+lEK6WjQWRExtCDHaUmPyBiQ oBMzJxsC7RFY= 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=SLeex4B5leNMM//TQWXkKDEma2/rTOVJRhFEIh0M8/4=; b=caq7JXEV 8aKu4lbf4ZDFXr/JRZvZoWiSDyCoFG6fG6g8aKSBc92NYhmxHStBygfRgU6FH4Aa niraF/LAtsh6Vcx/y2T2RTBASWSnmW6Rwh4NynkbCCh0U5eL0a1GVM/Y+rBeH+hi YwEZv50qfp7oQ3BLTD8wr/qVWw2jyYZhDQRq2n3tLG0oOQnMZXjrl+NMrcTV4fIc I+fwRCiSyRpGZgNc9Cf/8xZtS5zdJ+p+FDJkZ5K6lU2dlREwa9ghm3CiUDL6MrBT AVi/TQ0SI4ywj8V3R9qcqKUxn9ih/wsmUlY08NCvEzCEwRUzWJ+2LOtq9Dgtl6LU xfCs0vyRd5RwRQ== X-ME-Sender: X-Sasl-enc: zSsX9BlW2qlPOfWWPKHHdW0EOdFjMF//AB0a7sR84Grp 1493558960 Received: from xps.localnet (245.114.118.80.rev.sfr.net [80.118.114.245]) by mail.messagingengine.com (Postfix) with ESMTPA id 1BDA47E0FE; Sun, 30 Apr 2017 09:29:20 -0400 (EDT) From: Thomas Monjalon To: Gowrishankar Cc: dev@dpdk.org, Andriy Berestovskyy Date: Sun, 30 Apr 2017 15:29:19 +0200 Message-ID: <2353390.jtLUV08Iqy@xps> In-Reply-To: References: <1874376.tUCind7prS@xps> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] usertools: fix cpu_layout script for multithreads of more than 2 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: Sun, 30 Apr 2017 13:29:21 -0000 28/04/2017 14:25, Andriy Berestovskyy: > Works fine on ThunderX and does not brake Intel either. > > Reviewed-by: Andriy Berestovskyy > Tested-by: Andriy Berestovskyy > > Andriy > > On 28.04.2017 13:58, Thomas Monjalon wrote: > > Andriy, please would you like to review this patch? > > > > 28/04/2017 12:34, Gowrishankar: > >> From: Gowrishankar Muthukrishnan > >> > >> Current usertools/cpu_layout.py is broken to handle multithreads of count more > >> than 2 as in IBM powerpc P8 servers. Below patch addressed this issue. Also, > >> added minor exception catch on failing to open unavailable sys file in case of > >> multithread=off configuration in server. > >> > >> Patch has been verified not to break existing topology configurations > >> and also not changing anything in current output. > >> > >> Signed-off-by: Gowrishankar Muthukrishnan Applied, thanks