From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 8BBC2A0AC5 for ; Thu, 2 May 2019 06:12:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 96C1BB62; Thu, 2 May 2019 06:12:16 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130048.outbound.protection.outlook.com [40.107.13.48]) by dpdk.org (Postfix) with ESMTP id 81D3D239 for ; Thu, 2 May 2019 06:12:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u2Or47/NZUAvUHw5y1spyDHOKAtEeAqgrAYRCPBCdJg=; b=LZBkMn2ThqeUElVgFkva0bqJBYmtam6KQ9bsKLH3ZuYslCEFR5qb3on4OtUp0VSSNWJ3cn7JyFqCSlVJBtcOk5U1rbRRfq8KdZBHf/opGv5DpFLunpIRFPCz79uEv8SGN0D5I0XP1cOtLuIZgk/CQefr359DWjB6nwKiLGABFiA= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.152) by VE1PR08MB5182.eurprd08.prod.outlook.com (20.179.31.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1856.11; Thu, 2 May 2019 04:12:12 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::9b6:3403:4386:78]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::9b6:3403:4386:78%2]) with mapi id 15.20.1835.018; Thu, 2 May 2019 04:12:12 +0000 From: Honnappa Nagarahalli To: "yskoh@mellanox.com" , "jerinj@marvell.com" , "shahafs@mellanox.com" , "thomas@monjalon.net" CC: "dev@dpdk.org" , "bruce.richardson@intel.com" , "pbhagavatula@marvell.com" , "Gavin Hu (Arm Technology China)" , Honnappa Nagarahalli , nd , nd Thread-Topic: [PATCH 2/2] mk: disable armv8 crypto extension for Mellanox BlueField Thread-Index: AQHVAIqLeeZwEbnsU0mTBw3Y8vLyd6ZXOP4g Date: Thu, 2 May 2019 04:12:12 +0000 Message-ID: References: <20190502015806.41497-1-yskoh@mellanox.com> <20190502015806.41497-2-yskoh@mellanox.com> In-Reply-To: <20190502015806.41497-2-yskoh@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d8d7ec04-8220-4569-0bd0-08d6ceb45a6f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VE1PR08MB5182; x-ms-traffictypediagnostic: VE1PR08MB5182: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 0025434D2D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(136003)(366004)(346002)(396003)(39860400002)(199004)(189003)(66946007)(73956011)(2201001)(256004)(76116006)(14454004)(229853002)(6246003)(6436002)(4326008)(53936002)(6506007)(72206003)(71200400001)(9686003)(71190400001)(102836004)(25786009)(66446008)(64756008)(66556008)(478600001)(66066001)(55016002)(66476007)(14444005)(5660300002)(86362001)(81166006)(7736002)(81156014)(2906002)(8676002)(99286004)(26005)(52536014)(2501003)(7696005)(305945005)(76176011)(74316002)(186003)(316002)(446003)(33656002)(110136005)(3846002)(8936002)(6116002)(486006)(476003)(54906003)(11346002)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB5182; H:VE1PR08MB5149.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 8w3uHi0nCty4OOw/Jd4p6yh1EwbrcMEYUYN2udeuBnthtBALCfBDNDzGkIyKpixLxIYx3MtMpR+qJfdfgjabGq1eAGPdo1LfZL5J0aVDOnR/ge1pCqALL/z8OcxfULSEM9HgUPcqTq+9K3a7DAjp8Wa3IueJl58VjqXBzw3Gp1fqLmPKb2lEbe+5xW5CwqkwKdBUCPNzjsdpEIfMqQSp6xvo9b/NPMhc4Dmoswbkupk2y1L3cVSljpZ0oKoLpUuwPaiwDAeDNCkTyl4wAZXgkm6F17P2Of33JyPAhKHx+6jsIA2oQtmsJIWS09+o2ZSIyeRkt2SlgE9QQkjzqQXGcX9N5nwQ2XEtPrIMw0Ty0d/tOS0VY+XvcBvitbUY3GiyugKva19/GzO199YRuQr5UXYrJYMA0E1olgQ/1SN2XW8= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8d7ec04-8220-4569-0bd0-08d6ceb45a6f X-MS-Exchange-CrossTenant-originalarrivaltime: 02 May 2019 04:12:12.4284 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5182 Subject: Re: [dpdk-dev] [PATCH 2/2] mk: disable armv8 crypto extension for Mellanox BlueField X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Message-ID: <20190502041212.-tJF2o0tWQyNKOUDoIDuf2XdnIs_Q8u7cGhhIOcAmIo@z> >=20 > Mellanox BlueField has a variant which doesn't have armv8 crypto extensio= n. > If crypto enabled binary runs on such a pltform, rte_eal_init() fails. To= have > binary compatibility across multiple variants, it is disabled by default = and can > be enabled for crypto enabled parts. >=20 > Signed-off-by: Yongseok Koh > --- > config/defconfig_arm64-bluefield-linuxapp-gcc | 6 ++++++ > 1 file changed, 6 insertions(+) >=20 > diff --git a/config/defconfig_arm64-bluefield-linuxapp-gcc > b/config/defconfig_arm64-bluefield-linuxapp-gcc > index b496538819..6da9c2026d 100644 > --- a/config/defconfig_arm64-bluefield-linuxapp-gcc > +++ b/config/defconfig_arm64-bluefield-linuxapp-gcc > @@ -10,6 +10,12 @@ CONFIG_RTE_ARCH_ARM_TUNE=3D"cortex-a72" > CONFIG_RTE_MAX_NUMA_NODES=3D1 > CONFIG_RTE_CACHE_LINE_SIZE=3D64 >=20 > +# Crypto extension of armv8 > +# > +# Disabled by default for binary compatibility. > +# Can be enabled for crypto-enabled parts. > +CONFIG_RTE_ENABLE_ARMV8_CRYPTO=3Dn How do you plan to support the Bluefield devices with crypto enabled? Do yo= u plan to add another config? > + > # UMA architecture > CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=3Dn > CONFIG_RTE_LIBRTE_VHOST_NUMA=3Dn > -- > 2.11.0