From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150075.outbound.protection.outlook.com [40.107.15.75]) by dpdk.org (Postfix) with ESMTP id 43DB61B1FC; Thu, 22 Nov 2018 08:01:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rAl7FX4mjbnmSOOv+n/57Nvfsovn9/LkIsFAxlP4h/c=; b=qilCEv9NEBm+TDyYteNiLi4AHcqkplfA5/bvkwPHOx8/igs4ybDuApRJsXJJ0+QXuBhV5GzU8q4GLmjbjLp+rPmGbH+R2PSQKm76kVlc8qCFT38Zo/MQBOC4+CEzsMDtOVnw2YCvL21VU4T+uUfWuwvcEpuXlZYxZj2CsVYvims= Received: from AM0PR08MB3587.eurprd08.prod.outlook.com (20.177.110.157) by AM0PR08MB3522.eurprd08.prod.outlook.com (20.177.109.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1339.21; Thu, 22 Nov 2018 07:01:47 +0000 Received: from AM0PR08MB3587.eurprd08.prod.outlook.com ([fe80::b1d2:267b:c0a5:448a]) by AM0PR08MB3587.eurprd08.prod.outlook.com ([fe80::b1d2:267b:c0a5:448a%2]) with mapi id 15.20.1339.026; Thu, 22 Nov 2018 07:01:47 +0000 From: "Joyce Kong (Arm Technology China)" To: Jerin Jacob CC: "dev@dpdk.org" , "thomas@monjalon.net" , Honnappa Nagarahalli , "Gavin Hu (Arm Technology China)" , "stable@dpdk.org" Thread-Topic: [PATCH v2] config: enable more than 128 cores for Arm64 platform Thread-Index: AQHUgY44S/p5oFv81US4zxATx6mxIaVbJZKg Date: Thu, 22 Nov 2018 07:01:47 +0000 Message-ID: References: <1542798625-46722-1-git-send-email-joyce.kong@arm.com> <1542799632-47517-1-git-send-email-joyce.kong@arm.com> <20181121113422.GA31379@jerin> In-Reply-To: <20181121113422.GA31379@jerin> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Joyce.Kong@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR08MB3522; 6:Tnl4rtJavGw0KTBd2x+2jBE0n0a9TXPYpTzqLcfXPN+9OgnkEmbx3ogv0mH66vdYklwKJa1Yy09e8NwRZNrmeK75EcYL1b5dccPDbKCApCEGyG014W/Qwf75oO8cQwtpHHLKEH/1pdpejAJY4iuj9kun4EIckSlgqb/0ToYX94kyyuFJRk1aLimkqU0UQRdqJ2lehDeZZziZwVH/AjLClccBbPR3ESBIy+rBeFZUYkAXdvQ8UEXQQLScgOHVoYhtQKIXjBuEf457awHA4vZ7TQI4qaoXhDduv1kvbiLtSLld+qPgO2ncf8MIlh+MCqb7uBFAQs8JY/geCJdNXwYcjfIK34B8KhueG/Artr+9qh+bc8cMjLZMbWakprAIHvJ8pWFZhqtJ0QGzqTFapPQK2S2etTMpLOoF0uQHWsG32RWTTyRMddoWqsjl/sNyqMQMv43absaqOKt8cD5VXa4osw==; 5:7SLd3a8Xt7F2WdSyujDlJCEWqTDv4WHiyVNoq5QYd9DRSm9RMZQ9+4ao1XMKfSL86uNBVa45RL9m2LPY88W/CYISczBzQURn4Cmwj6OtjpZL/rCDBw/BQUMFb/Uo07P6/KtegmROyQCZ+FsICrgIwYfuOZgrJKn1xhxZJRVvD1c=; 7:jgc7xwO64AU7oDi4eQ4Mnz6PLoCw4zzMjRD3thP8AmWBnrtSwCV/aOCTRmXWtjovje8jVDcPDorSH8VEVkC6T2h27KOWG2+ABVcQPaBvvqKHAnxv/wY4hqKWvc4yLj5nEj3qv0WdJhP2NYj0/24FQQ== x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: b59395fd-d863-434b-2c9e-08d650485ebf x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR08MB3522; x-ms-traffictypediagnostic: AM0PR08MB3522: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231442)(944501410)(52105112)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:AM0PR08MB3522; BCL:0; PCL:0; RULEID:; SRVR:AM0PR08MB3522; x-forefront-prvs: 0864A36BBF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(366004)(396003)(136003)(189003)(199004)(40434004)(13464003)(8936002)(6246003)(305945005)(74316002)(7736002)(97736004)(8676002)(66066001)(229853002)(81166006)(81156014)(5660300001)(99286004)(256004)(5024004)(71190400001)(6506007)(26005)(186003)(68736007)(76176011)(7696005)(86362001)(2906002)(55236004)(6116002)(3846002)(106356001)(53936002)(33656002)(478600001)(55016002)(54906003)(14444005)(25786009)(316002)(105586002)(6916009)(6436002)(4326008)(71200400001)(53546011)(102836004)(476003)(446003)(11346002)(9686003)(72206003)(14454004)(486006)(2900100001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3522; H:AM0PR08MB3587.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 9IzJItAXG0DKWaDjuslT5yD4RwhMNehD9twAxHEgqY+P7AY/+SSD8dNu34Q+z0e35OJWe4bwzph+CMr258jYMbVPd37kAyn0Qr2hB1a3S9st8gAeLF2yn+ZNHL9A+I5zQdm55waHnxq0LfG/jyHMHIkNJa9lQPCDIsKCHgLvDm0y2CTPLfqNhZ6YhrGvUQT2SQ1m0yKb3lY1h1IYjy5gHox2eIql7EIFyx4ULT3tg4mNZhwIhSv214eH7wjlqrTZh5iwV9GHxHp18ER6ykAtVm/nKPdbYEO3RyJHvhpabZnoNqxUHqsF9iBBcCbpI80Ifrx4mA9nIBJbdvepxcHXYtDNXZedFYhPGZfafFZc/XA= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: b59395fd-d863-434b-2c9e-08d650485ebf X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2018 07:01:47.6645 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3522 Subject: Re: [dpdk-dev] [PATCH v2] config: enable more than 128 cores for Arm64 platform 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: Thu, 22 Nov 2018 07:01:49 -0000 > -----Original Message----- > From: Jerin Jacob > Sent: Wednesday, November 21, 2018 7:35 PM > To: Joyce Kong (Arm Technology China) > Cc: dev@dpdk.org; thomas@monjalon.net; Honnappa Nagarahalli > ; Gavin Hu (Arm Technology China) > ; stable@dpdk.org > Subject: Re: [PATCH v2] config: enable more than 128 cores for Arm64 > platform > > -----Original Message----- > > Date: Wed, 21 Nov 2018 19:27:12 +0800 > > From: Joyce Kong > > To: dev@dpdk.org > > CC: thomas@monjalon.net, jerin.jacob@caviumnetworks.com, > > Honnappa.Nagarahalli@arm.com, gavin.hu@arm.com, stable@dpdk.org > > Subject: [PATCH v2] config: enable more than 128 cores for Arm64 > > platform > > X-Mailer: git-send-email 2.7.4 > > > > > > When running dpdk applications on cores whose ids are bigger than > > original max_core setting, eal error as below: > > EAL: Detected 104 lcore(s) > > EAL: Detected 2 NUMA nodes > > EAL: invalid core list > > -l CORELIST core indexes between 0 and 128 > > > > The fix is to increase max_core to 256 on Arm64 platform. > > > > Fixes: b3ce00e5 ("mk: introduce ARMv8 architecture") > > Cc: stable@dpdk.org > > > > Signed-off-by: Joyce Kong > > Reviewed-by: Gavin Hu > > --- > > config/arm/meson.build | 2 +- > > config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + > > 2 files changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/config/arm/meson.build b/config/arm/meson.build index > > b755138..020df09 100644 > > --- a/config/arm/meson.build > > +++ b/config/arm/meson.build > > @@ -51,7 +51,7 @@ flags_cavium =3D [ > > ['RTE_MACHINE', '"thunderx"'], > > ['RTE_CACHE_LINE_SIZE', 128], > > ['RTE_MAX_NUMA_NODES', 2], > > - ['RTE_MAX_LCORE', 96], > > + ['RTE_MAX_LCORE', 256], > > This change makes thunderx config to 256 cores not armv8. > For generic config, it needs to be under "flags_generic" > not under "flags_cavium". Just like you did for updating defconfig_arm64- > armv8a-linuxapp-gcc config instead of defconfig_arm64-thunderx-linuxapp- > gcc > Config to 256 cores for both flags_generic and flags_cavium in V3. For thunderx, it will do meson build according to flasg_cavium instead of f= lags_generic. And there is no inheritance relationship between the two flags. > > ['RTE_MAX_VFIO_GROUPS', 128], > > ['RTE_USE_C11_MEM_MODEL', false]] flags_dpaa =3D [ diff --git > > a/config/defconfig_arm64-armv8a-linuxapp-gcc > > b/config/defconfig_arm64-armv8a-linuxapp-gcc > > index 1842744..a6ed90c 100644 > > --- a/config/defconfig_arm64-armv8a-linuxapp-gcc > > +++ b/config/defconfig_arm64-armv8a-linuxapp-gcc > > @@ -6,3 +6,4 @@ > > > > CONFIG_RTE_TOOLCHAIN=3D"gcc" > > CONFIG_RTE_TOOLCHAIN_GCC=3Dy > > +CONFIG_RTE_MAX_LCORE=3D256 > > -- > > 2.7.4 > > IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.