X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fcryptodevs%2Farmv8.rst;h=8963f66a206c795da856af1dc17b5e5863d9a3a3;hb=735155ee3b7c126b14ac28c5667d5a2d811ddf4c;hp=1ab40096e34956b9d2f8531851621573170735be;hpb=29d11460503617b7bc42b07577003130ed7b59a8;p=dpdk.git diff --git a/doc/guides/cryptodevs/armv8.rst b/doc/guides/cryptodevs/armv8.rst index 1ab40096e3..8963f66a20 100644 --- a/doc/guides/cryptodevs/armv8.rst +++ b/doc/guides/cryptodevs/armv8.rst @@ -26,23 +26,29 @@ 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 ARMv8 crypto library source code from - `here `_ +* Download AArch64 crypto library source code from + `here `_. -* Export the environmental variable ARMV8_CRYPTO_LIB_PATH with - the path where the ``armv8_crypto`` library was downloaded - or cloned. +* Build the ``AArch64cryptolib`` library: -* Build the library by invoking: +.. code-block:: console + + make + +* Add path to `libAArch64crypto.pc` in `PKG_CONFIG_PATH` environment variable: .. code-block:: console - make -C $ARMV8_CRYPTO_LIB_PATH/ + export PKG_CONFIG_PATH=/pkgconfig/:$PKG_CONFIG_PATH -* Set CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=y in - config/defconfig_arm64-armv8a-linux-gcc +* Build DPDK: + +.. code-block:: console + + meson build + ninja -C build The corresponding device can be created only if the following features are supported by the CPU: @@ -55,6 +61,8 @@ 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.