From patchwork Fri Dec 14 13:31:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hunt, David" X-Patchwork-Id: 48879 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 34B351BBD6; Fri, 14 Dec 2018 14:31:43 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 2BFA21BB09 for ; Fri, 14 Dec 2018 14:31:40 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Dec 2018 05:31:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,353,1539673200"; d="scan'208";a="110383961" Received: from silpixa00399952.ir.intel.com (HELO silpixa00399952.ger.corp.intel.com) ([10.237.223.64]) by orsmga003.jf.intel.com with ESMTP; 14 Dec 2018 05:31:39 -0800 From: David Hunt To: dev@dpdk.org Cc: lei.a.yao@intel.com, anatoly.burakov@intel.com Date: Fri, 14 Dec 2018 13:31:33 +0000 Message-Id: <20181214133137.23516-1-david.hunt@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181214114946.21570-1-david.hunt@intel.com> References: <20181214114946.21570-1-david.hunt@intel.com> Subject: [dpdk-dev] [PATCH v3 0/4] examples/power: allow use of more than 64 cores 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" First of all we convert all the relevant uint64_t's to char arrays. Then we remove the unneeded mask functions that were limited to 64 cores. Also extend the guest functionality and finally rause the number of supported cores to something more sensible, i.e. 256. v2 changes: * Updates out of Review by Anatoly. * Indentation fixes * resolved missing spinlock around config updates * simplified some loops * fixed bug in non-equivalent code v3 changes: * Moved a spinlock to a more appropriate place. Was in a for-loop, made more sense to have it outside. [1/4] examples/power: change 64-bit masks to arrays [2/4] examples/power: remove mask functions [3/4] examples/power: allow vms to use lcores over 63 [4/4] examples/power: increase max cores to 256 Reviewed-by: Anatoly Burakov