[dpdk-dev] [PATCH v5 2/2] cryptodev: version cryptodev info get function

Trahe, Fiona fiona.trahe at intel.com
Thu May 7 20:12:07 CEST 2020



> -----Original Message-----
> From: Kusztal, ArkadiuszX <arkadiuszx.kusztal at intel.com>
> Sent: Thursday, May 7, 2020 11:57 AM
> To: dev at dpdk.org
> Cc: Trahe, Fiona <fiona.trahe at intel.com>; Kinsella, Ray <ray.kinsella at intel.com>;
> akhil.goyal at nxp.com; Richardson, Bruce <bruce.richardson at intel.com>; Kusztal, ArkadiuszX
> <arkadiuszx.kusztal at intel.com>
> Subject: [PATCH v5 2/2] cryptodev: version cryptodev info get function
> 
> This patch adds versioned function rte_cryptodev_info_get()
> to prevent some issues with ABI policy.
> Node v21 works in same way as before, returning driver capabilities
> directly to the API caller. These capabilities may include new elements
> not part of the v20 ABI.
> Node v20 function maintains compatibility with v20 ABI releases
> by stripping out elements not supported in v20 ABI. Because
> rte_cryptodev_info_get is called by other API functions,
> rte_cryptodev_sym_capability_get function is versioned the same way.
> 
> Signed-off-by: Arek Kusztal <arkadiuszx.kusztal at intel.com>
Acked-by: Fiona Trahe <fiona.trahe at intel.com>


More information about the dev mailing list