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

2017-07-27 Thread De Lara Guarch, Pablo
> -Original Message- > From: Trahe, Fiona > Sent: Thursday, July 27, 2017 11:12 AM > To: De Lara Guarch, Pablo ; > zbigniew.bo...@caviumnetworks.com; jerin.ja...@caviumnetworks.com; > akhil.go...@nxp.com; hemant.agra...@nxp.com; Jain, Deepak K > ; Griffin, John ; Doherty, > Declan > Cc:

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

2017-07-27 Thread Trahe, Fiona
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Tuesday, July 25, 2017 7:17 AM > To: zbigniew.bo...@caviumnetworks.com; jerin.ja...@caviumnetworks.com; > akhil.go...@nxp.com; > hemant.agra...@nxp.com; Trahe, Fiona ; Jain, Deepak K > ; Griffin, John ; Doherty, > Declan > > Cc

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

2017-07-25 Thread Pablo de Lara
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 Ac