X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fcryptodevs%2Farmv8.rst;h=8963f66a206c795da856af1dc17b5e5863d9a3a3;hb=f16662885472d33570b564e62427199d733be363;hp=d30ef6168ef5120a48df2e7b42d11ba77f81a195;hpb=fd5f9fb95ff5fb2543ad1cd8b4206f531d443347;p=dpdk.git diff --git a/doc/guides/cryptodevs/armv8.rst b/doc/guides/cryptodevs/armv8.rst index d30ef6168e..8963f66a20 100644 --- a/doc/guides/cryptodevs/armv8.rst +++ b/doc/guides/cryptodevs/armv8.rst @@ -26,19 +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 AArch64 crypto library source code from - `here `_ + `here `_. -* Export the environmental variable ARMV8_CRYPTO_LIB_PATH with - the path to ``AArch64cryptolib`` library. +* 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 + + export PKG_CONFIG_PATH=/pkgconfig/:$PKG_CONFIG_PATH + +* Build DPDK: .. code-block:: console - make -C $ARMV8_CRYPTO_LIB_PATH/ + meson build + ninja -C build The corresponding device can be created only if the following features are supported by the CPU: @@ -51,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.