From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 8D0FE532E; Tue, 9 May 2017 10:54:29 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 09 May 2017 01:54:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,313,1491289200"; d="scan'208";a="84481356" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 09 May 2017 01:54:28 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 9 May 2017 01:54:27 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 9 May 2017 01:54:27 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.117]) by shsmsx102.ccr.corp.intel.com ([169.254.2.246]) with mapi id 14.03.0319.002; Tue, 9 May 2017 16:54:25 +0800 From: "Wu, Jingjing" To: Shahaf Shuler CC: "dev@dpdk.org" , "thomas@monjalon.net" , "stable@dpdk.org" Thread-Topic: [PATCH v4] app/testpmd: fix mempool creation by socket id Thread-Index: AQHSyJXyd/b9/LVKD0epl+l5ewkI7qHrsl9w Date: Tue, 9 May 2017 08:54:24 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F810D6520D@SHSMSX103.ccr.corp.intel.com> References: <20170507130546.94558-1-shahafs@mellanox.com> <20170509072837.120744-1-shahafs@mellanox.com> In-Reply-To: <20170509072837.120744-1-shahafs@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH v4] app/testpmd: fix mempool creation by socket id X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2017 08:54:30 -0000 > -----Original Message----- > From: Shahaf Shuler [mailto:shahafs@mellanox.com] > Sent: Tuesday, May 9, 2017 3:29 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; thomas@monjalon.net; stable@dpdk.org > Subject: [PATCH v4] app/testpmd: fix mempool creation by socket id >=20 > The test assumes the socket ids are contiguous. This is not necessarily t= he case > on all servers and may cause mempool creation to fail. >=20 > Fixing it by detecting the list of valid socket ids and use it for the me= mpool > creation. >=20 > Fixes: 7acf894d07d1 ("app/testpmd: detect numa socket count") >=20 > CC: stable@dpdk.org > Signed-off-by: Shahaf Shuler Acked-by: Jingjing Wu