Message ID | 20181214133137.23516-1-david.hunt@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 <dev@dpdk.org>; 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 <david.hunt@intel.com> 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
examples/power: allow use of more than 64 cores
|
|
Message
Hunt, David
Dec. 14, 2018, 1:31 p.m. UTC
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
Comments
On 14-Dec-18 1:31 PM, David Hunt wrote: > 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 <anatoly.burakov@intel.com>
14/12/2018 14:37, Burakov, Anatoly: > On 14-Dec-18 1:31 PM, David Hunt wrote: > > 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 <anatoly.burakov@intel.com> Applied, thanks