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

Srikanth Yalavarthi syalavarthi at marvell.com
Wed Sep 27 20:30:47 CEST 2023


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++.
+
 Initialization
 --------------
 
-- 
2.41.0



More information about the dev mailing list