From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7FB9042659; Thu, 28 Sep 2023 06:13:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 038F0402AC; Thu, 28 Sep 2023 06:13:22 +0200 (CEST) Received: from mail-vs1-f52.google.com (mail-vs1-f52.google.com [209.85.217.52]) by mails.dpdk.org (Postfix) with ESMTP id 25AA440277; Thu, 28 Sep 2023 06:13:21 +0200 (CEST) Received: by mail-vs1-f52.google.com with SMTP id ada2fe7eead31-452749f6c47so5541080137.1; Wed, 27 Sep 2023 21:13:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695874400; x=1696479200; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tarH31d0KTBp/Q4kp/6oq5Bxp+Uoc6dlw/1nZQusYjk=; b=CbqD0y1xTAYSGxbvlH4heOFPBrhE3XBZrzasg0ykMY2a3z0HOLVgDw8D31QsriABr8 Qolx44xCApI/A1L75l/5jmvySeqi3lbNWTHHYS48NJ6Ky9joQn+3XUj2EFTPBBFMmVhY ZSaToGS9GMtT3hSjIWW2dgE7Wzc+uXZy4T+4khv2j6Yt1kspsy3et43iNicAW6Slz6sk nJacnmYfFttLRhvXZHVJ5X6+f3+yX1fdHljnTy792I4WY5buClzXKI7svQuLM0M0Afnx bd4gKk0H02Dz0oJR5rZ/rXRVE8kYNu2qF0+5QB7kgDR11GG8S5ZC4U4V4+2ljZVCSiCX V87Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695874400; x=1696479200; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tarH31d0KTBp/Q4kp/6oq5Bxp+Uoc6dlw/1nZQusYjk=; b=fQPzDnum7T1XRxCegSsSvkBFr9CllmyIdwCG4Vb3NFkVZy2Ln/ZCfaggPeefi+h/KZ d4Uosm0xJATr8esUa6uZrO1PX2E0cvk6D7w0L9FMwO2FZRFfOQptG4pdREkowJqdFeuN iys9kJUig/NDkqN1yI1ccFPULBzJsIu/RF/nVVgpCIWuavidSNBsyFbZ6/CnRqQaFLhu dTF2yLDJ7h86/RwFmYRmV6I8DM2EiPgJzyGnS1tBSkVQbpuidLGP+yvg+g+sq596O57F Syzol0n3D+EqYs66Kiec09Isiy3KmbjDyiATttyyzFT7fvP1IIGCoYL7fHzas2Nnio9N zzgA== X-Gm-Message-State: AOJu0YxAfKg5syQB0hMwPBx+qEqCuC4DBAeyCwbkzpv4NGUQbvnREtdE PGCOXqV/1VRxmwFWly8gH5M+ha+amaXQBpoQUlg= X-Google-Smtp-Source: AGHT+IH53+1jalwuCN/iWkzy2I6VkyuDQ0bPV5uud1RzCX5scx0M3xPb0ZDh1y2jTtP1njHjIcP/MF0PhJKv2Ur3Yic= X-Received: by 2002:a05:6102:d4:b0:44e:9a71:279e with SMTP id u20-20020a05610200d400b0044e9a71279emr91614vsp.31.1695874400320; Wed, 27 Sep 2023 21:13:20 -0700 (PDT) MIME-Version: 1.0 References: <20230830155927.3566-1-syalavarthi@marvell.com> <20230927183052.17347-1-syalavarthi@marvell.com> <20230927183052.17347-35-syalavarthi@marvell.com> In-Reply-To: <20230927183052.17347-35-syalavarthi@marvell.com> From: Jerin Jacob Date: Thu, 28 Sep 2023 09:42:54 +0530 Message-ID: Subject: Re: [PATCH v3 34/35] ml/cnxk: update dependency info in driver docs To: Srikanth Yalavarthi Cc: dev@dpdk.org, sshankarnara@marvell.com, aprabhu@marvell.com, ptakkar@marvell.com, techboard@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Sep 28, 2023 at 6:41=E2=80=AFAM Srikanth Yalavarthi wrote: > > Added information related to external library dependencies > for ml/cnxk driver. > > Signed-off-by: Srikanth Yalavarthi > --- > 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 app= lication. > > > +Compilation Prerequisites > +------------------------- > + > +This driver requires external libraries to optionally enable support for > +models compiled using Apache TVM framework. The following dependencies a= re > +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 TV= M > + runtime and DPDK drivers. TVMDP library provides a simplified C interf= ace > + 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.