From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-eopbgr770049.outbound.protection.outlook.com [40.107.77.49]) by dpdk.org (Postfix) with ESMTP id 5211F5F1B; Wed, 21 Nov 2018 12:34:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qRBlmg8+xIN3fdCjS3BHNzZrI9cR34sXJDY/21JHxz8=; b=WnHbTZfKoxJQe3TYpoQRDPzk7OcRj9yamZ2vXurcZJBfTBaGJ85bwQ8Yc/Oi4Lo6UzMF0/hDi/NZT4LBTx2yMsy0rRPBVAFc9grNoQhhg2ZK/Py3CWEfTkWNNrkWsU/uk+Ik9guC5OstxPdu53CYg6UHip5SK1ZiY4G8srN1JJg= Received: from BYAPR07MB4997.namprd07.prod.outlook.com (52.135.238.214) by BYAPR07MB5239.namprd07.prod.outlook.com (52.135.241.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.14; Wed, 21 Nov 2018 11:34:42 +0000 Received: from BYAPR07MB4997.namprd07.prod.outlook.com ([fe80::2d56:eab:242f:fdfc]) by BYAPR07MB4997.namprd07.prod.outlook.com ([fe80::2d56:eab:242f:fdfc%3]) with mapi id 15.20.1339.027; Wed, 21 Nov 2018 11:34:42 +0000 From: Jerin Jacob To: Joyce Kong CC: "dev@dpdk.org" , "thomas@monjalon.net" , "Honnappa.Nagarahalli@arm.com" , "gavin.hu@arm.com" , "stable@dpdk.org" Thread-Topic: [PATCH v2] config: enable more than 128 cores for Arm64 platform Thread-Index: AQHUgY0vKfsMqKU+RUq2765JUXTQGaVaGTKA Date: Wed, 21 Nov 2018 11:34:42 +0000 Message-ID: <20181121113422.GA31379@jerin> References: <1542798625-46722-1-git-send-email-joyce.kong@arm.com> <1542799632-47517-1-git-send-email-joyce.kong@arm.com> In-Reply-To: <1542799632-47517-1-git-send-email-joyce.kong@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [115.113.156.3] x-clientproxiedby: PN1PR0101CA0047.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::33) To BYAPR07MB4997.namprd07.prod.outlook.com (2603:10b6:a03:5b::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BYAPR07MB5239; 6:3DsVshEkMV1ClA1euSc01uQ/KtqAgZqsmj/BH3VgXyeVVAslf65gSAEFbnH2gcs6LeuqRjvcmTzDI9gtHoUBqG2qV3Bt33mx4WYCnParLXTYtnX5+UdDnmgk6bMLelT/IJIEuw+SLygSRsK2+jAGj4tvlUnK32Gmxx6WSu5CMA65RR7OokWYQXerCAayes1YJl4Ln9yQE3jvc1127Wk6juCcS6cuA0tSNuVIDrQvAMBprGk4/unvZQYaJ65gOy9Ab9QIPsR4dk62SrTtr9o6fpCmIulF6yucyLDy8CKSut5zQREW3YMU0Z/kWwOSiUtofu+qpYYIhWNJaqWNnmPb0bwUnYyE4ZBui9nlsFG1NnYND+RZbZBrFFqI/Y2OwB1oyE/tAzg6TS3rmrt24HREnuJNUxjNN1r02O2vCQGEtZWePYduWM3AchbzaN4ASYCln3zplx0l4KHyY0dSFCU6ag==; 5:sdu9uZ8nEC6po5OdF0FKwdmRh6PBam+3IJMjPO3pM/qqilqPOzI3YBDl1VMrgImdA7qHUOfScRrBdUyDN8Zz1ghYF/o9mu4V6yKVN97/KAHLWkelTPB33aGbYr/XgWsibkhiB8d2tGiV0v62ldYZg0RGcOMQ4qOzuKylS9nVp5g=; 7:HST9MLZbMuFtu7B4uDAdYpJuT/FBuI6GuaqeAnXXuRtPUqOPFGtD/vxD2kY00IA1wAzOq95mseKqfjzngCXsQ9wuWqctKVNNlT5+DiIugqZayTEY2TFN9Vhz3mmWwiS9RAtYvafBCx9RZPXCSkcP6w== x-ms-office365-filtering-correlation-id: d5a9709b-d514-4d28-2411-08d64fa55457 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB5239; x-ms-traffictypediagnostic: BYAPR07MB5239: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(3231442)(944501410)(52105112)(10201501046)(3002001)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:BYAPR07MB5239; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB5239; x-forefront-prvs: 08635C03D4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916004)(346002)(396003)(366004)(39860400002)(376002)(136003)(189003)(199004)(13464003)(256004)(53936002)(6486002)(8676002)(14444005)(2900100001)(6246003)(81166006)(81156014)(33716001)(66066001)(229853002)(8936002)(71190400001)(11346002)(9686003)(446003)(6512007)(316002)(71200400001)(186003)(486006)(476003)(7736002)(25786009)(305945005)(68736007)(4326008)(102836004)(106356001)(6506007)(105586002)(99286004)(14454004)(97736004)(33896004)(54906003)(478600001)(386003)(55236004)(6436002)(42882007)(5660300001)(2906002)(26005)(72206003)(52116002)(76176011)(6916009)(3846002)(1076002)(6116002)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB5239; H:BYAPR07MB4997.namprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: W/FB7qNQx9MSWzELpaZzwG2uyW/JtaQJNYYZBFGwi56unRnMIX4jpoY1Wv1I0Aaf1ZipRVrrQ8IaBTg11zwtnaoJMtEHUpL9WCP4AH/hifY0rnDGFTNBjp1cptz65XGvraDE92d+ICdrEOrSoUJQHebbVnewgbXF8K22aERTHQ0X2+RwrxCiuLPgEPVJZ7usAFRREtuqo2ZHEeD1N6LVyk19LfGqQ8wbeyAOi8HnlT+dWFXg87UdMyBycN5MLFDAFR+zFXoMBPQELAxPlZSHvm2xkq4CLYGmgZDzTYR25BgGRr4aFzz6co1jRszjB4S8w/B7ic3x/nh/ckdR5Th8Bdy5s+rKjOw9zgFw4Lm6Om4= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-Network-Message-Id: d5a9709b-d514-4d28-2411-08d64fa55457 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2018 11:34:42.6942 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB5239 Subject: Re: [dpdk-stable] [PATCH v2] config: enable more than 128 cores for Arm64 platform X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 11:34:45 -0000 -----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 >=20 >=20 > 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 >=20 > The fix is to increase max_core to 256 on Arm64 platform. >=20 > Fixes: b3ce00e5 ("mk: introduce ARMv8 architecture") > Cc: stable@dpdk.org >=20 > 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(-) >=20 > 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.=20 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 > ['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/defconfi= g_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 @@ >=20 > CONFIG_RTE_TOOLCHAIN=3D"gcc" > CONFIG_RTE_TOOLCHAIN_GCC=3Dy > +CONFIG_RTE_MAX_LCORE=3D256 > -- > 2.7.4 >=20