From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4] cryptodev: add capabilities discovery mechanism Date: Fri, 11 Mar 2016 10:35:14 +0100 Message-ID: <2745597.YgJ68IgvFl@xps13> References: <1457639676-16653-1-git-send-email-pablo.de.lara.guarch@intel.com> <1457660214-172168-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Pablo de Lara Return-path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id A90F02BEA for ; Fri, 11 Mar 2016 10:36:57 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id n186so10251115wmn.1 for ; Fri, 11 Mar 2016 01:36:57 -0800 (PST) In-Reply-To: <1457660214-172168-1-git-send-email-pablo.de.lara.guarch@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-03-11 01:36, Pablo de Lara: > From: Declan Doherty > > 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 operations and algorithms > it supports. > > The parameter feature_flags added to rte_cryptodev struct is used to capture > features such as operations supported (symmetric crypto, operation chaining etc) > as well parameter such as whether the device is hardware accelerated or uses > SIMD instructions. > > The capabilities parameter allows a PMD to define an array of supported operations > with any limitation which that implementation may have. > > Finally the rte_cryptodev_info struct has been extended to allow retrieval of > these parameter using the existing rte_cryptodev_info_get() API. > > Signed-off-by: Declan Doherty > Signed-off-by: Pablo de Lara > Acked-by: Fiona Trahe Applied, thanks