From patchwork Mon Apr 9 08:58:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 133008 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp48536ljb; Mon, 9 Apr 2018 02:01:21 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/exVeGF0x+hul1qG8vla/PAq4Yy85EcI+Pi06NiHzA5fHX1AUOFIlvuq2tD+JJtyNbM4Tl X-Received: by 10.28.105.92 with SMTP id e89mr21045301wmc.146.1523264481045; Mon, 09 Apr 2018 02:01:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523264481; cv=none; d=google.com; s=arc-20160816; b=tnC4eo46VXRFp0Fa4g++LieAKkjElhIN3YBibLfSoGeAqrt+AMsgXeZUvSns9GGzYM GJg1BUx1HnwucDoyJXX0zriYc3SfyUuMQ5yTsEr29SyjIac1EF+qejP4M/HiVRcOSm17 tGmVMOzYh34MBPF7K5q3QI116CTsgZ87SUM57fFD8k0xDVZyItHt6hr3TiGUbyPHwpWi XT3x8+i7qHu+G6l4n0lu53wM4/7UgMNuB8XZRb6UULyVHw72ZUUXbcswCLF5zRgD57LV Z/GyUkaFFRPPEl5z2v5iNoj/xyI+nfvkDj4/X7vnTVM2EjXHrsUkHvecheJuN7+4aVMl jzpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:dkim-signature:arc-authentication-results; bh=SIq/AyOfNQmAm5W4ZuPowz6/jBc/h0h/8jAhmhq1VcM=; b=u7AGt/vUFusehZuPZ4sTVR8/p7xAoQKlEh1VokxMCKp73vRszUqoSEdNl/tS90Vqq0 aajC7IbWT+CcmPT+imm2o03jmeKBc2YeUvhILviEZnE35uBPKLxYT1bPTW52qNS2YcO2 AgQO9OaPv5mnaWvly84qckpCiQbi/ZM8KWAfox1GPWXBhMf1/K33h+hbi461Y2eZP5d0 /C5xo4K7aiw2lRKvXnKDpVWLHqLIssHRAK527Uniylp6LkqNTJOjZrX0H09Sl7XG6NiB 20R5Dtp6i3iDXIPfltTlLRAxIzRKZM7XrgeZm27pToANkylb8m3iR7P6TZ95YC4towl9 8jGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=n/pw4xzl; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id p59si11491468wrb.339.2018.04.09.02.01.20; Mon, 09 Apr 2018 02:01:21 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=n/pw4xzl; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 962491B7CA; Mon, 9 Apr 2018 11:00:48 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0046.outbound.protection.outlook.com [104.47.1.46]) by dpdk.org (Postfix) with ESMTP id 2D61C1B79D for ; Mon, 9 Apr 2018 11:00:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SIq/AyOfNQmAm5W4ZuPowz6/jBc/h0h/8jAhmhq1VcM=; b=n/pw4xzl1GYXQDEc241CA+WOXRCjqwlkuXz5jVU9oFqng2/cQy46ofifLQDIRij/777frHwVhpxsGTB301f6/9u4ucTdeGqQ7+D8zzlI/+kXIBYudpLhdEIOsBXVCvwoIQm9AJQ1u8X0AW9xEn8G7/wYjYunkZywryR6IWm24tQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by AM2PR04MB0755.eurprd04.prod.outlook.com (2a01:111:e400:8411::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.653.12; Mon, 9 Apr 2018 09:00:42 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: jerin.jacob@caviumnetworks.com, Hemant Agrawal Date: Mon, 9 Apr 2018 14:28:37 +0530 Message-Id: <1523264319-26429-5-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523264319-26429-1-git-send-email-hemant.agrawal@nxp.com> References: <1523264319-26429-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: MAXPR0101CA0067.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:e::29) To AM2PR04MB0755.eurprd04.prod.outlook.com (2a01:111:e400:8411::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7d317d24-17b9-4ece-f0d9-08d59df86050 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM2PR04MB0755; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0755; 3:dHVxUYVx7y2Xs+jynbeH/hRUm2OssQSj4h/npWTUVWk8EiA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4V2BM72kzoR+zfl3NqU7KgyrB514ZM28hzgqQ8DV0ptY8LBHP4+rRICFiuqtvkSY3UueODmA3dxH8uFSOpvamRLDTCeUfBnSKnZsXurmk5Irp1KhuqkGo88E59m7s61hIAuxW1orPqLYRINjYXGtlpoTneirAvRMCUKzhxlVHIggYM/H3OjkB7Hj1L343Q87QTZ2Jm4pGqrgLIq4HLIGFdNon9g6ENemTJNuCUIttcIaUyBG72EIJbOGUt0aXuGnqI+jjjjGddoSGFsG/U6AKng7kh+CCzwSplYCBbgc6iBeh; 4:SvhcmZekGQ17zzKI73fzYvNme8NfR6ykGNQony59A6gF4qU1A5TH5MzVBvvx8CsVePG3VygzWOnFlm92ZcIF4tJI/dq5i5srq1riQgMABEeEAmQhtpFtnTQ7sXZ2ul06Fxu6Yn0tqDaxu6En3Nnp/N8Ro/sRJgwXiVLo9E65Z/xp3+F1XCPGIclc9FC+OXooYEg3sEZbhDRAdWRdFdxCr+pmoKLightaG9hGliKIohwAextVaZ8NUFDkFLLR2LEG9x+aJve3MjIS0QSgzDWaBKGAOu5eUMC+nhLts2owEpHcJNbt1Bq8Xs6pfNm4pCrI X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231221)(944501327)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041310)(20161123562045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011); SRVR:AM2PR04MB0755; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0755; X-Forefront-PRVS: 0637FCE711 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(396003)(346002)(366004)(376002)(39860400002)(199004)(189003)(2361001)(55236004)(3846002)(6666003)(5009440100003)(6916009)(50226002)(6116002)(50466002)(81156014)(8936002)(2906002)(6486002)(68736007)(316002)(8676002)(105586002)(81166006)(16586007)(76176011)(2351001)(48376002)(66066001)(16526019)(1857600001)(86362001)(6512007)(26005)(4326008)(478600001)(36756003)(5660300001)(186003)(53936002)(97736004)(106356001)(47776003)(25786009)(11346002)(59450400001)(7736002)(305945005)(486006)(2616005)(6506007)(52116002)(51416003)(956004)(386003)(446003)(476003)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0755; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR04MB0755; 23:8ZngTxrII82u4abKpPmkmxXFmlYseFFkh3zAHXpIE?= a40PNGUbBaeUIg0/m/yniLiL1ECbbJ1PaE2/hgUkS97kzrxDYASK82ODwPH0YQ9oYkQk9m/qsFE45KGDG1E4qiaRbAd0WX/94pghZ97rmaMQn79PBqkVn4gvaAd5MzA2gYTNUKs6Z71QIqlOL41BpDtaMIz2oGq2d0og1rH5Usk1V+YUOK8V+iUe0QO/BxQYTUAWzq/HaLpRftT+/ZtC4DxrlJJusSykLEMZ5Gtz99PggAIawwT1S/11tB2YtEXQuHOS7Px6C0QRL4II7BV1KEhiO46yQe3hBR/rQ+focfScOoPv5C4Xv2iiBGJKHhNaC1pdiDgvGw1a/shS3ESlKIjsi/Mdxs1LY1NQkvVQyGywQTYDyjgt4JQRrxWKgfyXFbny12scvMJfomG4Q53DL/cGZGlqU21bqKn81TT59LIvZfEjO7izAJwPreV781rjcMuLnAwb/ACoJT7e7B3L91j23FwDmFbjE/Pqon2/1uAtlyo3RrX7CoLopTmTiU0JCNVVuaMXWokrDRWWxPvz/IylJFyuNQy4GmJuz7+3C8W476VcnuLuNzGcwd6IBmQVdJZiG2mhW94wHjJpgiIkOztGqiQW6iouIdeLHAwqhwXG8zyMnVfmJuFryUGJT6z4+WeKjsJhI8g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K3VNHIIFgiO59tmgi7kmz656U96MhaagceXWsu/jwvYXfLqQk26cxKkw+qAOTsWPd8/CZBQpMHhbQKhiWA/Jc+7L5pNVHySqFC/rHL5Ruf7s5ugEegLkvDqLqz87rzmVLn6SI28ng1rxI4Jmmy6WHSjgw1BWbbiYP+8cfnSqnkZTKrpewubAq7uMIt3NZkf2rrMjmZfc9s/OyHzlPHnjZpcIlTj+D/muka3aYJqQeg4O5CZGfGiK801xR8E2dqpj/ZiZxSb5gsC3/VPLEaPi2i2dl7vA42oloEYoFqDyAQ==; 5:dYcNZhanYcjZzb/wlGT9ISDZEYKlypJtflFGluHQeFjX6NoafouFBAATgZQpEWAfDtKA2xQDp8fWRjwEiK0QBncIKOj+gzRwjUhqfloMwfAslwxHuw3R/LwuVTNCfNL8mpFCT3SdAbTCFamSUgz83cdfbs/gXoULRog/DvCbwIw=; 24:71QT107c5s7/YuUM5k4SkxYxkiZiVo7aMB/mX2fyRQR9Eyia/YTiv5T8i2Chy18CjTkT6Ew4IdTQj9m5FlAqrhydW8NuQLaVUMj1QL3lJvg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0755; 7:lJAbOaDhHLD1udUzd2ByzT/bF59B3gVBA1R+W90t3N/0VqjwO2xJkADaQSIlrtGH6O+otKFY0Hg5oBVD+lsSo/1WVI9mYrXelkUr4JRykJb7RR5Ml8QhcRGKcflnqOYiqsRqHynEI1mj5AO9/ZQoLvULN9aIJQBqtB8XScTsI9r3bo3/Nd9gclY0K9yUVaHdekILkjquLho2X9JNiR8uIYl3MQN7j97ZHTRGjKjeOAES2PoEvYZBkXVVSaOQaOUe X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2018 09:00:42.6913 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7d317d24-17b9-4ece-f0d9-08d59df86050 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0755 Subject: [dpdk-dev] [PATCH] usertools: change to SPDX license identifier 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Cc: jerin.jacob@caviumnetworks.com Signed-off-by: Hemant Agrawal --- usertools/cpu_layout.py | 36 +++--------------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) -- 2.7.4 Acked-by: Jerin Jacob diff --git a/usertools/cpu_layout.py b/usertools/cpu_layout.py index d3c8eba..6f129b1 100755 --- a/usertools/cpu_layout.py +++ b/usertools/cpu_layout.py @@ -1,38 +1,8 @@ #!/usr/bin/env python +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2010-2014 Intel Corporation +# Copyright(c) 2017 Cavium, Inc. All rights reserved. -# -# BSD LICENSE -# -# Copyright(c) 2010-2014 Intel Corporation. All rights reserved. -# Copyright(c) 2017 Cavium, Inc. All rights reserved. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# * Neither the name of Intel Corporation nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# from __future__ import print_function import sys try: