From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 335AA4330F; Sun, 12 Nov 2023 14:49:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BFB9E4026B; Sun, 12 Nov 2023 14:49:00 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id 097724021E for ; Sun, 12 Nov 2023 14:48:59 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 70C583200754; Sun, 12 Nov 2023 08:48:57 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 12 Nov 2023 08:48:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1699796936; x=1699883336; bh=z3ug81R9GmP52WRrPtWBLnrVvrogqmCnDLv JOdX6ULQ=; b=J3Vxj33XC5hft8F59Wh81RTuNX50HJnVODvBvW8EiVs6S24zc+8 MM5Y94nB9X4/twXEXoXZMxp74YJ0cbYzKoUkW/wxE0855glsWv2EfifA92zRkxbZ 6FBo6VAs4E4z8IdIqBp5oGWAJRLtKN+YVahKUy9tB17VhFfh9fdjeff0h1PCDFIq jZ7nQdTys+grkw1bCBQMDUYNwzgXXBiTF9UUgVutsNucxpNgBYLsPDONs4F8EufS Vvcd+CGXcUV29OoavWdYHIMzkwGaZen/BWUKVIGEkfM/6s2UIaIpWFI1GDoFRMTy y10cT3jkMjhflpG7eZezeeJPg/Hi9sjygjw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1699796936; x=1699883336; bh=z3ug81R9GmP52WRrPtWBLnrVvrogqmCnDLv JOdX6ULQ=; b=pezaUyc5ZgRZjqhGpsbhAtbxYQPVpvW07vzUz/V/TCQhYcpcrL+ BEd+kYQR1vFKJ5Y7C3KI674zhES9TjWpRsuX0zAWL2HUsuLlD59Jw8SS/gOgdZo6 JviVKyzvX4TrdWe3PdBGibe9z4goxvte1vUBYdZtTCPnECK4UFhAdywctsKq8q5i Um9fAAmEG4mr1C9ssQ8xkq5D/vumDO7D2Wi1JyZPpxSbtSyEmcJEHFB3zrrFshB4 HbH8UcojKVY0Y3cFx1Xz+3VHc2i58/u94+idPNeiWONS2IHopTKWL03/fuvwdT+b 9/cOPtIJ3sHIZKUfQINfppPdwbWIUGUv16A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvkedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthhqredttddtudenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeegjeeivdelheduhfeugfefvefgheeiteegiefggffgffffieeu gfeukedtfeefveenucffohhmrghinhepughpughkrdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 12 Nov 2023 08:48:55 -0500 (EST) From: Thomas Monjalon To: Sivaprasad Tummala Cc: bruce.richardson@intel.com, konstantin.v.ananyev@yandex.ru, dev@dpdk.org Subject: Re: [PATCH] config/x86: config support for AMD EPYC processors Date: Sun, 12 Nov 2023 14:48:54 +0100 Message-ID: <2907401.e9J7NaK4W3@thomas> In-Reply-To: <20230925151027.558546-1-sivaprasad.tummala@amd.com> References: <20230925151027.558546-1-sivaprasad.tummala@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 25/09/2023 17:10, Sivaprasad Tummala: > From: Sivaprasad Tummala >=20 > By default, max lcores are limited to 128 for x86 platforms. > On AMD EPYC processors, this limit needs to be increased to > leverage all the cores. >=20 > The patch adjusts the limit specifically for native compilation > on AMD EPYC CPUs. >=20 > Signed-off-by: Sivaprasad Tummala > --- > +epyc_zen_cores =3D { > + '__znver4__':512, > + '__znver3__':256, > + '__znver2__':256, > + '__znver1__':128 > + } > + > +if get_option('platform') =3D=3D 'native' > + foreach m:epyc_zen_cores.keys() > + if cc.get_define(m, args: machine_args) !=3D '' > + dpdk_conf.set('RTE_MAX_LCORE', epyc_zen_cores[m]) > + break > + endif > + endforeach > +endif Acked-by: Konstantin Ananyev Acked-by: Morten Br=F8rup Agreed in techboard: https://mails.dpdk.org/archives/dev/2023-October/279672.html) Applied, thanks.