<snip>
> >
> > >
> > > Removed references to Makefile and added guide about building by
> > > using meson.
> > >
> > > Also added the command to create virtual device.
> > >
> > > Suggested-by: Akhil Goyal <akhil.go...@nxp.com>
> > > Signed-off-by: Ruifeng Wang <ruifeng.w...@arm.com>
> > > ---
> > >  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 <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 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=<path_to_AArch64cryptolib>``:
> > > +
> > > +.. code-block:: console
> > >
> > > -* Set CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=y 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.

> 
> >
> > > -  config/defconfig_arm64-armv8a-linux-gcc
> > > + meson -Darmv8_crypto_dir=<path_to_AArch64cryptolib> 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

Reply via email to