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 65BA537A2 for ; Thu, 10 Mar 2016 22:28:01 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 10 Mar 2016 13:28:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,317,1455004800"; d="scan'208";a="907363596" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga001.jf.intel.com with ESMTP; 10 Mar 2016 13:27:59 -0800 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.157]) by IRSMSX109.ger.corp.intel.com ([169.254.13.174]) with mapi id 14.03.0248.002; Thu, 10 Mar 2016 21:27:58 +0000 From: "Trahe, Fiona" To: "De Lara Guarch, Pablo" , "dev@dpdk.org" Thread-Topic: [PATCH v3] cryptodev: add capabilities discovery mechanism Thread-Index: AQHRewZefJ+BmAS2qkW/Ujn/TPHVPZ9TMJlA Date: Thu, 10 Mar 2016 21:27:58 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B43588F9C602@IRSMSX101.ger.corp.intel.com> References: <1457629646-17224-1-git-send-email-pablo.de.lara.guarch@intel.com> <1457639676-16653-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1457639676-16653-1-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2Y5MmJlN2UtNGUxZC00MGFmLWJkODctYjFjYTc1NjcxMmEwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImR1bVFrcDkzM3BQU1dhQzZ1WDhvQVlPc0xRTXZOQ000YkQ1Z1wvQWcxb1pFPSJ9 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 v3] cryptodev: add capabilities discovery mechanism X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2016 21:28:01 -0000 > -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Thursday, March 10, 2016 7:55 PM > To: dev@dpdk.org > Cc: Doherty, Declan; Trahe, Fiona; De Lara Guarch, Pablo > Subject: [PATCH v3] cryptodev: add capabilities discovery mechanism >=20 > From: Declan Doherty >=20 > This patch add a mechanism for discovery of crypto device features and > supported crypto operations and algorithms. It also provides a method for= a > crypto PMD to publish any data range limitations it may have for the oper= ations > and algorithms it supports. >=20 > The parameter feature_flags added to rte_cryptodev struct is used to capt= ure > features such as operations supported (symmetric crypto, operation chaini= ng > etc) as well parameter such as whether the device is hardware accelerated= or > uses SIMD instructions. >=20 > The capabilities parameter allows a PMD to define an array of supported > operations with any limitation which that implementation may have. >=20 > Finally the rte_cryptodev_info struct has been extended to allow retrieva= l of > these parameter using the existing rte_cryptodev_info_get() API. >=20 > Signed-off-by: Declan Doherty > Signed-off-by: Pablo de Lara > --- >=20 > This patch depends on "null_crypto_pmd: PMD to support null crypto > operations" patch > (http://dpdk.org/dev/patchwork/patch/11428/) > and "snow3g: Bit-wise handling for Wireless Algorithm" patch > (http://dpdk.org/dev/patchwork/patch/11429/) >=20 > Changes in v3: >=20 > - Renamed macro to specify symmetric algo chaining >=20 > Changes in v2: >=20 > - Fixed incorrect values for sizes > - Renamed some fields in capabilities structure > - Added capabilities for new PMDs >=20 Acked-by: Fiona Trahe