[PATCH v3 34/35] ml/cnxk: update dependency info in driver docs

Jerin Jacob jerinjacobk at gmail.com
Thu Sep 28 06:12:54 CEST 2023


On Thu, Sep 28, 2023 at 6:41 AM Srikanth Yalavarthi
<syalavarthi at marvell.com> wrote:
>
> Added information related to external library dependencies
> for ml/cnxk driver.
>
> Signed-off-by: Srikanth Yalavarthi <syalavarthi at marvell.com>
> ---
>  doc/guides/mldevs/cnxk.rst | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/doc/guides/mldevs/cnxk.rst b/doc/guides/mldevs/cnxk.rst
> index 197e1ed06f..afadc834e0 100644
> --- a/doc/guides/mldevs/cnxk.rst
> +++ b/doc/guides/mldevs/cnxk.rst
> @@ -47,6 +47,34 @@ or cross-compiled on an x86 platform.
>  Refer to :doc:`../platform/cnxk` for instructions to build your DPDK application.
>
>
> +Compilation Prerequisites
> +-------------------------
> +
> +This driver requires external libraries to optionally enable support for
> +models compiled using Apache TVM framework. The following dependencies are
> +not part of DPDK and must be installed separately:
> +
> +- **Jansson**
> +
> +  This library enables support to parse and read JSON files.
> +
> +- **libarchive**
> +
> +  Apached TVM framework generates compiled models as tar archives. This
> +  library enables support to decompress and read archive files in tar,
> +  xz and other formats.
> +
> +- **TVM**
> +
> +  Apache TVM provides a runtime library (libtvm_runtime) used to execute
> +  models on CPU cores or hardware accelerators.
> +
> +- **TVMDP**
> +
> +  Marvell's TVM dataplane library which works as an interface between TVM
> +  runtime and DPDK drivers. TVMDP library provides a simplified C interface
> +  for TVM's runtime based on C++.

It seems that it depends on a proprietary library. Please fix the
following for merging this series.

According to what was discussed in the Technical Board:
http://mails.dpdk.org/archives/dev/2019-June/135847.html
the dependency must be "freely available" to build it either source or
binary form. (Prefer in source form)

Also, Squash all doc updates to relevant patches.


More information about the dev mailing list