From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM05-CO1-obe.outbound.protection.outlook.com (mail-eopbgr720056.outbound.protection.outlook.com [40.107.72.56]) by dpdk.org (Postfix) with ESMTP id 89B6E1B3A6; Thu, 22 Nov 2018 12:04:16 +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=+5ZzrvyYoGO0ngcnOmWAbuX/XedD3tgrhrzsPuGZIKE=; b=Cj2CVqVYI6WjgsVO4hvJetFKBAc8+A3F9w7pRG9pbv1D5UlSE0zYhdTMUy6v1QsFOVCkJUveYCi/QN1jZgFYlc4JNvV2tr3TLdDOCag4+NVI2OkRoM3FeRu+yY8lKUObPPzaWKaMXkwsdqQ22VKcP4rOWWVNNmdfrryp8IRqZIY= Received: from BYAPR07MB4997.namprd07.prod.outlook.com (52.135.238.214) by BYAPR07MB4840.namprd07.prod.outlook.com (52.135.204.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1339.28; Thu, 22 Nov 2018 11:04:13 +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; Thu, 22 Nov 2018 11:04:13 +0000 From: Jerin Jacob To: Joyce Kong CC: "dev@dpdk.org" , "thomas@monjalon.net" , "Honnappa.Nagarahalli@arm.com" , "gavin.hu@arm.com" , "nd@arm.com" , "stable@dpdk.org" Thread-Topic: [PATCH v4] config: enable more than 128 cores for Arm64 platform Thread-Index: AQHUgjYxd4vmsE+2g0O1bFumscCV16VbobmA Date: Thu, 22 Nov 2018 11:04:13 +0000 Message-ID: <20181122110359.GA14060@jerin> References: <1542870074-142423-1-git-send-email-joyce.kong@arm.com> <1542872227-143453-1-git-send-email-joyce.kong@arm.com> In-Reply-To: <1542872227-143453-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: PN1PR0101CA0057.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:d::19) 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; BYAPR07MB4840; 6:68h/ilt0xTxG9ig41kNw9DRL8QpFmY/XZ9JCKzsCPz+MZI29rJtfhuYO11F2ciyuJw4VnAzLunhbCSSYPu9ObDFaXKRu+pEsN5ttXtu4lXGvPH4lbnNa6Z9sCGa+1r4+1zeRiglWPybsqfh8I3jlWh4qHSWD1qK84Hd1EOLgQRRecf5OFZOVMxLEObhM/sXn+imbq46ApSbKNDdYzBHFZGWo2DQO8NhB7RazMBRBB3rm9uT2EXfL0uX5+4AjR0AhS8qTS6Lq0f5JVQHOW2SpVs+O+ClbrPUbAqkK5Yclzg8WF3DpvpjK40bPNi6k+cVSbb7lo7em/SfzW/GW80v41imKmvSNpt5B/Y7t4r9RwwbSm6A7yYCPDcQGytdOR0XjjTelRQPtx6oXTci+QsqI6LSfp6ZadvRzZj/s7JyE8VNcWFmltMn9/H0ZCHMuLYxRA41Ruekm5KMk2sa1mClahg==; 5:BaEPg48ZOwKpr1lo3J/RqRfO9E7UrL2ftQcfJ1C2qhdGvpF46+uw25uWjWeB3H+Hx5M9l6UQ5uSHxkQmCkiIKBTdgDHsXT3li3xYosyP/j+73PzjJ//4liOQuUsDx2MTlV6D0bmsznU/Fxp89Vdq38oQk2WJ3rDoLU2o5sxQa5o=; 7:ayy9pGmQV7NaXHvBCiKCzIOiwDRBMvlVmfMGXNB787b8Nsxt4LgkYIdNlNZtAphfX1rLbiwAXIp1oFT2KIHte9LhDkW6celpERF71QpZsOT/sdyAIb6In1akdgfR7cZbnSfE8qGSnYJ9sGZXovjNgw== x-ms-office365-filtering-correlation-id: 7b5b0dd1-51be-4a3d-fb21-08d6506a3c9e x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB4840; x-ms-traffictypediagnostic: BYAPR07MB4840: 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)(10201501046)(3231442)(944501410)(52105112)(3002001)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123560045)(20161123564045)(201708071742011)(7699051)(76991095); SRVR:BYAPR07MB4840; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB4840; x-forefront-prvs: 0864A36BBF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916004)(346002)(39860400002)(366004)(396003)(376002)(136003)(13464003)(199004)(189003)(54906003)(229853002)(316002)(26005)(55236004)(3846002)(102836004)(71190400001)(6916009)(42882007)(25786009)(7736002)(478600001)(72206003)(6116002)(1076002)(386003)(6506007)(186003)(4326008)(305945005)(71200400001)(6246003)(5660300001)(486006)(446003)(6436002)(476003)(11346002)(6512007)(9686003)(53936002)(2906002)(68736007)(33716001)(76176011)(52116002)(99286004)(33896004)(14454004)(33656002)(105586002)(6486002)(8676002)(97736004)(8936002)(106356001)(81166006)(81156014)(66066001)(2900100001)(256004); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB4840; H:BYAPR07MB4997.namprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: eazOH0O4LTZSwP9QGJ7tuUaa2kk8h1cHaXMgnf1iWpu/tkQjbepcen3JYaoigDHuV46gzXNWZjnuljcHTE/cstdxBvGaC16mJVIbU/Wj/OcIhuJ5wX/eiT7rNRIYeaanB63/WS3CXHF5XJajo1JemLwHj53q2uECqNRcF9Nk7bYHdAyVL25H8/1ZwH+Ux8wFT5nlyAvhiSQg/9s3zmOI2nWloW/C+R/b5y6QTzngC1ERpqYKeiQGPm3JKVON4SvwE8Jd95YAqGObb2K1e7lSplweE9Wseko4H2PIFbA64iRlD4Pbinx7r7NRe0NDFDltafj32zYYZYnSNL1THDEYKzb4u83hdza1kGOm7Qm8zXQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <9DEA2E58BD6E4D43B8EE3FC0FB0C3C11@namprd07.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7b5b0dd1-51be-4a3d-fb21-08d6506a3c9e X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2018 11:04:13.8875 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB4840 Subject: Re: [dpdk-stable] [PATCH v4] 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: Thu, 22 Nov 2018 11:04:17 -0000 -----Original Message----- > Date: Thu, 22 Nov 2018 15:37:07 +0800 > From: Joyce Kong > To: dev@dpdk.org > CC: thomas@monjalon.net, jerin.jacob@caviumnetworks.com, > Honnappa.Nagarahalli@arm.com, gavin.hu@arm.com, nd@arm.com, > stable@dpdk.org > Subject: [PATCH v4] 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 Acked-by: Jerin Jacob > --- > config/arm/meson.build | 1 + > config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + > 2 files changed, 2 insertions(+) >=20 > diff --git a/config/arm/meson.build b/config/arm/meson.build > index b755138..3f91725 100644 > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -46,6 +46,7 @@ flags_common_default =3D [ >=20 > flags_generic =3D [ > ['RTE_MACHINE', '"armv8a"'], > + ['RTE_MAX_LCORE', 256], > ['RTE_CACHE_LINE_SIZE', 128]] > flags_cavium =3D [ > ['RTE_MACHINE', '"thunderx"'], > 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