From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jun 2018 09:11:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,243,1526367600"; d="scan'208";a="51152457" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by orsmga006.jf.intel.com with ESMTP; 19 Jun 2018 09:11:35 -0700 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX101.ger.corp.intel.com (163.33.3.153) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 19 Jun 2018 17:10:45 +0100 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.139]) by irsmsx112.ger.corp.intel.com ([169.254.1.22]) with mapi id 14.03.0319.002; Tue, 19 Jun 2018 17:10:45 +0100 From: "De Lara Guarch, Pablo" To: Anoob Joseph , Akhil Goyal , Thomas Monjalon CC: Ragothaman Jayaraman , Ankur Dwivedi , Jerin Jacob , Murthy NSSR , Narayana Prasad , Nithin Dabilpuram , Srisivasubramanian Srinivasan , "dev@dpdk.org" Thread-Topic: [PATCH 15/16] doc: add Cavium's CPT guide Thread-Index: AQHT/0i2QeQS88IxtUiu1Uv9dn2AraRnz/xA 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> In-Reply-To: <1528476325-15585-16-git-send-email-anoob.joseph@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWY0ZWI5NzUtNWQyZi00ZDk2LWI2YmQtMWFiZTI0NWQ0NzVmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTXFSQWN4SDl1eEZTNVIxUGZPQllnV3NDOHdLSE8zSW5cL1hPejgwQlwvVXU2YmxNRmpwM0YwNVFXOWxQWlZSTlpvIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 15/16] doc: add Cavium's CPT guide X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2018 16:11:40 -0000 > -----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?