[dpdk-dev] [PATCH v2] cryptodev: extend feature flags description

Varghese, Vipin vipin.varghese at intel.com
Mon May 21 12:13:47 CEST 2018


Acked-by: Vipin Varghese <vipin.varghese at intel.com>

> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Friday, May 18, 2018 10:10 PM
> To: Varghese, Vipin <vipin.varghese at intel.com>; Doherty, Declan
> <declan.doherty at intel.com>
> Cc: dev at dpdk.org; De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> Subject: [PATCH v2] cryptodev: extend feature flags description
> 
> Extend the description of cryptodev feature flags, adding extra information.
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> ---
> 
> Changes in v2:
> - Rephrased the comment as per Vipin's comments
> - Added comment in cryptodev structure
> 
>  lib/librte_cryptodev/rte_cryptodev.h | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/librte_cryptodev/rte_cryptodev.h
> b/lib/librte_cryptodev/rte_cryptodev.h
> index 261a359dc..2fb65638d 100644
> --- a/lib/librte_cryptodev/rte_cryptodev.h
> +++ b/lib/librte_cryptodev/rte_cryptodev.h
> @@ -373,7 +373,8 @@ struct rte_cryptodev_info {
>  	uint8_t driver_id;			/**< Driver identifier */
>  	struct rte_pci_device *pci_dev;		/**< PCI information. */
> 
> -	uint64_t feature_flags;			/**< Feature flags */
> +	uint64_t feature_flags;
> +	/**< Feature flags exposes HW/SW features for the given device */
> 
>  	const struct rte_cryptodev_capabilities *capabilities;
>  	/**< Array of devices supported capabilities */ @@ -749,7 +750,7 @@
> struct rte_cryptodev {
>  	struct rte_cryptodev_ops *dev_ops;
>  	/**< Functions exported by PMD */
>  	uint64_t feature_flags;
> -	/**< Supported features */
> +	/**< Feature flags exposes HW/SW features for the given device */
>  	struct rte_device *device;
>  	/**< Backing device */
> 
> --
> 2.17.0



More information about the dev mailing list