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

2017-07-25 Thread Trahe, Fiona
Hi Pablo, > -Original Message- > From: De Lara Guarch, Pablo > Sent: Monday, July 24, 2017 9:54 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 > Cc: dev@dpdk.org;

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

2017-07-25 Thread Akhil Goyal
On 7/24/2017 2:24 PM, Pablo de Lara wrote: When calling rte_cryptodev_sym_session_init(), if there was an error, it returned -1, regardless the error. Instead, it should return the specific error code, which can be valuable for the application for error handling. Fixes: b3bbd9e5f265 ("cryptodev:

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

2017-07-24 Thread Pablo de Lara
When calling rte_cryptodev_sym_session_init(), if there was an error, it returned -1, regardless the error. Instead, it should return the specific error code, which can be valuable for the application for error handling. Fixes: b3bbd9e5f265 ("cryptodev: support device independent sessions") Signe