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 61B5FA04B7; Wed, 14 Oct 2020 16:19:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2C43D1DE73; Wed, 14 Oct 2020 16:19:43 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80087.outbound.protection.outlook.com [40.107.8.87]) by dpdk.org (Postfix) with ESMTP id 4CBDF1DE41 for ; Wed, 14 Oct 2020 16:19:40 +0200 (CEST) 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=Hr2zXQGq0PrPuUAk21dwybBxSeiLLyB+BeMwFkCezi8=; b=js40ZGSGoJoF9e+yV8UTr3jmrcvjGRz8to9H8pF/F1Tiflbg+kN7vD7WiYLOWQTrlk9Iy9nS3UzjA99sUJwljXEgzRpiUxhKBGj31G2MD6/HYKXqS1IZkZd/QN404AIvhyk084JaNf+gtd6DaQIZ+zvpuO3anJ0IjX1xKCZkub0= Received: from AM6PR10CA0056.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:80::33) by AM0PR08MB3538.eurprd08.prod.outlook.com (2603:10a6:208:de::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.21; Wed, 14 Oct 2020 14:19:37 +0000 Received: from VE1EUR03FT009.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:80:cafe::6e) by AM6PR10CA0056.outlook.office365.com (2603:10a6:209:80::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.20 via Frontend Transport; Wed, 14 Oct 2020 14:19:37 +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 VE1EUR03FT009.mail.protection.outlook.com (10.152.18.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21 via Frontend Transport; Wed, 14 Oct 2020 14:19:37 +0000 Received: ("Tessian outbound 7c188528bfe0:v64"); Wed, 14 Oct 2020 14:19:36 +0000 X-CR-MTA-TID: 64aa7808 Received: from a4bdc25da23d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5883EB53-EE6C-4F04-B37C-409D500F97AF.1; Wed, 14 Oct 2020 14:19:31 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a4bdc25da23d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 14 Oct 2020 14:19:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bYYysFZe8cYUbFXEd5UXSIP4Kg6/mg0LC2WpVUoIW8zIa0rSjnzNWljizKTBIM6phfzWU6NvphsJv2399AzHhoI9cJhrIqnmCnAa2VfRWGWpx8krKcloKlvBuAQybzNbfrV7uw1Jb8tWf2YD7yNY0SiN3FjgOwYf5w0P5nVvbm7g05uqj9nrq6MnFbA1fRWGmWQ45FpgzxHGlgc6mH3Jqwyn+OqyugGeOvDWF20nrH/ZAAI3UAZhBruz0G/eFL2S/4o+j0tGhoBwSCDZwVsVS7eoU/U1x13obAbAdR5lVvCqegH2OLjEEVEoaWucbpiNIg6CTGxoS4xIIVkQqELAIg== 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=Hr2zXQGq0PrPuUAk21dwybBxSeiLLyB+BeMwFkCezi8=; b=UUKM06T+mjnTaLVONbv2u05yFZEtmCk3ZhFicUsQ77WedDdzpp5jbJdkxwArQmFCdkimE2QuR5KcJT1nY+Bl4kxatwTVEk3M/Miybr0fzJleeAohmcXJOCnholnCpwJefZpFYd/VNl2nhjrEn8OBofEMyp9jrlk4OBe+hm1q3H5JCGd8wlcASpewX8rtU2oqurs/eoRp192LkCNMvW17d28uwhWtqNPZ4eyEQDQFoWQFvm1ETo84XpuX5SfhJkyNEloT32jadwTXMgOj/pajWKcatINDvrTLb8OiCPU4lfgSPnByAoEYE8HVwYDJxnUjamVDfhgw5mZDSgqXoZ+kBg== 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=Hr2zXQGq0PrPuUAk21dwybBxSeiLLyB+BeMwFkCezi8=; b=js40ZGSGoJoF9e+yV8UTr3jmrcvjGRz8to9H8pF/F1Tiflbg+kN7vD7WiYLOWQTrlk9Iy9nS3UzjA99sUJwljXEgzRpiUxhKBGj31G2MD6/HYKXqS1IZkZd/QN404AIvhyk084JaNf+gtd6DaQIZ+zvpuO3anJ0IjX1xKCZkub0= Received: from VI1PR0802MB2351.eurprd08.prod.outlook.com (2603:10a6:800:a0::10) by VE1PR08MB5181.eurprd08.prod.outlook.com (2603:10a6:803:10d::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Wed, 14 Oct 2020 14:19:28 +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.3455.031; Wed, 14 Oct 2020 14:19:28 +0000 From: Ruifeng Wang To: Honnappa Nagarahalli CC: "dev@dpdk.org" , "Akhil.goyal@nxp.com" , nd , nd , nd Thread-Topic: [PATCH] doc: update build guide for armv8 crypto PMD Thread-Index: AQHWogvdQ3LvhRePfE+Qr504xnbXRamXI2SAgAAAhrA= Date: Wed, 14 Oct 2020 14:19:28 +0000 Message-ID: References: <20201014092414.9532-1-ruifeng.wang@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: DEF75A6640A29544BE325E50366E3145.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.112] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: c644ca0d-9efb-4ea5-6b8e-08d8704c2e65 x-ms-traffictypediagnostic: VE1PR08MB5181:|AM0PR08MB3538: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:7691;OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: IR3wZITCRM+NIQg/0FnaANF1SMuQ/IHzUXoLBaFefW38RSRe8WAtpoCYsqrDC9jTN+xcW4Ax0EZKhD/cCGatTCpuZVSQZDs1k/q4oey/G1zNmnRi41bSd1e0gtUDGFbFM3Zo/KWIx4VlGN4/3+Cmpu6x2BLMPBSfE843X4Bdi6qACTArhV0vXTYIjBVA5dIWP2+WbxG5e7B/gPgy6tWCBb9B3jgdM8yc80eOpxB8P0bk4+UwtpEQr587gWhm6ZAb6vE1cmGK5i7ognAcrvo7Ms7LtdyrItIFZHUMG4+XNbJFLwx068I0QeAgB4wJPjQqHrb7DjM1yeXFhhZUkJKLbQPLp+Z0mnvoAQ8+PK/rcj3DQaZj8HAUXx3b7IEl5mR+Ffe//0cu5afwOsUkrIxvcQ== 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)(346002)(39860400002)(136003)(376002)(396003)(366004)(66476007)(66946007)(66556008)(8936002)(64756008)(6636002)(33656002)(186003)(76116006)(83080400001)(15650500001)(26005)(52536014)(478600001)(54906003)(2906002)(4326008)(7696005)(6862004)(83380400001)(55016002)(316002)(86362001)(66446008)(6506007)(53546011)(71200400001)(9686003)(8676002)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: GnTZmjxxIUZqJsWaULeARpYUXW3wICrry5JKZrihSmd7K8IUsJkXv8zW9jCCu24d3uSzto7C7p3TN2/wnGFdEktz6lT/OrFEPl46DQcEKFGNkva+9pQmBBlTWIOuY/Kr9zo273PywqjS6Bq7ujTQLEdxD1zDiJEB8BYM+v+R9e1u9s7xSxwv9KNNiZOvRzUbhoI+4UulEb2c5So8otjjbI27HZbnYjRfW+f6hYkqZdSe8dDViY/DlbDbUUf2bxXNTL6Y1j8gV4bVfQ4+8pccztujgtY/VP4MG3nQMaXuu6PJCg29FoGgBnPSh7dDxQeJohiNsVCOC1uPd84aOgo87EjQugaQ9FzCuQOeNth9G+cMloo3Nle7sZgj5Pm/5ZBx3mwg4EhWDBjcr5H8JmIANdu7ON8BL0Kne/fQzL+AMY4evqK2j9/aEYXC57icmDbxKvG9/Tb2TM0+ALLn86dBljTkFdwI0pES9uTKLqb8/ug2icXs8QvwkgWb7A6suVp/Rr9rzRQKMIfNNHEnLw+H1LlLWA14bPaonpAd0uUPCgtZupaBcvX/tNF2kC5At02nPc+FXfvqEBUKl6Exk/r794gB1nVgSwcTiJe/iYn4HA8IT0QXqtNtT5WwU4pbSVAVNSa9rg1eCQr5vc580K1uAQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5181 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: VE1EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: d7b1fdee-b877-468d-a86a-08d8704c2982 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AA8gEiTfJMay1hUmRhfv4l0XSQ9eFa3HYRV2nr9//j0OERJBOWpG+ZO8rVizFniqvQVH7C75B9YSzoT2n8JHbpI+QDllsN5lVHJwhW8fJyGwYTivcW0yccE4dMDQj/Zf5C1J7G5+p5covOdXstiJRPoXAKNZ++RlCqxobKCtT9IB5eWLTt1GYq1w1kFUtt7TInP59bp0zTW/hvMKPbGJU6P1HrokqE6WPwqNgkqTLNcy9vPqPIa0bNxJ5OcUFzg7yWQ04UjpPqchEKOQkqDm4RPCd2/ryowwCwKiGcoXdJQUAO7Pxs/xDso7+u3mMOQZBfboJROGP9o6DPb8GBuVRxxHTc8eL/r3wM4jrWZMRW3owqjDxa7waJGhJ3MUzlLI77KN1eqrBRcyknuUvS0nP3YvakdieZuE78Lhi1KuiyfUILexS8lbImpX+MfoLNNX+xDzrJXSmRcJyfqFwtiitPfjRSe8oBH2B2EXQao3wOU= 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)(396003)(346002)(39860400002)(376002)(46966005)(83080400001)(86362001)(478600001)(47076004)(6506007)(5660300002)(82310400003)(356005)(8676002)(6636002)(33656002)(4326008)(8936002)(9686003)(2906002)(70586007)(53546011)(83380400001)(186003)(70206006)(7696005)(81166007)(316002)(52536014)(26005)(82740400003)(54906003)(336012)(6862004)(15650500001)(55016002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2020 14:19:37.0039 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c644ca0d-9efb-4ea5-6b8e-08d8704c2e65 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: VE1EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3538 Subject: Re: [dpdk-dev] [PATCH] doc: update build guide for armv8 crypto PMD 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: Honnappa Nagarahalli > Sent: Wednesday, October 14, 2020 10:10 PM > To: Ruifeng Wang ; Ruifeng Wang > > Cc: dev@dpdk.org; Akhil.goyal@nxp.com; nd ; Honnappa > Nagarahalli ; nd > Subject: RE: [PATCH] doc: update build guide for armv8 crypto PMD >=20 > >=20 > > > > Removed references to Makefile and added guide about building by using > > meson. > > > > Also added the command to create virtual device. > > > > Suggested-by: Akhil Goyal > > Signed-off-by: Ruifeng Wang > > --- > > doc/guides/cryptodevs/armv8.rst | 20 +++++++++++--------- > > 1 file changed, 11 insertions(+), 9 deletions(-) > > > > diff --git a/doc/guides/cryptodevs/armv8.rst > > b/doc/guides/cryptodevs/armv8.rst index fee85354b..d11efe08d 100644 > > --- a/doc/guides/cryptodevs/armv8.rst > > +++ b/doc/guides/cryptodevs/armv8.rst > > @@ -26,22 +26,23 @@ Supported authentication algorithms: > > Installation > > ------------ > > > > -In order to enable this virtual crypto PMD, user must: > > +To build DPDK with this virtual crypto PMD, the user is required to: > > > > * Download AArch64 crypto library source code from > > - `here `_ > > + `here `_. > > > > -* Export the environmental variable ARMV8_CRYPTO_LIB_PATH with > > - the path to ``AArch64cryptolib`` library. > > - > > -* Build the library by invoking: > > +* Build the ``AArch64cryptolib`` library: > > > > .. code-block:: console > > > > - make -C $ARMV8_CRYPTO_LIB_PATH/ > > + make > > + > > +* Build DPDK with meson option ``- > > Darmv8_crypto_dir=3D``: > > + > > +.. code-block:: console > > > > -* Set CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=3Dy in > How is the flag set for Meson? Does it need to be documented here? Meson don't use this flag.=20 It will build a PMD when dependency is met. And armv8 crypto PMD depends on= armv8_crypto_dir which points to AArch64cryptolib. >=20 > > - config/defconfig_arm64-armv8a-linux-gcc > > + meson -Darmv8_crypto_dir=3D build > > + ninja -C build > > > > The corresponding device can be created only if the following > > features are supported by the CPU: > > @@ -53,6 +54,7 @@ are supported by the CPU: > > > > Initialization > > -------------- > > +Use ``--vdev "crypto_armv8"`` in the EAL options to create virtual > > +crypto > > device. > > > > User can use app/test application to check how to use this PMD and to > > verify crypto processing. > > -- > > 2.17.1