From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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: , X-List-Received-Date: Fri, 14 Dec 2018 13:31:41 -0000 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