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 9858DA04B7; Wed, 14 Oct 2020 11:24:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1E6161DD86; Wed, 14 Oct 2020 11:24:40 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 788081DB2B for ; Wed, 14 Oct 2020 11:24:38 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CF83D30E; Wed, 14 Oct 2020 02:24:36 -0700 (PDT) Received: from net-arm-thunderx2-02.shanghai.arm.com (net-arm-thunderx2-02.shanghai.arm.com [10.169.210.116]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 0351F3F73C; Wed, 14 Oct 2020 02:24:34 -0700 (PDT) From: Ruifeng Wang To: Ruifeng Wang Cc: dev@dpdk.org, akhil.goyal@nxp.com, honnappa.nagarahalli@arm.com, nd@arm.com Date: Wed, 14 Oct 2020 17:24:14 +0800 Message-Id: <20201014092414.9532-1-ruifeng.wang@arm.com> X-Mailer: git-send-email 2.17.1 Subject: [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=``: + +.. code-block:: console -* Set CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=y in - config/defconfig_arm64-armv8a-linux-gcc + meson -Darmv8_crypto_dir= 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