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 109FAA04B3; Mon, 18 Nov 2019 08:49:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E8ECBA69; Mon, 18 Nov 2019 08:49:08 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150049.outbound.protection.outlook.com [40.107.15.49]) by dpdk.org (Postfix) with ESMTP id 184A8235 for ; Mon, 18 Nov 2019 08:49:07 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ogf+fF8YTL3xpIPW+7Xfcj8RxwDI/EircMqWfCoXz3c42a25GFEGxwcbD0iBwL3fOd3BIfIsMM+abe5K2LvftJ/L0pqYUXBcjIqTBE+Sr3Wte022CqdpWuh+6zsvsc2uWtCLuPow8ZkywbghN5aXchHldjDFWxLpW5Gu4YKHNCrJoPXsTOQNnbzjScHIEX1SGA186mRs9TVK21BCp0burE/t6/i9Pl80VPJMA97LHQ23zE4TNzAg2v7MEmW1vGMDcnjEDlfFPaiFqOgfAnmvhJy2+9yLnRwuMlQdCLMkDh2ZYkIrMpYKcLE+KtmKKre+eAi7q0/I2+AhBzrK2UnYVQ== 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=vrAzr+3rjLkVfj4toT1WEm4F5H7LttuFO22tXB14czU=; b=gwhGLOdU5YbsT3dVU77hQK6ncRtbYFu7xnf+46VSTDrzVummSFnRxJBYo88SBjkpjHRRD7heQOjQonQpppyMPAWj/vgjYeYXOKpeteY7jCr9mYdUI+qaAIb3LvEH8eAZghv+heFqfRgoV4DU36OWKVYqjKkXRygHL0di0Xm93QVpRW1H3DSUn3ULkXlhTZ2aB9J4kkGxMhlUVMlpxtd/QCOyYxxwwTqIIryEU8QyZH8r0dKsLR8dI6sWteDxkkaSGXVm2JibsuC4ky7XEXqWzhf9+O47WLteiXK/sgikDXhe1meMWWPQ9bb3Wi7I/u7VQc+5EAwT3KKCEN+QHkhGxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vrAzr+3rjLkVfj4toT1WEm4F5H7LttuFO22tXB14czU=; b=Q5CL2JhUl4pPl3yaRYlmpXdubSeH/nHzHNOraeEUWe0XvTxiBrSr3fuPbBwfFFy4EFrHdYGXgUb3o1t15RfwOQnPdgL7HxlCPgh8qNhwDk5LMh0qJZeOnpQ4eOFT4FIulnODpSBivv52/pxFG0Y/nkCdYF7KA69bN/o7dn2uSIk= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6495.eurprd04.prod.outlook.com (20.179.233.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.27; Mon, 18 Nov 2019 07:49:06 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::9dc:aa5c:2bb8:b561]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::9dc:aa5c:2bb8:b561%6]) with mapi id 15.20.2451.029; Mon, 18 Nov 2019 07:49:06 +0000 From: Akhil Goyal To: Dharmik Thakkar , Jerin Jacob , Bruce Richardson CC: "dev@dpdk.org" , "honnappa.nagarahalli@arm.com" , "thomas@monjalon.net" , Ruifeng Wang , "gavin.hu@arm.com" Thread-Topic: [dpdk-dev] [PATCH] crypto/armv8: enable meson build Thread-Index: AQHVej38AV8TCBh4WU+oVxLvnIMyAqeQ03Ew Date: Mon, 18 Nov 2019 07:49:06 +0000 Message-ID: References: <20191003225732.13463-1-dharmik.thakkar@arm.com> In-Reply-To: <20191003225732.13463-1-dharmik.thakkar@arm.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 19bc2eff-9f9d-46af-7218-08d76bfbc9db x-ms-traffictypediagnostic: VE1PR04MB6495: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0225B0D5BC x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(136003)(376002)(346002)(39860400002)(396003)(199004)(189003)(4326008)(66556008)(66476007)(64756008)(66446008)(14454004)(316002)(486006)(33656002)(476003)(44832011)(25786009)(186003)(2906002)(26005)(229853002)(81156014)(8936002)(102836004)(256004)(81166006)(6506007)(6116002)(3846002)(7736002)(6436002)(305945005)(66946007)(8676002)(478600001)(446003)(11346002)(76116006)(7696005)(99286004)(66066001)(76176011)(74316002)(86362001)(5660300002)(110136005)(54906003)(9686003)(55016002)(52536014)(6246003)(71200400001)(71190400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6495; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UQhrDD3sEimcywmFIwbf5nXRODbjJiUqEKFFnCXudIybSWfl91L3haK6ezN1DCDl1Yv+3n/DGLwMtaEcWI3zjmyOQvWhnzJddkpP350np7ro7qerBcJ0/ZKAuADNuroOiHVUW9CEXQNFof/23dJTWk6faVkborOCVHat38OmS+rzC5IHTMvuwFPcdEKX5O/rynjjvLVi06IMJDjYmEna79hCgk9yzDY9MaqrutkiBiCNxqcfZ9CUfn8UZtPQrYDnAOzPqS7xtGE32UD8PXehSZRPUoyAbAm/2hV/uFwTHmc34Jlz29Sb/Us9KLFQWOoRRmh6yLYRLGPJbx5ssREh9EzhCuVNokpBw5I8VLO7co8yy+iWRLDBF1w9/iOZtG6tUyKqoYC8mRaFG73qs88KOyRQMWPKnDNmbhJQjRBARtcUc4d+nP8Qrv7IxfKsKZ+/ x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19bc2eff-9f9d-46af-7218-08d76bfbc9db X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2019 07:49:06.2690 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0YKqwemxGcihbn4rH4cPOYhxUdVfvpm6KUdtC6Og4gOitdAjTGoAEqD1WktoJOYQB2wA8jxtWnLxCv9CtKpWmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6495 Subject: Re: [dpdk-dev] [PATCH] crypto/armv8: enable 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" Hi Dharmik, As per the recent communication with Honnappa on a separate mail chain, ARM= has agreed to=20 Host the armv8_crypto library. If it is happening in 19.11 timeframe, we sh= ould rebase this patch And add documentation for changed location of the repo and if it is not in = 19.11 timeframe we should have a patch to disable the PMD. Could you please send patches as are applicable? Regards, Akhil > Add new meson.build file for crypto/armv8 >=20 > Signed-off-by: Dharmik Thakkar > --- > drivers/crypto/armv8/meson.build | 25 +++++++++++++++++++++++++ > drivers/crypto/meson.build | 6 +++--- > meson_options.txt | 2 ++ > 3 files changed, 30 insertions(+), 3 deletions(-) > create mode 100644 drivers/crypto/armv8/meson.build >=20 > diff --git a/drivers/crypto/armv8/meson.build > b/drivers/crypto/armv8/meson.build > new file mode 100644 > index 000000000000..1ef78fa5d8c7 > --- /dev/null > +++ b/drivers/crypto/armv8/meson.build > @@ -0,0 +1,25 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(c) 2019 Arm Limited > + > +path =3D get_option('armv8_crypto_dir') > +if path =3D=3D '' > + build =3D false > + reason =3D 'missing dependency, "armv8_crypto"' > + subdir_done() > +endif > + > +inc_dir =3D path + '/asm/include' > + > +lib =3D cc.find_library('libarmv8_crypto', dirs: [path], required: false= ) > +if not lib.found() > + build =3D false > + reason =3D 'missing dependency, "armv8_crypto"' > + subdir_done() > +else > + ext_deps +=3D lib > + includes +=3D include_directories(inc_dir) > +endif > + > +deps +=3D ['bus_vdev'] > +sources =3D files('rte_armv8_pmd.c', 'rte_armv8_pmd_ops.c') > +allow_experimental_apis =3D true > diff --git a/drivers/crypto/meson.build b/drivers/crypto/meson.build > index 83e78860ebee..605dcdd5f4d6 100644 > --- a/drivers/crypto/meson.build > +++ b/drivers/crypto/meson.build > @@ -1,9 +1,9 @@ > # SPDX-License-Identifier: BSD-3-Clause > # Copyright(c) 2017 Intel Corporation >=20 > -drivers =3D ['aesni_gcm', 'aesni_mb', 'caam_jr', 'ccp', 'dpaa_sec', 'dpa= a2_sec', > - 'kasumi', 'mvsam', 'null', 'octeontx', 'openssl', 'qat', 'scheduler', > - 'snow3g', 'virtio', 'zuc'] > +drivers =3D ['aesni_gcm', 'aesni_mb', 'armv8', 'caam_jr', 'ccp', 'dpaa_s= ec', > + 'dpaa2_sec', 'kasumi', 'mvsam', 'null', 'octeontx', 'openssl', 'qat', > + 'scheduler', 'snow3g', 'virtio', 'zuc'] >=20 > std_deps =3D ['cryptodev'] # cryptodev pulls in all other needed deps > config_flag_fmt =3D 'RTE_LIBRTE_@0@_PMD' > diff --git a/meson_options.txt b/meson_options.txt > index 448f3e63dcf2..4c0413918a34 100644 > --- a/meson_options.txt > +++ b/meson_options.txt > @@ -2,6 +2,8 @@ >=20 > option('allow_invalid_socket_id', type: 'boolean', value: false, > description: 'allow out-of-range NUMA socket id\'s for platforms that > don\'t report the value correctly') > +option('armv8_crypto_dir', type: 'string', value: '', > + description: 'path to the armv8_crypto library installation directory') > option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-', > description: 'Subdirectory of libdir where to install PMDs. Defaults to > using a versioned subdirectory.') > option('enable_docs', type: 'boolean', value: false, > -- > 2.17.1