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 DF683A034E for ; Mon, 21 Feb 2022 12:06:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABA524013F; Mon, 21 Feb 2022 12:06:13 +0100 (CET) Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by mails.dpdk.org (Postfix) with ESMTP id 13E334013F for ; Mon, 21 Feb 2022 12:06:13 +0100 (CET) Received: by mail-ej1-f43.google.com with SMTP id gb39so32332119ejc.1 for ; Mon, 21 Feb 2022 03:06:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=5Hk+xUQUMqrYiBvhWXVb1xDNG5CsfXmWOsjALjIqX9w=; b=R516LIO8BGjMuBwcvn3hjlsAS/EOcZ6w7lr6IiJA28Q356fDCwNvE0q9lI96+HENax diEnsd+EAG5aAPl3a+wzntn9CBVjM6RtYO1cIdQ4rYgBC33LXU0AdHYxi5Nu6oUgpIlJ LGihYaKiBjZb9iTsw32NPXCZXebjtNLWH86kDFP8gGeYxZ56iVYBD6bkZQIh4UsSEEZs HpwxXNhC6jb2WchFv1Ri9Pdz8i6+KY7UNUwIH2lLanjzzaLnaMKeZghraVk26wYT5Gvs QNRWeonqo0v1mrZKUhQF39anW6+zqLZ4Oen3HLMLNQDq3K9A2gJGOIkVg6qR9Q6NaKts U06Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=5Hk+xUQUMqrYiBvhWXVb1xDNG5CsfXmWOsjALjIqX9w=; b=Xa51mRXXEDIhkgRqQVbZTA5vwGmRVbLLgrsu6G2Sr4rjkeJtj3Lks/r/5Aoo7sJ40w gj7XVAfuj5WghTQghOhr3OeNh1rBBmc9Gggm1ev6Ur135YSee6nLxtRwKo3itM/SIJZ1 JO9s2Gb6LBimAUW7pSIzF/izDzvFP7NlsaocTVsviICGTzffGm+VAjZM/lUOnZflfe+B n8eyZPKiDweA98Lbnfo1sR6AkxIswlPwZvoQECRnin33cGRtjmdnBwhvAnMviawSVzIj orVSB4HHC/wRRPZohKHP6pKhgSaEr2Wqkp7y+8B0QIn55TqhB1xtTaFzXm8837iSFeaS tjgg== X-Gm-Message-State: AOAM5326CMYAacwbfq4i0neREwbzpQJt9grkXDV3k0ctz5F7avIn3RQD Hqn96zE71Abyg70YTenr2qouLguQY3omBA== X-Google-Smtp-Source: ABdhPJz4Je7tIjBp6dtGybq9yLtxhlQAvwn434pa4v9wgZYebgfwH4sBIEF0NOm6+mzva7Q7NvMtbw== X-Received: by 2002:a17:906:ccda:b0:6a8:49b8:d2ad with SMTP id ot26-20020a170906ccda00b006a849b8d2admr15136581ejb.257.1645441572494; Mon, 21 Feb 2022 03:06:12 -0800 (PST) Received: from ?IPv6:2a01:4b00:f41a:3600:360b:9754:2e3a:c344? ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id p24sm5025522ejx.53.2022.02.21.03.06.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 03:06:12 -0800 (PST) Message-ID: Subject: Re: [PATCH 20.11] config: add arch define for Arm From: Luca Boccassi To: Ruifeng Wang , stable@dpdk.org Cc: nd@arm.com, Stephen Hemminger Date: Mon, 21 Feb 2022 11:06:11 +0000 In-Reply-To: <20220221031718.1160060-1-ruifeng.wang@arm.com> References: <20220221031718.1160060-1-ruifeng.wang@arm.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1+plugin MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Mon, 2022-02-21 at 11:17 +0800, Ruifeng Wang wrote: > [ upstream commit 9cc217a28310d21fba56e5eceb740b4feb7e0949 ] > > As per design document, RTE_ARCH is the name of the architecture. > However, the definition was missing on Arm with meson build. > It impacts applications that refers to this string. > > Added for Arm builds. > > Fixes: b1d48c41189a ("build: support ARM with meson") > > Reported-by: Stephen Hemminger > Signed-off-by: Ruifeng Wang > --- >  config/arm/meson.build | 2 ++ >  1 file changed, 2 insertions(+) > > diff --git a/config/arm/meson.build b/config/arm/meson.build > index fcbcf1ca56..bb72f40c65 100644 > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -137,12 +137,14 @@ dpdk_conf.set('RTE_FORCE_INTRINSICS', 1) >  if dpdk_conf.get('RTE_ARCH_32') >   dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64) >   dpdk_conf.set('RTE_ARCH_ARMv7', 1) > + dpdk_conf.set('RTE_ARCH', 'armv7') >   # the minimum architecture supported, armv7-a, needs the following, >   # mk/machine/armv7a/rte.vars.mk sets it too >   machine_args += '-mfpu=neon' >  else >   dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128) >   dpdk_conf.set('RTE_ARCH_ARM64', 1) > + dpdk_conf.set('RTE_ARCH', 'armv8') >   > >   machine = [] >   cmd_generic = ['generic', '', '', 'default', ''] Thanks, applied and pushed. -- Kind regards, Luca Boccassi