From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20059.outbound.protection.outlook.com [40.107.2.59]) by dpdk.org (Postfix) with ESMTP id 9B7341B163; Thu, 22 Nov 2018 08:43:14 +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=2kY/INUTDehHkZY5Q24VW2MIC4qh9r5nvnET+iVM9hc=; b=DVE2B394v9E1jtepnDcmw3vusMB+43UGvNV5HFJKHWE2awamUg8wCJh40pNLe40QTa/vdlxVKVStch9q6+cjxQZE0W/YTw7ZP+ORbeav+rqGLZuYxW5QcTka/Xvh6fhzlaMccmGa1LfOT6ByhyF9BJsySBhJy8adaUSJC57hDcA= Received: from AM0PR08MB3587.eurprd08.prod.outlook.com (20.177.110.157) by AM0PR08MB4180.eurprd08.prod.outlook.com (20.178.119.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.14; Thu, 22 Nov 2018 07:43:12 +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:43:12 +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 v3] config: enable more than 128 cores for Arm64 platform Thread-Index: AQHUgjI8mSsHiNIcF062Kfiw0uX/lqVbaSyA Date: Thu, 22 Nov 2018 07:43:12 +0000 Message-ID: References: <1542798625-46722-1-git-send-email-joyce.kong@arm.com> <1542870074-142423-1-git-send-email-joyce.kong@arm.com> <20181122070832.GA15701@jerin> In-Reply-To: <20181122070832.GA15701@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; AM0PR08MB4180; 6:QToNtszeBdEJ12Z/FzuuPwDZci4mzdCxPcZtqxF8p0d3nzAX8+1xLqjKU5umXJ1sBWmGBObou5hjk1iCf7XteDGou6fRweUajd/xy7LDJq2ndbO0AW9jPY4FXiaqnbmFdwEG1mDNuKm2WV5OAuLm7IgvllMmSFOkokFM6ZJnW5fVfQXCBWtFr0/cSb+GMqT2OrEY8rZU6HcaEQYEYM+B0WBRS8bM0iOVslYVTzWE1lRNZ1js02YGuS2LEL0KxrSW6iIJUTFWNGtFGqyAnIrzrlgy8J0qVCsZjGS3o3U6i2NLAwThb+Y7R5WN01KSEpP5o3AAGSAztut+qAAZQZ+zvl75vBQQAQqqvWBL1D8pYaoqkngXmuRxTu4wnTGougbsingB4titTfIEvDTii06cr+CqlEAmlfnWXwMLqVeZs7vst+2IiMwigwXdUHwPURc7Nz1amTZTkdEsSQEko8e55g==; 5:vnFd6h57zCioIbFVeu0xC8ulRbPDc0u57DTkcpZvtODHXa9b3UskwGWipTQxK2c4Aa0euYWOuvpdR0vptihiIlzNbys7H1nl9ivnLPfgJiVSozVOocnUy9i/IemlwhpZziMS1Fz8g3rzd4C68BI+vodAM2fxZnHISK52HUzSR88=; 7:2fNBaBR+lR0+o7PwBCTa6XJCV4n51dpXPEyXAW0RAc4z4zRVRplbrfFa0KodprVguK88NIBtBLGTuL13ubCluoBhJCFpACH44v8F5oE3wghn/csy0i/4gAAFsGmkCVVIAaTV6oyTEXyxYcNRYTMVeg== x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: 8eecacc1-cd8e-44b9-d8b8-08d6504e2803 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:AM0PR08MB4180; x-ms-traffictypediagnostic: AM0PR08MB4180: 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)(93001095)(3002001)(3231442)(944501410)(52105112)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(201708071742011)(7699051)(76991095); SRVR:AM0PR08MB4180; BCL:0; PCL:0; RULEID:; SRVR:AM0PR08MB4180; x-forefront-prvs: 0864A36BBF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(136003)(366004)(376002)(346002)(396003)(13464003)(189003)(199004)(40434004)(7696005)(2906002)(76176011)(11346002)(6506007)(53546011)(446003)(55236004)(102836004)(71190400001)(55016002)(53936002)(14454004)(97736004)(33656002)(6246003)(478600001)(476003)(186003)(3846002)(6116002)(72206003)(4326008)(68736007)(256004)(5024004)(14444005)(99286004)(486006)(26005)(105586002)(81166006)(81156014)(8936002)(229853002)(54906003)(74316002)(305945005)(5660300001)(2900100001)(86362001)(6436002)(66066001)(25786009)(106356001)(7736002)(71200400001)(316002)(8676002)(9686003)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4180; 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: LS/xNMQKxv8zLgwUqA2ia+Umva4YAycxDQa98dSTxh8A9MYgb8076c+/ODMmhUdEcS7tv+MjstjzMhrR9zmKmB/6ODlN1Gnp2/V+MWdwtEAovHNK8SRn/z+F5Lbsru2NDn66CpSdQHpglnl+qL+9qDVpuUCZ30nsYv0Xh7PzHU+ejOFL2TuhDbxFmDuGqqbRtoI3tBtGg5JQJ6VD5eghYYO6TYXlTd+7daIpGd459RCNLUdPG84/JScbfsEVEOX6ETDa91H8AG5GN18+pKOlxyuEnwN4dtZoX7Oj1X9D9ulvsZu7z1+iHcZ5fMhnYe0nnuiqnq6eVkfL5NuVifCBIHaAdldsYRnKTDnfXhApejA= 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: 8eecacc1-cd8e-44b9-d8b8-08d6504e2803 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2018 07:43:12.8047 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4180 Subject: Re: [dpdk-dev] [PATCH v3] 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:43:14 -0000 > -----Original Message----- > From: Jerin Jacob > Sent: Thursday, November 22, 2018 3:09 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 v3] config: enable more than 128 cores for Arm64 > platform > > -----Original Message----- > > Date: Thu, 22 Nov 2018 15:01:14 +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 v3] 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 | 5 +++-- > > config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + > > 2 files changed, 4 insertions(+), 2 deletions(-) > > > > diff --git a/config/arm/meson.build b/config/arm/meson.build index > > b755138..9b5f09c 100644 > > --- a/config/arm/meson.build > > +++ b/config/arm/meson.build > > @@ -46,13 +46,14 @@ flags_common_default =3D [ > > > > flags_generic =3D [ > > ['RTE_MACHINE', '"armv8a"'], > > + ['RTE_MAX_LCORE', 256], > > ['RTE_CACHE_LINE_SIZE', 128]] > > flags_cavium =3D [ > > ['RTE_MACHINE', '"thunderx"'], > > ['RTE_CACHE_LINE_SIZE', 128], > > ['RTE_MAX_NUMA_NODES', 2], > > - ['RTE_MAX_LCORE', 96], > > - ['RTE_MAX_VFIO_GROUPS', 128], > > + ['RTE_MAX_LCORE', 256], > > thunderx has only 96 cores. It the "thunderx2" which has more cores. > There no speerate config "thunderx2", it is using generic armv8 config. > So this specific line of change is not needed. > Remove this specific line of change in V4. > > + ['RTE_MAX_VFIO_GROUPS', 128], > > ['RTE_USE_C11_MEM_MODEL', false]] flags_dpaa =3D [ > > ['RTE_MACHINE', '"dpaa"'], > > 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.