> -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Wednesday, July 19, 2017 5:59 AM > To: Trahe, Fiona <fiona.tr...@intel.com>; Jain, Deepak K > <deepak.k.j...@intel.com>; Griffin, John > <john.grif...@intel.com> > Cc: dev@dpdk.org; De Lara Guarch, Pablo <pablo.de.lara.gua...@intel.com> > Subject: [PATCH] crypto/qat: fix session initialization > > When creating a session, if there is a failure when > setting some of the parameters, QAT was not propagating > the error to the session initialization function. > Therefore, it was reporting a success, when it should > be report a failure. > > Fixes: b3bbd9e5f265 ("cryptodev: support device independent sessions") > > Signed-off-by: Pablo de Lara <pablo.de.lara.gua...@intel.com> In the 3 fn prototypes in qat_crypto.h it would be nice to remove the _private from struct qat_session *session_private. Apart from that it's fine.
Acked-by: Fiona Trahe <iona.tr...@intel.com>