From mboxrd@z Thu Jan 1 00:00:00 1970 From: "De Lara Guarch, Pablo" Subject: Re: [PATCH 15/16] doc: add Cavium's CPT guide Date: Tue, 19 Jun 2018 16:10:44 +0000 Message-ID: References: <1528476325-15585-1-git-send-email-anoob.joseph@caviumnetworks.com> <1528476325-15585-16-git-send-email-anoob.joseph@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: Ragothaman Jayaraman , Ankur Dwivedi , Jerin Jacob , Murthy NSSR , Narayana Prasad , Nithin Dabilpuram , Srisivasubramanian Srinivasan , "dev@dpdk.org" To: Anoob Joseph , Akhil Goyal , Thomas Monjalon Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 81EB64C8B for ; Tue, 19 Jun 2018 18:11:39 +0200 (CEST) In-Reply-To: <1528476325-15585-16-git-send-email-anoob.joseph@caviumnetworks.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Anoob Joseph [mailto:anoob.joseph@caviumnetworks.com] > Sent: Friday, June 8, 2018 5:45 PM > To: Akhil Goyal ; De Lara Guarch, Pablo > ; Thomas Monjalon > Cc: Ragothaman Jayaraman ; Ankur > Dwivedi ; Jerin Jacob > ; Murthy NSSR > ; Narayana Prasad > ; Nithin Dabilpuram > ; Srisivasubramanian Srinivasan > ; dev@dpdk.org > Subject: [PATCH 15/16] doc: add Cavium's CPT guide >=20 > From: Ragothaman Jayaraman >=20 > The guide contains information about packages needed to compile the CPT > PMD. It also contains the compilation steps and how to execute an example= s > application. You need to add the guide in index.rst. Also, you should add cpt.ini under doc/guides/cryptodevs/features/. >=20 > Signed-off-by: Ankur Dwivedi > Signed-off-by: Murthy NSSR > Signed-off-by: Nithin Dabilpuram > Signed-off-by: Ragothaman Jayaraman > > Signed-off-by: Srisivasubramanian Srinivasan > > --- > doc/guides/cryptodevs/cpt.rst | 112 > ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 112 insertions(+) > create mode 100644 doc/guides/cryptodevs/cpt.rst >=20 > diff --git a/doc/guides/cryptodevs/cpt.rst b/doc/guides/cryptodevs/cpt.rs= t new > file mode 100644 index 0000000..262ce9e > --- /dev/null > +++ b/doc/guides/cryptodevs/cpt.rst > @@ -0,0 +1,112 @@ > +.. SPDX-License-Identifier: BSD-3-Clause > + Copyright(c) 2017 Cavium, Inc > + > +***************************** > +Cavium's CPT Poll Mode Driver > +****************************** Please, use the standard title underlines used in other guides ("=3D" for title, "-" for section, "~" for subsection). > + > +The CPT poll mode driver provides support for offloading cryptographic > +operations on the Cavium's cryptographic accelerator unit(CPT) > +coprocessor hardware. This coprocessor is present on the Cavium's thunde= r > boards(CN8xxx). ... > +Compilation > +############ > + > +The thunder board must be running the linux kernel based on sdk-6.2.0 pa= tch 2. > +In this the cpt pf driver is already built in. Also install the openssl > +package, because the cpt driver depends on the crypto library. Is this true? I could compile this without openssl. > + > +For compiling the cpt poll mode driver, the CONFIG_RTE_LIBRTE_PMD_CPT > +setting should be made as `y` in config/common_base file. By default it = is set to > `n`. > + ... > +Then the corresponding vf should be binded to the vfio-pci driver using > +the > +following: > + > +.. code-block:: console > + > + cd > + ./usertools/dpdk-devbind.py -u > + ./usertools/dpdk-devbind.py -bvfio-pci Space between -b and vfio-pci?