[dpdk-dev] [PATCH v2] cryptodev: fix session init return value

Trahe, Fiona fiona.trahe at intel.com
Thu Jul 27 12:12:01 CEST 2017



> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Tuesday, July 25, 2017 7:17 AM
> To: zbigniew.bodek at caviumnetworks.com; jerin.jacob at caviumnetworks.com; akhil.goyal at nxp.com;
> hemant.agrawal at nxp.com; Trahe, Fiona <fiona.trahe at intel.com>; Jain, Deepak K
> <deepak.k.jain at intel.com>; Griffin, John <john.griffin 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: fix session init return value
> 
> When calling rte_cryptodev_sym_session_init(),
> if there was an error, it returned -1, instead
> of returning the specific error code, which can
> be valuable for the application for error handling.
> 
> Fixes: b3bbd9e5f265 ("cryptodev: support device independent sessions")
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> Acked-by: Akhil Goyal <akhil.goyal at nxp.com>
Acked-by: Fiona Trahe <fiona.trahe at intel.com>


More information about the dev mailing list