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 D0C05A0548 for ; Thu, 22 Apr 2021 20:51:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B030741555; Thu, 22 Apr 2021 20:51:12 +0200 (CEST) Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) by mails.dpdk.org (Postfix) with ESMTP id AF63B410DB for ; Thu, 22 Apr 2021 20:51:10 +0200 (CEST) Received: by mail-qv1-f48.google.com with SMTP id d1so10979588qvy.11 for ; Thu, 22 Apr 2021 11:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2wORaMMh17n9jtX4pyw4/+eTkWKw89OZTVaqfqD/K7I=; b=X74IlFk/gtg1eWsajDcT+GTq5n8mDjgzvlTDQa/WoVKuKEjxPbGuZb4G8n3VkQN9OY w9rlaC/xA1pWzg3DhApRZS5MRD4tknY57DfK8iI9rnlX5o6xdC0U9ScNtIt852Ev8RHS aFIkMs8vZWnJ0BPQq7r+iu2aVlJAKgzJa1Bqg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2wORaMMh17n9jtX4pyw4/+eTkWKw89OZTVaqfqD/K7I=; b=FIJ8fCLITXg3XkgidrUjPxJdvNhVS8bMeX+LG1ZGGoLsMp88GeC+WtDf4L9APsqyrH ZRGw1C/vth0Gw+j7FV7ea2/sp9sC06Zond+4BESYp0B9yCUr+DwwvaG0lcOYWqF7yPCX a473QwofktzWnRWPAFoj1nDMw5iggLhV597Iyrf4z7zmjx0QRk9TGCtG+0YUwBhazNwS hb9m1Gm8pqttl92TsOk2tAoKZH93o1wLsM8/TqBsODD4bm4Yj9lUB7f3wIoICSeuHyPP h0EmrCZg+7Xb4fDQun333xsi4t32XYPntJdDujGdquZM5CgqYAWKrgQfP6jN/F7P15od lANw== X-Gm-Message-State: AOAM531zYMs6FRkSn4rFmNXOmL0AHVO6iVMyZatkXWe6SL/Np/A6bLne oMuMYMUnWp3/T0kasX4bz1YHQ0/VP6nVPqjQtsiNtw== X-Google-Smtp-Source: ABdhPJwu1znbrvdVVR7AikcxV1c5+sLOf1OfhHz8n8vbM5luwV/svrpSt3lJOm0mhNcXtZ14Ugo2jNCzABHsWEO+E/0= X-Received: by 2002:ad4:5be1:: with SMTP id k1mr59627qvc.55.1619117469868; Thu, 22 Apr 2021 11:51:09 -0700 (PDT) MIME-Version: 1.0 References: <1618995020-4775-1-git-send-email-juraj.linkes@pantheon.tech> <1619095749-7948-1-git-send-email-juraj.linkes@pantheon.tech> <1619095749-7948-3-git-send-email-juraj.linkes@pantheon.tech> In-Reply-To: <1619095749-7948-3-git-send-email-juraj.linkes@pantheon.tech> From: Ajit Khaparde Date: Thu, 22 Apr 2021 11:50:53 -0700 Message-ID: To: =?UTF-8?Q?Juraj_Linke=C5=A1?= Cc: Thomas Monjalon , David Marchand , Bruce Richardson , Aaron Conole , maicolgabriel@hotmail.com, Honnappa Nagarahalli , Ruifeng Wang , Jerin Jacob Kollanukkaran , viktorin@rehivetech.com, dpdk-dev , Lance Richardson , dpdk stable Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000a9e61405c094298c" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-stable] [PATCH v17 2/8] net/bnxt: fix aarch32 build 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 Sender: "stable" --000000000000a9e61405c094298c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Apr 22, 2021 at 5:49 AM Juraj Linke=C5=A1 wrote: > > From: Ruifeng Wang > > NEON vector path of the PMD needs aarch64 support. But it was > enabled for aarch32 build as well because aarch32 build had > cpu_family set to aarch64. So build for aarch32 will fail due > to unsupported intrinsics. > > Fix aarch32 build by updating meson file to exclude NEON vector > implementation for aarch32. > > Fixes: 398358341419 ("net/bnxt: support NEON") > Cc: lance.richardson@broadcom.com > Cc: stable@dpdk.org > > Signed-off-by: Ruifeng Wang > Reviewed-by: Lance Richardson Acked-by: Ajit Khaparde > --- > drivers/net/bnxt/meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/bnxt/meson.build b/drivers/net/bnxt/meson.build > index 117c753489..5a72989915 100644 > --- a/drivers/net/bnxt/meson.build > +++ b/drivers/net/bnxt/meson.build > @@ -82,6 +82,6 @@ sources =3D files( > > if arch_subdir =3D=3D 'x86' > sources +=3D files('bnxt_rxtx_vec_sse.c') > -elif arch_subdir =3D=3D 'arm' and host_machine.cpu_family().startswith('= aarch64') > +elif arch_subdir =3D=3D 'arm' and dpdk_conf.get('RTE_ARCH_64') > sources +=3D files('bnxt_rxtx_vec_neon.c') > endif > -- > 2.20.1 > --000000000000a9e61405c094298c--