From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 72A022C58 for ; Wed, 21 Dec 2016 13:39:51 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP; 21 Dec 2016 04:39:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,383,1477983600"; d="scan'208";a="21166577" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by orsmga002.jf.intel.com with ESMTP; 21 Dec 2016 04:39:49 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.173]) by IRSMSX101.ger.corp.intel.com ([163.33.3.153]) with mapi id 14.03.0248.002; Wed, 21 Dec 2016 12:39:48 +0000 From: "De Lara Guarch, Pablo" To: Akhil Goyal , "dev@dpdk.org" CC: "thomas.monjalon@6wind.com" , "eclan.doherty@intel.com" , "hemant.agrawal@nxp.com" Thread-Topic: [PATCH 6/8] crypto/dpaa2_sec: add sec procssing functionality Thread-Index: AQHSTslULBkr2ZR8oUiAAgNhdQu786ESbsnA Date: Wed, 21 Dec 2016 12:39:47 +0000 Message-ID: References: <20161205125540.6419-1-akhil.goyal@nxp.com> <20161205125540.6419-7-akhil.goyal@nxp.com> In-Reply-To: <20161205125540.6419-7-akhil.goyal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzQzNDBjODMtOTQ0My00MTlkLTljODEtZTFlZTkxNWMwMjA0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlpxTUFmYTJyeHJJVlZZcG8xOW5mYjN5b2Z1MjRrZ3g2QU9teGlobzY5enc9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 6/8] crypto/dpaa2_sec: add sec procssing functionality 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: Wed, 21 Dec 2016 12:39:51 -0000 > -----Original Message----- > From: Akhil Goyal [mailto:akhil.goyal@nxp.com] > Sent: Monday, December 05, 2016 12:56 PM > To: dev@dpdk.org > Cc: thomas.monjalon@6wind.com; eclan.doherty@intel.com; De Lara > Guarch, Pablo; hemant.agrawal@nxp.com; Akhil Goyal > Subject: [PATCH 6/8] crypto/dpaa2_sec: add sec procssing functionality >=20 > Signed-off-by: Akhil Goyal > Reviewed-by: Hemant Agrawal > --- > config/defconfig_arm64-dpaa2-linuxapp-gcc | 6 + > drivers/crypto/dpaa2_sec/Makefile | 1 - > drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1337 > +++++++++++++++++++++++++++ > drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 516 +++++++++++ > drivers/net/dpaa2/base/dpaa2_hw_pvt.h | 25 + For the whole patch, there are some checkpatch errors that you should fix f= or the v2: http://dpdk.org/ml/archives/test-report/2016-December/005244.html Make sure that you fix also the other patches. Also, a comment below about the capabilities structure. Thanks, Pablo > diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h > b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h > new file mode 100644 > index 0000000..01fae77 > --- /dev/null > +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h > @@ -0,0 +1,516 @@ ... As far as I could see, this PMD supports AES-CBC, 3DES-CBC and SHA1 and SHA= 2 with HMAC algorithms, but you are including here more algorithms that this PMD looks like does no= t support (such as AES XCBC, GCM, etc...) > + { /* AES XCBC MAC */ > + .op =3D RTE_CRYPTO_OP_TYPE_SYMMETRIC, > + {.sym =3D { > + .xform_type =3D RTE_CRYPTO_SYM_XFORM_AUTH, > + {.auth =3D { > + .algo =3D > RTE_CRYPTO_AUTH_AES_XCBC_MAC, > + .block_size =3D 16, > + .key_size =3D { > + .min =3D 16, > + .max =3D 16, > + .increment =3D 0 > + }, > + .digest_size =3D { > + .min =3D 16, > + .max =3D 16, > + .increment =3D 0 > + }, > + .aad_size =3D { 0 } > + }, } > + }, } > + },