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 CE9A0A0548; Thu, 22 Apr 2021 20:51:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 980B4410DB; Thu, 22 Apr 2021 20:51:11 +0200 (CEST) Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) by mails.dpdk.org (Postfix) with ESMTP id A347E40F35 for ; Thu, 22 Apr 2021 20:51:10 +0200 (CEST) Received: by mail-qv1-f52.google.com with SMTP id l2so4663190qvb.7 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=/rbZbDk6AGND/spRjPe5Lz6pxvhgvpEG110LlCD1j00=; b=daHQXM6g+ffria4IvtsIQTNwcOjO9MOp6DnFnNHQCiTiG88/3LSa61++9ESFTeXbGs jwPY9r6RIHhYbW4D3LDOP624MN7Mu7JMRwusTff7eo0FLtnak4gBwHqfcsroVXu2yIT5 3YfG9HvMrlObELwZrfn6MnoVwvTy+QDLFWPf4= 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=/rbZbDk6AGND/spRjPe5Lz6pxvhgvpEG110LlCD1j00=; b=CDzrrRcX+WeEqa9bVJmPAdtlA6jHnlzDDd0NhU2Iz9c0jBEdYROLM/FKXoTgN/tLo1 wTVLRj+/94aXCFkoYoLqCWyTiP5GfUS2FJZWBRnOp138S1bMToxVMLPK+EVsskNGohaK H1ra86cVAMHcsxd/HveYjf9tDErhbIELxw2MmaaftEiEYJSwjWDeUFLJj3pSWzJFus12 MqotX3mYya32z4v2ONrtOpji6OfeD3BB26iNmeu/L9nDjOEmilS6eS1dcD9YxVuiZ0/n VC2wQM/eKIS/c+HccR4Ml1bCPW5H8rXDbppaKNX+F6GhQo4AxefDYGbTO+ZO/o3SxwbP eayg== X-Gm-Message-State: AOAM531L0oWroNfml6sjlOewe+BlFF+74FaO/PSuGada/OTJWJGaVdac rl7QW0QQg3oRD01SRXaVJPYAlu20RdXA7uNq7DiQeQ== 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="000000000000a9e28d05c0942982" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v17 2/8] net/bnxt: fix aarch32 build 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" --000000000000a9e28d05c0942982 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 > --000000000000a9e28d05c0942982--