From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2B505A09EA for ; Wed, 9 Dec 2020 14:00:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 38079C9AC; Wed, 9 Dec 2020 13:59:52 +0100 (CET) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by dpdk.org (Postfix) with ESMTP id 066D12B8B; Wed, 9 Dec 2020 13:59:43 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id A9ACCBD2B9; Wed, 9 Dec 2020 13:59:40 +0100 (CET) X-Virus-Scanned: amavisd-new at siecit.sk Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XsO7NUtwprxh; Wed, 9 Dec 2020 13:59:39 +0100 (CET) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 3C4CCBC7DB; Wed, 9 Dec 2020 13:59:38 +0100 (CET) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, bruce.richardson@intel.com, aconole@redhat.com, maicolgabriel@hotmail.com Cc: dev@dpdk.org, juraj.linkes@pantheon.tech, Ruifeng Wang , lance.richardson@broadcom.com, stable@dpdk.org Date: Wed, 9 Dec 2020 13:59:26 +0100 Message-Id: <1607518771-7564-3-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1607518771-7564-1-git-send-email-juraj.linkes@pantheon.tech> References: <1600244472-29696-1-git-send-email-juraj.linkes@pantheon.tech> <1607518771-7564-1-git-send-email-juraj.linkes@pantheon.tech> Subject: [dpdk-stable] [PATCH v11 2/7] net/bnxt: fix aarch32 build X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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" 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. Fixed aarch32 build by updating meson file to execule 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 --- 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 2896337b5..a2fd494da 100644 --- a/drivers/net/bnxt/meson.build +++ b/drivers/net/bnxt/meson.build @@ -74,6 +74,6 @@ sources = files('bnxt_cpr.c', if arch_subdir == 'x86' sources += files('bnxt_rxtx_vec_sse.c') -elif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64') +elif arch_subdir == 'arm' and dpdk_conf.get('RTE_ARCH_64') sources += files('bnxt_rxtx_vec_neon.c') endif -- 2.20.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EE117A04DB for ; Wed, 9 Dec 2020 19:57:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1E094BE75; Wed, 9 Dec 2020 19:57:06 +0100 (CET) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by dpdk.org (Postfix) with ESMTP id EC7B5BE75; Wed, 9 Dec 2020 19:57:02 +0100 (CET) Received: by mail-pg1-f177.google.com with SMTP id o4so1794033pgj.0; Wed, 09 Dec 2020 10:57:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:delivered-to:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:errors-to :content-transfer-encoding; bh=VD2xHyGCnUBwBni6iGGSeFQxecB6VtkVuaaL43J30tM=; b=eWxTmKdh/1E82c+j7vRLh22Y76FTxVwfrIdZDobtOInydDcsu+/bMOCmoMFVMGk7M9 Zd01eCN7evU3Te/USN+CxSFoLXdwpLWy3Juj+Fd819EdPfnzJsA6ZuUeOaHoVfvJ9pe2 acq1jwBhdt3+zo/zWCQac3M+N5i3sXVK+p1cyUpH4d717fuQdZ+fFI2yGC2g5AHVlfVV au8bqUIa0YW04c0+mjgzVLZg1qzoUUY1uau5b/mF0/yxn/dSc5M2HfxnvKkMWA88bKO+ tUouOjazj2Ntrv5TwoiljmsHKclfD3gd6XragoUvfAMRwY2BgKokjR1Bg3/FIJhmAXdx 7S9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:delivered-to:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:content-transfer-encoding; bh=VD2xHyGCnUBwBni6iGGSeFQxecB6VtkVuaaL43J30tM=; b=FZfjlkl+GtDVVgQn2+8o6jeCuf7uZ3GYVC02DlSCidTcjnwi0GYtLeSEKqYxAfn7kX 55zh9kgDAHhuTQ47FO5XCwfghbWuBNrP9+7qX5tHgQoz/FdA8jxyQo8s3cN7P1ApqItr mFiLK9LCxXXdYj8S7fFSznyM77UdeCW1h3L8qHyfSnVm6UzOHiBUyg8Gk5OIg8NgSI5Q w6AEn+ZscGn/UMLR0RL1iCWcgepkgrJFAVfExdi4W6dHuRkWcbr11j1MjnCWiD3XdRI0 nVDnnMB/5necXed9VY7WMXKD2/AVYj+hbzBHL4U8ZWnUZvcfvngKEBEf+cl206709Ngo +ynw== X-Gm-Message-State: AOAM5339WBGyHMUCPEk0ntrfjqWgffO/bTpUzwsr4iziHbU2HkbJJIP6 aGyow+HSYUBAEkHn4YFx140QhExrnBwl1YYD X-Google-Smtp-Source: ABdhPJwlCUN1lYZ3r/0gM6KiCPqPaRWdst46XqMjYHz25aNcT8wYM1mfXgszrscVLekrEFwkYMib6A== X-Received: by 2002:a63:1456:: with SMTP id 22mr3224165pgu.108.1607540221725; Wed, 09 Dec 2020 10:57:01 -0800 (PST) Received: from localhost.localdomain ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id l1sm3497090pgg.4.2020.12.09.10.56.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2020 10:56:59 -0800 (PST) From: Ajit Khaparde X-Google-Original-From: Ajit Khaparde To: dev@dpdk.org, thomas@monjalon.net, bruce.richardson@intel.com, aconole@redhat.com, maicolgabriel@hotmail.com Cc: =?utf-8?q?Juraj_Linke=C5=A1?= , Ruifeng Wang , lance.richardson@broadcom.com, stable@dpdk.org Date: Wed, 9 Dec 2020 10:56:55 -0800 Message-Id: <1607518771-7564-3-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <1607518771-7564-1-git-send-email-juraj.linkes@pantheon.tech> References: <1600244472-29696-1-git-send-email-juraj.linkes@pantheon.tech> <1607518771-7564-1-git-send-email-juraj.linkes@pantheon.tech> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Patchwork-Submitter: =?utf-8?q?Juraj_Linke=C5=A1?= X-Patchwork-Id: 84866 Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AC0CCA09EA; Wed, 9 Dec 2020 14:00:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1C09DC9A2; Wed, 9 Dec 2020 13:59:51 +0100 (CET) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by dpdk.org (Postfix) with ESMTP id 066D12B8B; Wed, 9 Dec 2020 13:59:43 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id A9ACCBD2B9; Wed, 9 Dec 2020 13:59:40 +0100 (CET) X-Virus-Scanned: amavisd-new at siecit.sk Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XsO7NUtwprxh; Wed, 9 Dec 2020 13:59:39 +0100 (CET) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 3C4CCBC7DB; Wed, 9 Dec 2020 13:59:38 +0100 (CET) X-Mailer: git-send-email 2.7.4 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [dpdk-dev] [PATCH v11 2/7] net/bnxt: fix aarch32 build X-BeenThere: stable@dpdk.org 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" Message-ID: <20201209185655.F8Q4hY9oma3sR9NPFAACMqxyG-Wf7R7wMimF3mUbGVA@z> From: Juraj Linkeš > 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. > Fixed aarch32 build by updating meson file to execule 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CBD32A04DB for ; Wed, 9 Dec 2020 20:08:28 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9851EBE73; Wed, 9 Dec 2020 20:08:27 +0100 (CET) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by dpdk.org (Postfix) with ESMTP id 7CADCBE73; Wed, 9 Dec 2020 20:08:25 +0100 (CET) Received: by mail-pf1-f178.google.com with SMTP id s21so1614302pfu.13; Wed, 09 Dec 2020 11:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:errors-to :content-transfer-encoding; bh=a8AzDDcly0lkUQc4InDUTCEZ2FQAXnv1MkZCAnu+UQU=; b=MNctagm1EYs6IFCEjllIju4mjdbE32UwgH3oqj8n+55RMiksRZDu93uDMcwHV5+TUQ iDc/uEUqrvAuaQGzzPzNXt7bVyWXDly0Irk2GpnzpLwPgXtP0zE1g00h4pLOj0sthEL/ gkGt2HGztDHa5I+maFVnE70GeeUZHT9t1GxQEtbwx62fnk44Bgv9NG1s75JihyRccman FdgtLo6O2JDw+QOVxLXLzZRkAUkk1SFBVnzkYsJVDDaTkk7pHuq3poXO81JtkVk3VdYQ w87b9meCdbNBm7qL72goW1RJV2UFfximWDyboPUa4LdRjnOoahsVH4Z4mSw6lf9EDbIv IEIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:errors-to :content-transfer-encoding; bh=a8AzDDcly0lkUQc4InDUTCEZ2FQAXnv1MkZCAnu+UQU=; b=XXT1M3C97FGYfVtyuGQtcICl1tKSP6CoM8cU3lWQe8jacx2DaV3q4ERKIhGxK8h308 lxf2foKolGeh31neoMl/0HUpVqSWnrclrZxx+eYqEUAQkn6KwdWxy+S/7DHbkXkt1nlh 9CLZVDGz4ieTK/u9CC1bLs2wrk5nxxri0tj5eyPrFJD4Xqe+w3d5hCE+GyByV3hM5f+p /TZE7CiQFSYR/AKR53aarLUmasX7MHpSRQ/BDQqdnXjs5LDvRiw6AfDuYkxjCKmsySCW NfQ94/2bLVqhvHm6TDI08oUq+tfHN1rur2RhB7bI/pnbQUA6rvpDbmfFUtXF4OVbpWHk XIfA== X-Gm-Message-State: AOAM5316YwFbstLZ/irwdD1RrxUjnjjxWpqPPkBShOC8+AS9/kDdymPX wDIKYul2guKh2oY4lkIuY4YGaO5Jr4h9612+ X-Google-Smtp-Source: ABdhPJwXBxEB/Mu//pR2DeddeotbQFl01ny46xp5pq553UUm1BoutsT8DNAcTUyTJLkaWqLXyP2QNQ== X-Received: by 2002:a62:d142:0:b029:19e:6b61:7f80 with SMTP id t2-20020a62d1420000b029019e6b617f80mr3603694pfl.9.1607540903332; Wed, 09 Dec 2020 11:08:23 -0800 (PST) Received: from localhost.localdomain ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id z12sm3309785pfn.186.2020.12.09.11.08.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2020 11:08:22 -0800 (PST) From: Ajit Khaparde X-Google-Original-From: Ajit Khaparde To: dev@dpdk.org, thomas@monjalon.net, bruce.richardson@intel.com, aconole@redhat.com, maicolgabriel@hotmail.com Cc: juraj.linkes@pantheon.tech, Ruifeng Wang , lance.richardson@broadcom.com, stable@dpdk.org Date: Wed, 9 Dec 2020 11:08:06 -0800 Message-Id: <1607518771-7564-3-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <1607518771-7564-1-git-send-email-juraj.linkes@pantheon.tech> References: <1600244472-29696-1-git-send-email-juraj.linkes@pantheon.tech> <1607518771-7564-1-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 X-Mailer: git-send-email 2.7.4 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [dpdk-dev] [PATCH v11 2/7] net/bnxt: fix aarch32 build X-BeenThere: stable@dpdk.org 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20201209190806.9bMVZONiCflPP6t8oE1xp6no-KoV43nN8lFLC8lZVZU@z> > 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. > Fixed aarch32 build by updating meson file to execule 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