From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 6411D1B92D for ; Thu, 18 Apr 2019 11:30:50 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id y13so2110056wrd.3 for ; Thu, 18 Apr 2019 02:30:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=8oXs9VhweZbN1zjzgmKNxJLx1BtUZrB2iN+DimFCIpU=; b=fIzA+oVThLloffvP/8Zvn2VLkUNnjzav5DCj+yEgNsB6LvtYKW8GqaHUcK1j/rh9Ku Q2a9hCKyhQGFmZFvT2iq7oE3jHgRE+7WTjvWDJXd2+wYNC0A94Yd3LeEswRgPQXFZTwB 5BR726pJbqMFud/USFTBCnPGxQEJpNaxC3SCHat5xkQaQEGS74+BEefP63NXp7elBlE+ W60timgIezceCLj/uO+BUXMMY7PBdyFkhY+HVDQU3QshZWEmraME8Sk4epVuArEWo4Tg MM7LOb+ii7v7kOK27H4CU89kD0YqemuFQWYNfsoHZS22+yu033CYNF74xQhu9JePKIQ4 kZcg== X-Gm-Message-State: APjAAAVHPfnJBSGvkFXTg5SblVG3WOMcIio5GB4JaK6KJnJaezjGWDxi zGDsa/jhzlAvsgamWMmC/i7QJv/Z X-Google-Smtp-Source: APXvYqxNS/OeA+fOewa+lCk//HPBLzgfcgUNa3FsoibS4cnnaO1zjUStLmpQCy6cZG2NQeFJpekR9w== X-Received: by 2002:a5d:4047:: with SMTP id w7mr63290950wrp.255.1555579850013; Thu, 18 Apr 2019 02:30:50 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id w11sm2647583wre.15.2019.04.18.02.30.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Apr 2019 02:30:49 -0700 (PDT) Message-ID: From: Luca Boccassi To: Thomas Monjalon Cc: dev@dpdk.org Date: Thu, 18 Apr 2019 10:30:48 +0100 In-Reply-To: <1688708.SlylYsn8Qu@xps> References: <20190114112331.15761-1-bluca@debian.org> <20190114134106.17383-1-bluca@debian.org> <1688708.SlylYsn8Qu@xps> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1 MIME-Version: 1.0 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: Thu, 18 Apr 2019 09:30:50 -0000 On Wed, 2019-04-17 at 22:17 +0200, Thomas Monjalon wrote: > 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 > >=20 > > Signed-off-by: Luca Boccassi < > > bluca@debian.org > > > > > Reviewed-by: Christian Ehrhardt < > > christian.ehrhardt@canonical.com > > > > > --- > > +NOTE: machine=3Ddefault will use the minimum required -march on all > > architectures > > +regardless of the capabilities of the machine where the build is > > happening. >=20 > 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. >=20 > After discussing with Bruce and Luca I was convinced that "default" > is not a good name, and "machine=3Dany" 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... >=20 > 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. No problem, updated in v3, thanks. --=20 Kind regards, Luca Boccassi 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 77EF6A00E6 for ; Thu, 18 Apr 2019 11:30:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 479781B92F; Thu, 18 Apr 2019 11:30:51 +0200 (CEST) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 6411D1B92D for ; Thu, 18 Apr 2019 11:30:50 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id y13so2110056wrd.3 for ; Thu, 18 Apr 2019 02:30:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=8oXs9VhweZbN1zjzgmKNxJLx1BtUZrB2iN+DimFCIpU=; b=fIzA+oVThLloffvP/8Zvn2VLkUNnjzav5DCj+yEgNsB6LvtYKW8GqaHUcK1j/rh9Ku Q2a9hCKyhQGFmZFvT2iq7oE3jHgRE+7WTjvWDJXd2+wYNC0A94Yd3LeEswRgPQXFZTwB 5BR726pJbqMFud/USFTBCnPGxQEJpNaxC3SCHat5xkQaQEGS74+BEefP63NXp7elBlE+ W60timgIezceCLj/uO+BUXMMY7PBdyFkhY+HVDQU3QshZWEmraME8Sk4epVuArEWo4Tg MM7LOb+ii7v7kOK27H4CU89kD0YqemuFQWYNfsoHZS22+yu033CYNF74xQhu9JePKIQ4 kZcg== X-Gm-Message-State: APjAAAVHPfnJBSGvkFXTg5SblVG3WOMcIio5GB4JaK6KJnJaezjGWDxi zGDsa/jhzlAvsgamWMmC/i7QJv/Z X-Google-Smtp-Source: APXvYqxNS/OeA+fOewa+lCk//HPBLzgfcgUNa3FsoibS4cnnaO1zjUStLmpQCy6cZG2NQeFJpekR9w== X-Received: by 2002:a5d:4047:: with SMTP id w7mr63290950wrp.255.1555579850013; Thu, 18 Apr 2019 02:30:50 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id w11sm2647583wre.15.2019.04.18.02.30.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Apr 2019 02:30:49 -0700 (PDT) Message-ID: From: Luca Boccassi To: Thomas Monjalon Cc: dev@dpdk.org Date: Thu, 18 Apr 2019 10:30:48 +0100 In-Reply-To: <1688708.SlylYsn8Qu@xps> References: <20190114112331.15761-1-bluca@debian.org> <20190114134106.17383-1-bluca@debian.org> <1688708.SlylYsn8Qu@xps> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1 MIME-Version: 1.0 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: <20190418093048.tuQsOzAAEuskp-St0zGm4BQiJiE48-iq7mYubtUz12Q@z> On Wed, 2019-04-17 at 22:17 +0200, Thomas Monjalon wrote: > 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 > >=20 > > Signed-off-by: Luca Boccassi < > > bluca@debian.org > > > > > Reviewed-by: Christian Ehrhardt < > > christian.ehrhardt@canonical.com > > > > > --- > > +NOTE: machine=3Ddefault will use the minimum required -march on all > > architectures > > +regardless of the capabilities of the machine where the build is > > happening. >=20 > 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. >=20 > After discussing with Bruce and Luca I was convinced that "default" > is not a good name, and "machine=3Dany" 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... >=20 > 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. No problem, updated in v3, thanks. --=20 Kind regards, Luca Boccassi