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 F1FE4A0524; Fri, 6 Nov 2020 02:40:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A05702B89; Fri, 6 Nov 2020 02:40:56 +0100 (CET) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30040.outbound.protection.outlook.com [40.107.3.40]) by dpdk.org (Postfix) with ESMTP id 55FA12986 for ; Fri, 6 Nov 2020 02:40:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6YQ9waO/iOA8HgU0MVOBTRMZ/d+bwnqtt6uyygSpuds=; b=Md7UIkidLewMdHnA9pPoV5sdrqNCWEacSudQsuyN4xU2GiHZEfOKvXfx5ewPVXbfMYGJtNLh1pWN/XxT6BqA8XHJyQr+EO9Msu5YHpaFpeg5lt0hO+FRt39+M2S8bVZuna5zO5jU4WndNo7BWE+N0IvMIsvyhmDe4xb/jjwTItU= Received: from DB6PR0301CA0035.eurprd03.prod.outlook.com (2603:10a6:4:3e::45) by VI1PR0801MB1679.eurprd08.prod.outlook.com (2603:10a6:800:59::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.27; Fri, 6 Nov 2020 01:40:53 +0000 Received: from DB5EUR03FT004.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3e:cafe::18) by DB6PR0301CA0035.outlook.office365.com (2603:10a6:4:3e::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.21 via Frontend Transport; Fri, 6 Nov 2020 01:40:53 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT004.mail.protection.outlook.com (10.152.20.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.17 via Frontend Transport; Fri, 6 Nov 2020 01:40:53 +0000 Received: ("Tessian outbound b03b78fa78b0:v64"); Fri, 06 Nov 2020 01:40:53 +0000 X-CR-MTA-TID: 64aa7808 Received: from 426ba0e690f5.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2BB43AE3-6332-4CDE-80E8-5F1F5EBCF8DB.1; Fri, 06 Nov 2020 01:40:47 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 426ba0e690f5.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 06 Nov 2020 01:40:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FSPTRvkDOrdaV3Wjc+RnAoQIU0ci3JMkmup0KeH1I2z8LUPp7Ig/JSxIcLXmy7zO+cbIL997B+PgztuS6kRbnscHZyfTo6b0vSDftdioTkU3IZTW9YKjRmVHfGDyqnC6eeS6A40+6ozeSNWkLoeM0K6/pQa0c47EjeZbCqvSy//arJodXP4GadPjtBS78KJNP5GT8HK/0uPCSWBqY89VoEPs5XuyObrIK0xPHDAjvj7Dwon5a28WAQsDEnfVy/iapW29FgE/y9wie9j7jSaepsNRSdP3mbfXpYrNrv9KbzLHJnBk10d4RnWBRm81VSs2d2it1XzHFqtjj5ZxmX0NaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6YQ9waO/iOA8HgU0MVOBTRMZ/d+bwnqtt6uyygSpuds=; b=k8rHlEmIq+VFl/J/qgFC9CacofWvnkLtwUz6PTFRYKsu4wLo/x0lh/o7SIAyQDzrimJg+9mDtuD1QcUjAPsHMmokLWl7etJwBNoeZWUltBqaBWwNlgihIHldx2hq7FQZ7BbJtV6QcpBjJNJ3oPzy4bZ/rdnDib1Zl3qwTMuK8C1EQdMRO44yDR2A6rMx8KV84JWHUpUsk+eNhyYDxJIwEWXoVsQVSCK0SJn0cZyxyQDiOOXhf+yV+E1cBQzUyCAZBl9hzjxhO6QeVPUSKlka424VM9LZ2onnwwI5EjL9caQyQ+/8o0vOSs9EJN4h4vFQVtUqp6pSzrXGIps6p5f6FA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6YQ9waO/iOA8HgU0MVOBTRMZ/d+bwnqtt6uyygSpuds=; b=Md7UIkidLewMdHnA9pPoV5sdrqNCWEacSudQsuyN4xU2GiHZEfOKvXfx5ewPVXbfMYGJtNLh1pWN/XxT6BqA8XHJyQr+EO9Msu5YHpaFpeg5lt0hO+FRt39+M2S8bVZuna5zO5jU4WndNo7BWE+N0IvMIsvyhmDe4xb/jjwTItU= Received: from VI1PR0802MB2351.eurprd08.prod.outlook.com (2603:10a6:800:a0::10) by VI1PR08MB2702.eurprd08.prod.outlook.com (2603:10a6:802:1e::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.21; Fri, 6 Nov 2020 01:40:46 +0000 Received: from VI1PR0802MB2351.eurprd08.prod.outlook.com ([fe80::14d4:6ade:368a:204b]) by VI1PR0802MB2351.eurprd08.prod.outlook.com ([fe80::14d4:6ade:368a:204b%3]) with mapi id 15.20.3499.032; Fri, 6 Nov 2020 01:40:46 +0000 From: Ruifeng Wang To: Dharmik Thakkar , Bruce Richardson CC: "dev@dpdk.org" , nd , Dharmik Thakkar , nd Thread-Topic: [PATCH 1/2] crypto/armv8: update meson build Thread-Index: AQHWs4kUmb4KrIlx0kuMGQOwKSYH+am6VI8Q Date: Fri, 6 Nov 2020 01:40:46 +0000 Message-ID: References: <20201105153316.27918-1-dharmik.thakkar@arm.com> In-Reply-To: <20201105153316.27918-1-dharmik.thakkar@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 8CC69E85CDB0C14ABB4E94B211457797.0 x-checkrecipientchecked: true Authentication-Results-Original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [203.126.0.111] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a30527dc-d7a8-4e96-bc29-08d881f4ff7a x-ms-traffictypediagnostic: VI1PR08MB2702:|VI1PR0801MB1679: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:6790;OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: /NLU/OuZhrW7n+8DLCBeO4mtKQ0lVPUnuDSIN7RTHxGKkawAYAHy5HSlXodAgflcFZjPe4b8zp6eGeqCBGiB4eWuLj7rIDjXZ4W+H27Ad2VCowZEV6GpGFXntb3TgTlChkBjBq615c4yEQFL4YcgyweYsGMZgzhv6S/rfi5lfttDG82kWUf8BBdYMuGztl4b08PHwCU8ZGHDPUzwBnhoCqv0xSAaClLjbhgMCGHhIMFz5tu4PGa+HBfHPaphSO7ceL53eDI7DlQAGdVqntZECWGonWA39VYxUK/p1o8PURrAL2mC3+Dc/MPJECA4QXB0ROsTYTUnZG+KP7J8YSREhfNRG7CcZGnoJfyQemOehMZuwwVsKQDuA4oICvW9Gv+LpX6do+RFAROmQlbz69a0qw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0802MB2351.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(136003)(376002)(346002)(396003)(366004)(71200400001)(54906003)(110136005)(8936002)(7696005)(8676002)(478600001)(26005)(186003)(4326008)(53546011)(33656002)(5660300002)(316002)(6506007)(52536014)(2906002)(86362001)(66476007)(76116006)(15650500001)(9686003)(966005)(66946007)(66446008)(64756008)(83380400001)(55016002)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: pg6tKpHXYuf2gmkv9eCc/JqRSBW8pT5uhIbF5j7oFlAPhx1TOODrWeO7FvDWqx9DORXJ8301TiwXy4cFwKXlAuyN5W8JJfNN8G2DOtuyjikGifJHdD+6fFjiTMPtqr2bDlR0VwTidcOGo8SUUSvT+LCSMmNIPl7ISq8CZR7w0sghKi5bC0cJtD/1b18lFYeL2gH4je3RDDINtsY86neI3C2I4FcHGhVaXy2OSxGHxM9U8++d1aW74ZQllGSf5vn/CPrcBxnrrMJR0r/D945ZmrQkrF7J7GdxqroW4XgNO5qGHzKHeAeeL6FLDyCHZApjfbG4JJO+PNubaSyjdfLJsJrxLTTqmJLRLfBancfm4zQ/ZRMCshczGulBVV9MLq0PN1r3cliDeQbyVqbWd/xSb1VY4LTzO/VWOb223LSx76ADfRiicM26UZu2JSvu7uF9rwyQQ70lNCL9n6p+Tb68HasZSyoeLePFpSLxRk2hJddSwjMOP+Zap+wbunlHlO30Lu0H7Y8b41J96z1YWDY3ijZgRzPbwvUE6u+EerXRZrNZDDK9T3YD6IOeTDaleq/fLz4vlNgu9vGK36Xycg7KAwV81D5mBjhZIzsBDvHpAmoywOP/9BKfDAy6bXkrbVI9vGCC6qUhGNx7Cz2Vtrw7Fw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT004.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 681e1fb3-746f-43ba-d2c3-08d881f4fbcc X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P408Iv1feo6Js2mPzEByGeqxbH7CgxgTbu7RLJf45UokwtLui1kmmllcbwim73sjJ1XcmL7MePwRKLuAFKuQAkRDXuT1t82iHmrZFN5rH5cVN9U8TO9kG21zqz6nKVaoufFrRRXJjhX1CjJB+moqF3VCc1XdErV4LJoBgkJmmVFPZJBrP3EsPUe1gzLy8sUNK7iCsyWrmZl9umboRmDDQWAMqKfTKqJ89Adbn1tgggrO4O3un48+br1KRqFOjhL8N+TgoStieewVS6u19JS6Kx0EpdKFPQ3SMiWINfL0uFe7WpKKiRDMegk4iTzADqTc+aAPadggFU7u3oiwIS6YNSnIFIu6JTlTz83ZMM/qCz4wfV54oo8iPM5IJw26LT02UNYeggK/6aNNc0STXmpNaU8TW267gfvZB1yTRZxpshAscuhEOjTZVUIdrcmNkiIhDQzLs5gaXhvDoXzF7QV+O9hidagqwEcM07ejBgEm7tU= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(136003)(39860400002)(396003)(376002)(346002)(46966005)(8936002)(70206006)(8676002)(83380400001)(15650500001)(478600001)(82740400003)(356005)(47076004)(82310400003)(4326008)(81166007)(70586007)(26005)(52536014)(86362001)(33656002)(5660300002)(2906002)(110136005)(53546011)(55016002)(186003)(54906003)(336012)(966005)(7696005)(316002)(9686003)(6506007); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2020 01:40:53.1092 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a30527dc-d7a8-4e96-bc29-08d881f4ff7a X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT004.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1679 Subject: Re: [dpdk-dev] [PATCH 1/2] crypto/armv8: update meson build 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" > -----Original Message----- > From: Dharmik Thakkar > Sent: Thursday, November 5, 2020 11:33 PM > To: Ruifeng Wang ; Bruce Richardson > > Cc: dev@dpdk.org; nd ; Dharmik Thakkar > > Subject: [PATCH 1/2] crypto/armv8: update meson build >=20 > With pkg-config support available within AArch64crypto library, meson opt= ion > 'armv8_crypto_dir' can be removed. > PKG_CONFIG_PATH environment variable should be set appropriately to use > the crypto library. >=20 > Refer [1] for build instructions. >=20 > [1] > https://doc.dpdk.org/guides/cryptodevs/armv8.html >=20 > Suggested-by: Thomas Monjalon > Signed-off-by: Dharmik Thakkar > Reviewed-by: Ruifeng Wang > --- > drivers/crypto/armv8/meson.build | 19 ++++--------------- > meson_options.txt | 2 -- > 2 files changed, 4 insertions(+), 17 deletions(-) >=20 > diff --git a/drivers/crypto/armv8/meson.build > b/drivers/crypto/armv8/meson.build > index c445c5bd3dfd..3289a2adcac5 100644 > --- a/drivers/crypto/armv8/meson.build > +++ b/drivers/crypto/armv8/meson.build > @@ -1,24 +1,13 @@ > # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2019 Arm Limited >=20 > -path =3D get_option('armv8_crypto_dir') > -if path =3D=3D '' > +dep =3D dependency('libAArch64crypto', required: false) if not > +dep.found() > build =3D false > - reason =3D 'missing dependency, "armv8_crypto"' > + reason =3D 'missing dependency, "libAArch64crypto"' > subdir_done() > endif >=20 > -inc_dir =3D path > - > -lib =3D cc.find_library('libAArch64crypto', dirs: [path], required: fals= e) -if not > lib.found() > - build =3D false > - reason =3D 'missing dependency, "AArch64crypto"' > - subdir_done() > -else > - ext_deps +=3D lib > - includes +=3D include_directories(inc_dir) > -endif > - > +ext_deps +=3D dep > deps +=3D ['bus_vdev'] > sources =3D files('rte_armv8_pmd.c', 'rte_armv8_pmd_ops.c') diff --git > a/meson_options.txt b/meson_options.txt index > 9bf18ab6b1c9..e384e6dbb29e 100644 > --- a/meson_options.txt > +++ b/meson_options.txt > @@ -1,7 +1,5 @@ > # Please keep these options sorted alphabetically. >=20 > -option('armv8_crypto_dir', type: 'string', value: '', > - description: 'path to the armv8_crypto library installation directory') > option('disable_drivers', type: 'string', value: '', > description: 'Comma-separated list of drivers to explicitly disable.') > option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-', > -- > 2.17.1 Acked-by: Ruifeng Wang