From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 60A3490F8 for ; Thu, 27 Jul 2017 17:26:33 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP; 27 Jul 2017 08:26:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,419,1496127600"; d="scan'208";a="1177036532" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by fmsmga001.fm.intel.com with ESMTP; 27 Jul 2017 08:26:19 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by irsmsx110.ger.corp.intel.com (163.33.3.25) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 27 Jul 2017 16:26:16 +0100 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.133]) by irsmsx155.ger.corp.intel.com ([169.254.14.182]) with mapi id 14.03.0319.002; Thu, 27 Jul 2017 16:26:16 +0100 From: "De Lara Guarch, Pablo" To: "Trahe, Fiona" , "zbigniew.bodek@caviumnetworks.com" , "jerin.jacob@caviumnetworks.com" , "akhil.goyal@nxp.com" , "hemant.agrawal@nxp.com" , "Jain, Deepak K" , "Griffin, John" , "Doherty, Declan" CC: "dev@dpdk.org" Thread-Topic: [PATCH v2] cryptodev: fix session init return value Thread-Index: AQHTBVCk9ZStWCZoIUuqyulbfIB2BqJnZi6AgABoexA= Date: Thu, 27 Jul 2017 15:26:16 +0000 Message-ID: References: <20170724085428.51995-1-pablo.de.lara.guarch@intel.com> <20170725061650.44918-1-pablo.de.lara.guarch@intel.com> <348A99DA5F5B7549AA880327E580B4358923D06D@IRSMSX101.ger.corp.intel.com> In-Reply-To: <348A99DA5F5B7549AA880327E580B4358923D06D@IRSMSX101.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] cryptodev: fix session init return value X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2017 15:26:33 -0000 > -----Original Message----- > From: Trahe, Fiona > Sent: Thursday, July 27, 2017 11:12 AM > To: De Lara Guarch, Pablo ; > zbigniew.bodek@caviumnetworks.com; jerin.jacob@caviumnetworks.com; > akhil.goyal@nxp.com; hemant.agrawal@nxp.com; Jain, Deepak K > ; Griffin, John ; Dohert= y, > Declan > Cc: dev@dpdk.org > Subject: RE: [PATCH v2] cryptodev: fix session init return value >=20 >=20 >=20 > > -----Original Message----- > > From: De Lara Guarch, Pablo > > Sent: Tuesday, July 25, 2017 7:17 AM > > To: zbigniew.bodek@caviumnetworks.com; > jerin.jacob@caviumnetworks.com; > > akhil.goyal@nxp.com; hemant.agrawal@nxp.com; Trahe, Fiona > > ; Jain, Deepak K ; > > Griffin, John ; Doherty, Declan > > > > Cc: dev@dpdk.org; De Lara Guarch, Pablo > > > > 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 > > Acked-by: Akhil Goyal > Acked-by: Fiona Trahe Applied to dpdk-next-crypto. Pablo