[dpdk-dev] [PATCH v4] cryptodev: add capabilities discovery mechanism

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Mar 11 10:35:14 CET 2016


2016-03-11 01:36, Pablo de Lara:
> From: Declan Doherty <declan.doherty at intel.com>
> 
> 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 <declan.doherty at intel.com>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> Acked-by: Fiona Trahe <fiona.trahe at intel.com>

Applied, thanks



More information about the dev mailing list