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 D7050A0547; Tue, 26 Oct 2021 18:01:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B65D8410D5; Tue, 26 Oct 2021 18:01:22 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 63EFB40E0F for ; Tue, 26 Oct 2021 18:01:21 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0044B5C03D3; Tue, 26 Oct 2021 12:01:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 26 Oct 2021 12:01:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= I0qVaYZKFYdY0X1NekKUPtyiYERNbUk0qWEiK6Q5VE8=; b=EeFpoy4oCNejzR0i hu+f7k5FahedfFvGrnVg0FgwB1vwImoNvQaf/Oop0s8vwSZVfJzNTSWlBHCs8SGL PM0fsL4DX6K3cJF/kUr9gyx6vALHK5G5Um5TAiWjvU7r4egik62w0JD4sS+GRh5K 1HztpBYPm8N7KouqD6+8WPzOfwHkUz0lkRYmzkD5IzN8uE1cWHWM654ie694aQaH 9GoUBCq3dqgcJCCvYYnalf38ktgkIz3XmGH97xCWzJ1FrRbU4ves5+iT06dlfyRj ylQWNrhAproSTeQfozd44sPe3Q5ZuQhIWHtC35gceAcW9gXriw1ZXxgWr6pa9RGf J3mu4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=I0qVaYZKFYdY0X1NekKUPtyiYERNbUk0qWEiK6Q5V E8=; b=NkUL6ClA9WFG6jVmzeRwl8QbPEY0LlGGPrZtjsF17pkt0MiUjdcLRmPN6 6DxpihJtDDKlK529hfckgeZZC6UFZJQy/OeZCJppWXZiLpVdbxbKBw+7N2fd1ofH oHMW72xdhEOw30mvtfAplv0lq6ZnMFxkIDAcSsJm9vet+T4xdjU76db/t6NAcfix G6XpRDWyKlX4CCobJRBlO5oOIQ4ke3bzzREbxUCipulMooaI3ZWOimiyHFZMiJm5 hn6QGxyVU8f0fi5wwh1B2wTBj5sy7KSaQH5JuNRCTyp9anu8mjEZuX1xuBMvX2pZ 2YtIuHCvl5ZVsyKtoMNrnR980xh9w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefkedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Oct 2021 12:01:16 -0400 (EDT) From: Thomas Monjalon To: Aman Kumar Cc: dev@dpdk.org, viacheslavo@nvidia.com, anatoly.burakov@intel.com, keesang.song@amd.com, jerinjacobk@gmail.com, konstantin.ananyev@intel.com, bruce.richardson@intel.com Date: Tue, 26 Oct 2021 18:01:14 +0200 Message-ID: <2741216.lpzi2hOlY4@thomas> In-Reply-To: <20211026155645.246783-1-aman.kumar@vvdntech.in> References: <20211019104724.19416-1-aman.kumar@vvdntech.in> <20211026155645.246783-1-aman.kumar@vvdntech.in> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 1/3] config/x86: add support for AMD platform 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 Sender: "dev" 26/10/2021 17:56, Aman Kumar: > -Dcpu_instruction_set=znverX meson option can be used > to build dpdk for AMD platform. Supported options are > znver1, znver2 and znver3. OK that approach looks good. > +# AMD platform support > +if get_option('cpu_instruction_set') == 'znver3' > + dpdk_conf.set('RTE_MAX_LCORE', 512) > +elif get_option('cpu_instruction_set') == 'znver2' > + dpdk_conf.set('RTE_MAX_LCORE', 512) > +elif get_option('cpu_instruction_set') == 'znver1' > + dpdk_conf.set('RTE_MAX_LCORE', 256) > +endif Maybe sort it in the reverse order, starting with 1?