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 F3CBDA04B7; Wed, 14 Oct 2020 16:24:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BBB741DE74; Wed, 14 Oct 2020 16:24:46 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2083.outbound.protection.outlook.com [40.107.22.83]) by dpdk.org (Postfix) with ESMTP id 738D31DA53 for ; Wed, 14 Oct 2020 16:24:44 +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=7n6oLs2SViLe22Pv9aFVGz4HQqfZhXe90FDVZy08Hhg=; b=gI7/Dw5MSXgmS/bZdbtpj4S3wC7PYmy+Q3n3Dy3n/IvfB+I2pD9rwNv3+okONA9zxmKq+HegQnZ+7Owrj7/3s/5zKEjRCg2Erf2HAYsrmFflKP7p0Mdv1zl2OyaUKRMIBQrZL7zQt8b6QGwSvuy1CyV7Mu7ne0c8fSq4bwfo7rQ= Received: from DB6PR0601CA0013.eurprd06.prod.outlook.com (2603:10a6:4:7b::23) by AM9PR08MB6292.eurprd08.prod.outlook.com (2603:10a6:20b:2d8::21) 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:24:42 +0000 Received: from DB5EUR03FT045.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:7b:cafe::75) by DB6PR0601CA0013.outlook.office365.com (2603:10a6:4:7b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.23 via Frontend Transport; Wed, 14 Oct 2020 14:24:42 +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 DB5EUR03FT045.mail.protection.outlook.com (10.152.21.164) 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:24:42 +0000 Received: ("Tessian outbound ba2270a55485:v64"); Wed, 14 Oct 2020 14:24:42 +0000 X-CR-MTA-TID: 64aa7808 Received: from 63de95a30815.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 706E1565-C21D-41A3-A946-C0BCACDCE9F7.1; Wed, 14 Oct 2020 14:24:37 +0000 Received: from EUR02-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 63de95a30815.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 14 Oct 2020 14:24:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fS7droQ7v01ecYfk5M6sshQKMaVJ+4nWtWShFbpKFKrcH2l8InUwZBqhtKNAWw5UtwlnmOj9SVKmlsz19SfADr1OuuBPiTT2/3mdHhW9VShCsMCokuK7Y+Kvwlr33mvYEgZ/0c5MvauZJOZG07CHHJFlzUlIs+1VNTEkOdaA5NAZiXQHfWfVWupIEQFyc0qpturK/pCTn+C/oxd4/LfcCPAcq9ab5ek6Gut+yzs3uEgPjugHYWDqoh5B7NhD3xs7LVoZsi2syIKbH0iUR+zqPCuUJm5uWg6KQvJwX33TGD5N4e6OAiwb/vx93vlpke0qCtICvtL3qZPH5JUTi2h6uw== 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=7n6oLs2SViLe22Pv9aFVGz4HQqfZhXe90FDVZy08Hhg=; b=CrcBHTIGHljHSKyVVBAiqPlQikrXGQGlTZ5WUQuN2mOoOgReO2ySZGYST7KjtVpBb15WYVEdOzh6oF6Y7MK6Jgrapi83O/Kdt6BwlLI9SeqBIXVzirielF/xGZoOyP4oZSs25ecXGDCDk6ZdnZ/QfNB6rOxNFewXZq3CVlMa+uj7pS6QR0+I51W9T1Ay72GWnH3xiaQCFziJ26ZvGuTqmyIqmcheUEQBdbNzSxkgTBtE+HW1HF4JGyz7mT6hMFJHfS6EdyoXSRFqJ3s7tXpqPwbz8Oa1I6gqhbmSI5JWbKGUFyCgphRU71U4eINaTUYDwC9t++TjrTWltJzE5K53XA== 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=7n6oLs2SViLe22Pv9aFVGz4HQqfZhXe90FDVZy08Hhg=; b=gI7/Dw5MSXgmS/bZdbtpj4S3wC7PYmy+Q3n3Dy3n/IvfB+I2pD9rwNv3+okONA9zxmKq+HegQnZ+7Owrj7/3s/5zKEjRCg2Erf2HAYsrmFflKP7p0Mdv1zl2OyaUKRMIBQrZL7zQt8b6QGwSvuy1CyV7Mu7ne0c8fSq4bwfo7rQ= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DBAPR08MB5717.eurprd08.prod.outlook.com (2603:10a6:10:1ae::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.26; Wed, 14 Oct 2020 14:24:35 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::7814:9c1:781f:475d]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::7814:9c1:781f:475d%4]) with mapi id 15.20.3477.020; Wed, 14 Oct 2020 14:24:35 +0000 From: Honnappa Nagarahalli To: Ruifeng Wang CC: "dev@dpdk.org" , "Akhil.goyal@nxp.com" , nd , Honnappa Nagarahalli , nd Thread-Topic: [PATCH] doc: update build guide for armv8 crypto PMD Thread-Index: AQHWogvdi1ayUj+nCUyZYyCZYt7CLKmXIxBQgAAC5QCAAAEeUA== Date: Wed, 14 Oct 2020 14:24:34 +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: E3260756DA3A2041A21B53DFCCEC8F00.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: [217.140.110.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 888b0c40-ee53-4177-da30-08d8704ce448 x-ms-traffictypediagnostic: DBAPR08MB5717:|AM9PR08MB6292: 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:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: sfr1eSh+FbxZea7I/u3Rc19h/uN0Zm+jY5hvKz4s+MHTOiQCmjpFlPqN3Jf5fV5wBt87H5E+bmw0ZYUJMGap1oNILY620C3rHeWn6fMPhtm3dUi4iftByRQRdAvGxBN1Ylau3bHBXUt1u80tOKBHaDniMv9VJLMwMQ13n9OoAblxq1G6qVlpI2/oBzLU2gWCQ5HWfaZUJyeSKaZ0Dz3mBQ1mGkNKkc2QhesMebS056hXEJ9dDScNBFoXzLodhnnHwLJ/fC6UfUYqLcFHSGBuUo3qaX2a5sS/ful/Fe60dKcQ9FliAECtaYpdVKdxB3r9vOSxVynsl84QGoLaUqfLU0R0zdTXqzVgjnCeP/1tyxTCpgCLAlmNixVkrSb31qFqtg6dLt/KW6dGBuMtOFyOyQ== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(346002)(39860400002)(396003)(366004)(186003)(83080400001)(71200400001)(33656002)(83380400001)(52536014)(7696005)(8676002)(6636002)(2906002)(4326008)(9686003)(66556008)(6506007)(26005)(66476007)(316002)(15650500001)(76116006)(478600001)(66446008)(6862004)(64756008)(8936002)(66946007)(55016002)(86362001)(54906003)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: lsng0OCxNOtEIsLS0cimrXMYIrBQxR+th1IY41RzUbsWwJslrN/8fuKlOJc4D6WVtk9IF2y5IuPuwYqvO8n79AMhl3xhgs/VLkvHDmWpxBK4Ubupn/LerL2YasoaBV1SsqNMrvO8zLT5kpZd6nY59e44Ck7HzZBt3QVEFRyVLdyp9s70ag2tuNoCrRjK2E5DQXAM67bY+0yaZ/WjXyaCwI25acV+VUehjhrHOvlDbNTLgo+D0K5A2Iw9mUOvEqyE2zCz+KyksAK92zR7y/7vwdN7PrvcYknRrrRGtXCxu05IBIuwftEoqBUgDFvepNS6f2VFdAkFDFB9DIakYViohC4fLFBWXlIdaKvDpS0o7ZBhtkV5EYm2AvEhpTCXRIMQP/FprgEnAGPtMA+SbQsJ8mLHIBXp6mxEtmfk3h7Kdnukf7rtN2jk1WY1WuYdYpGAwzh4M/AuUEeiIWvan4Wxae1+jQNq2fA0hUgorEV9pEwh3FdH0pnhLwCn8NEGAA4nfs5YrhnzRyt+Dl1rdMpsiSMFgczlJw6rQDeEmjKBPnEmuu9/yqSP52cOzwss8HyzSrBAmDtfA4HQEr7rZb7NwUwkHDHf01nwXaM6l5Ih0Auoiuz17qRN6Y5F2hjdumyqjVvU+MpOsPWcZDIpQvFk4Q== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5717 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: DB5EUR03FT045.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 82bc413b-f997-4f5f-db55-08d8704ce004 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D+aB9chjbXrNMCv5Z2l7WXXMO6cKbJcKdApbwQHEQug+Ol+Gvke7A1HK0g/AoLLmIqVfDq2Lf7EFUbm4IksKZfjfnkt4aaGe0PfJnVeSpPDMZCowYRU3WYp8Dq2TJ2dCwpXnsXLRxom+gt5L7SJd1CAxPWGEZqhdiC+1wAn4ctl59h/upKlfY1a0yzCYpvUOz72fY5cjcbXphRgvPS1SxuHkwErD7dgyYHKTiv+XfCHNoJ3PFfur5v02XcqL+S78tda7fx2b40TE2WuWdxE+znuWSjilqyAPUHurv8Djt+mGjUH/Y9tBdLQewmck84qMWUwdG4TE78ySxlHii/Dc8fCEk3/pi5B6oV9zPE8neSjifHEWJBfWt8H69XydEy86QsVIbhkMAPh4rGIDF/Zj8qlMkro2rCDslhnKtDkNFpwUbRGOl99HjO5hhToREPUTEk420UeHzpl0zFUJPI4p+M4bO3aDZUDd156+0xZ3+Qw= 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)(346002)(376002)(396003)(136003)(39860400002)(46966005)(15650500001)(478600001)(70206006)(2906002)(7696005)(26005)(86362001)(52536014)(82310400003)(70586007)(356005)(55016002)(83080400001)(4326008)(83380400001)(6862004)(336012)(186003)(33656002)(82740400003)(47076004)(9686003)(6506007)(54906003)(316002)(8676002)(8936002)(6636002)(81166007)(5660300002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2020 14:24:42.2660 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 888b0c40-ee53-4177-da30-08d8704ce448 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: DB5EUR03FT045.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6292 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" > > > > > > > > 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. > It will build a PMD when dependency is met. And armv8 crypto PMD > depends on armv8_crypto_dir which points to AArch64cryptolib. Ok, got it. I do not see any code using this flag as well. >=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