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 <https://github.com/ARM-software/AArch64cryptolib>`_
+ `here <https://github.com/ARM-software/AArch64cryptolib>`_.
-* 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=<path_to_AArch64cryptolib>/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:
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.