From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 2EAA31B8C2 for ; Wed, 17 Apr 2019 22:17:42 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AC81121550; Wed, 17 Apr 2019 16:17:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 17 Apr 2019 16:17:41 -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=mesmtp; bh=MGhnR+S8nmlniJG/qbgDzvdH1V7RgT1qktgW2CL9qAU=; b=GXrYNfAnzqRp TjgFgpLPmShj+lQ7FrTxdwgbzmhZohg7H7tkVdNXdIVJ5fWaou3KE0gizinQBUu7 1jQQj6JuFi7Jw/HG5lLDjwBjCibH5QyUxLuy+L4vav6dKBQAotN+kDMlG252FM8m VijRaTKnGY0nSwFxNu/8eRL0b73cKmo= 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=fm2; bh=MGhnR+S8nmlniJG/qbgDzvdH1V7RgT1qktgW2CL9q AU=; b=dyU4mFFqbkH8e9Sb7zQR2vw3R3pZo97WWe/cnSkR5aggXm2Nq6HwP6kXb ztU36Wf7+CvMIlD02U9z7BhrxyJMxBleRkgLliKmPQlxSchbq2AoJ8IvCTM3HRCL ycLzlZNjP0p8G/94uB9VUV6L8yVTLKJ+X+h4agDx10t4OY6/O6DlqYeOjTPqAdYR Q5hO9aMET6XcRnIJIgJuEVjx+3l5mtsCGbEVH+VWS+CUMmXh18MNdF+sJeKwV30j 1tZr/ywsPH4UhSC4+6YWqqOwMVtJFagMq4NZsB6KlBsbYXlFzxP3FkCOK7IgQo// YwR6Zytp57ZzBN0+dzrj0N6HpAQtQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrfeefgddugeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 663E8E454F; Wed, 17 Apr 2019 16:17:39 -0400 (EDT) From: Thomas Monjalon To: Luca Boccassi Cc: dev@dpdk.org, jerinj@marvell.com, bruce.richardson@intel.com, Christian Ehrhardt , Yongseok Koh Date: Wed, 17 Apr 2019 22:17:37 +0200 Message-ID: <1688708.SlylYsn8Qu@xps> In-Reply-To: <20190114134106.17383-1-bluca@debian.org> References: <20190114112331.15761-1-bluca@debian.org> <20190114134106.17383-1-bluca@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] build: mention machine=default and its use in documentation 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: Wed, 17 Apr 2019 20:17:42 -0000 14/01/2019 14:41, Luca Boccassi: > Document the new value, as it's useful for distributions and users > who need to use a stable baseline -march > > Signed-off-by: Luca Boccassi > Reviewed-by: Christian Ehrhardt > --- > +NOTE: machine=default will use the minimum required -march on all architectures > +regardless of the capabilities of the machine where the build is happening. This option is not really selecting the minimum but something which works on every flavours of the CPU architecture. For instance, on ARM it can select a cacheline of 128B to make it work with 64B and 128B micro-architectures. After discussing with Bruce and Luca I was convinced that "default" is not a good name, and "machine=any" would be better. The name "default" may also refer, in some contexts, to the config of the basic/standard CPU design. Even worst, "default" is not the default machine in DPDK... Today I am not sure what is the best meaningful name, and I tend to think that "default" is well understood by everyone. So I am OK to apply this patch, but please replace "minimum required -march" by "config working" or something similar, thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 021C8A00E6 for ; Wed, 17 Apr 2019 22:17:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ED38E1B8C5; Wed, 17 Apr 2019 22:17:43 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 2EAA31B8C2 for ; Wed, 17 Apr 2019 22:17:42 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AC81121550; Wed, 17 Apr 2019 16:17:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 17 Apr 2019 16:17:41 -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=mesmtp; bh=MGhnR+S8nmlniJG/qbgDzvdH1V7RgT1qktgW2CL9qAU=; b=GXrYNfAnzqRp TjgFgpLPmShj+lQ7FrTxdwgbzmhZohg7H7tkVdNXdIVJ5fWaou3KE0gizinQBUu7 1jQQj6JuFi7Jw/HG5lLDjwBjCibH5QyUxLuy+L4vav6dKBQAotN+kDMlG252FM8m VijRaTKnGY0nSwFxNu/8eRL0b73cKmo= 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=fm2; bh=MGhnR+S8nmlniJG/qbgDzvdH1V7RgT1qktgW2CL9q AU=; b=dyU4mFFqbkH8e9Sb7zQR2vw3R3pZo97WWe/cnSkR5aggXm2Nq6HwP6kXb ztU36Wf7+CvMIlD02U9z7BhrxyJMxBleRkgLliKmPQlxSchbq2AoJ8IvCTM3HRCL ycLzlZNjP0p8G/94uB9VUV6L8yVTLKJ+X+h4agDx10t4OY6/O6DlqYeOjTPqAdYR Q5hO9aMET6XcRnIJIgJuEVjx+3l5mtsCGbEVH+VWS+CUMmXh18MNdF+sJeKwV30j 1tZr/ywsPH4UhSC4+6YWqqOwMVtJFagMq4NZsB6KlBsbYXlFzxP3FkCOK7IgQo// YwR6Zytp57ZzBN0+dzrj0N6HpAQtQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrfeefgddugeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 663E8E454F; Wed, 17 Apr 2019 16:17:39 -0400 (EDT) From: Thomas Monjalon To: Luca Boccassi Cc: dev@dpdk.org, jerinj@marvell.com, bruce.richardson@intel.com, Christian Ehrhardt , Yongseok Koh Date: Wed, 17 Apr 2019 22:17:37 +0200 Message-ID: <1688708.SlylYsn8Qu@xps> In-Reply-To: <20190114134106.17383-1-bluca@debian.org> References: <20190114112331.15761-1-bluca@debian.org> <20190114134106.17383-1-bluca@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2] build: mention machine=default and its use in documentation 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190417201737.qm2tRPj5sRWd1TEQQuOzsMKNq2X6eJ5s2ScGQvSa_sk@z> 14/01/2019 14:41, Luca Boccassi: > Document the new value, as it's useful for distributions and users > who need to use a stable baseline -march > > Signed-off-by: Luca Boccassi > Reviewed-by: Christian Ehrhardt > --- > +NOTE: machine=default will use the minimum required -march on all architectures > +regardless of the capabilities of the machine where the build is happening. This option is not really selecting the minimum but something which works on every flavours of the CPU architecture. For instance, on ARM it can select a cacheline of 128B to make it work with 64B and 128B micro-architectures. After discussing with Bruce and Luca I was convinced that "default" is not a good name, and "machine=any" would be better. The name "default" may also refer, in some contexts, to the config of the basic/standard CPU design. Even worst, "default" is not the default machine in DPDK... Today I am not sure what is the best meaningful name, and I tend to think that "default" is well understood by everyone. So I am OK to apply this patch, but please replace "minimum required -march" by "config working" or something similar, thanks.