From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 12861A0503;
	Thu, 19 May 2022 15:28:59 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 04265427F8;
	Thu, 19 May 2022 15:28:59 +0200 (CEST)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com
 [67.231.156.173])
 by mails.dpdk.org (Postfix) with ESMTP id 08C55427F8
 for <dev@dpdk.org>; Thu, 19 May 2022 15:28:56 +0200 (CEST)
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1])
 by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24J7HlBk010680;
 Thu, 19 May 2022 06:28:52 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;
 h=from : to : cc :
 subject : date : message-id : in-reply-to : references : mime-version :
 content-transfer-encoding : content-type; s=pfpt0220;
 bh=hTDVFiD+SN2z53Ci1tvSS7belp0IFaRjOzTSGk1AHMs=;
 b=h3IkQIU/0klToL1aOMf9LNCpoWURnIgfriWQb0A2kkTOOUNh/a38NWwNcYCljF885+hC
 bKTUahDVbTyU0/PAtawvFcp2P3YZz/1UN2UfVEZorXRsoX2SMaUUk3ePSf2QfnaTKHfn
 u/d6ezDQxOI2PJhF2TyW/Ps0hwASujNICb6L0ZvdEB7e7uxolFJbV4B1Qa/SAmX0sl9F
 46FOXha/PCXtf4fOeRazCJatkJCc9yqHezB0jwgZkTigY24HGGsUP2dIZDz4za/tlWxd
 9CqduwvotxxC9R35MChqW9ZZk5T94J5kaU7AldZfAJrtj0nwwU6ZahI+ZfImrU1Lu+yh QA== 
Received: from dc5-exch02.marvell.com ([199.233.59.182])
 by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3g50as5avp-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);
 Thu, 19 May 2022 06:28:52 -0700
Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com
 (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;
 Thu, 19 May 2022 06:28:50 -0700
Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com
 (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend
 Transport; Thu, 19 May 2022 06:28:50 -0700
Received: from localhost.localdomain (unknown [10.28.48.107])
 by maili.marvell.com (Postfix) with ESMTP id 1D8593F703F;
 Thu, 19 May 2022 06:28:47 -0700 (PDT)
From: Rahul Bhansali <rbhansali@marvell.com>
To: <dev@dpdk.org>, Ruifeng Wang <ruifeng.wang@arm.com>, Jan Viktorin
 <viktorin@rehivetech.com>, Bruce Richardson <bruce.richardson@intel.com>
CC: <jerinj@marvell.com>, Rahul Bhansali <rbhansali@marvell.com>, "Chengwen
 Feng" <fengchengwen@huawei.com>
Subject: [PATCH v5 2/2] config/arm: disable SVE ACLE for cn10k
Date: Thu, 19 May 2022 18:58:30 +0530
Message-ID: <20220519132830.3677023-2-rbhansali@marvell.com>
X-Mailer: git-send-email 2.25.1
In-Reply-To: <20220519132830.3677023-1-rbhansali@marvell.com>
References: <20220505142744.1423344-1-rbhansali@marvell.com>
 <20220519132830.3677023-1-rbhansali@marvell.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Proofpoint-ORIG-GUID: blTJLwG3IVGMTmvWGtDC0jLwBI7o-K3S
X-Proofpoint-GUID: blTJLwG3IVGMTmvWGtDC0jLwBI7o-K3S
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.486,FMLib:17.11.64.514
 definitions=2022-05-19_03,2022-05-19_03,2022-02-23_01
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

This disable the sve_acle flag for cn10k.

For native build, -Dplatform=cn10k will require to
get sve_acle flag parameter in the build.

Performance impact:-
With l3fwd example, lpm lookup performance increased
by ~21% if Neon is used instead of SVE. Hence, disabled
sve_acle flag for cn10k.

Signed-off-by: Rahul Bhansali <rbhansali@marvell.com>
Reviewed-by: Chengwen Feng <fengchengwen@huawei.com>
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
---
Changes in v5: Updated commit message.

Changes in v4:
- Resend patches. With v3, patches were not sent properly
in single series.

Changes in v3: No change

Changes in v2:
- Renamed the flag to sve_acle from sve

 config/arm/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/config/arm/meson.build b/config/arm/meson.build
index 6f8961eac8..a94129168f 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -281,7 +281,8 @@ soc_cn10k = {
     ],
     'part_number': '0xd49',
     'extra_march_features': ['crypto'],
-    'numa': false
+    'numa': false,
+    'sve_acle': false
 }

 soc_dpaa = {
--
2.25.1