[dpdk-dev] [PATCH] crypto/qat: fix handle device-agnostic session

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Tue Jul 18 12:11:24 CEST 2017



> -----Original Message-----
> From: Trahe, Fiona
> Sent: Tuesday, July 18, 2017 9:22 AM
> To: Kusztal, ArkadiuszX <arkadiuszx.kusztal at intel.com>; dev at dpdk.org
> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>; Griffin, John
> <john.griffin at intel.com>; Jain, Deepak K <deepak.k.jain at intel.com>
> Subject: RE: [PATCH] crypto/qat: fix handle device-agnostic session
> 
> 
> 
> > -----Original Message-----
> > From: Kusztal, ArkadiuszX
> > Sent: Monday, July 17, 2017 5:57 PM
> > To: dev at dpdk.org
> > Cc: Trahe, Fiona <fiona.trahe at intel.com>; De Lara Guarch, Pablo
> > <pablo.de.lara.guarch at intel.com>; Griffin, John
> > <john.griffin at intel.com>; Jain, Deepak K <deepak.k.jain at intel.com>;
> > Kusztal, ArkadiuszX <arkadiuszx.kusztal at intel.com>
> > Subject: [PATCH] crypto/qat: fix handle device-agnostic session
> >
> > Older generations of QuickAssist hardware may not support all
> > algorithms supported by newer generations. When sessions were specific
> > to the device this only needed to be handled on session creation.
> > With device-agnostic sessions, a session created for a newer device
> > may get routed to an older device which can't support it.
> > This patch adds an enum to define QAT device generations and uses this
> > to detect and handle the above case on the data path.
> > It also renames the capabilities structures and #defines to match the
> > generation names and adds the generation to the device table in the
> > documentation.
> >
> > Fixes: b3bbd9e5f265 ("cryptodev: support device independent sessions")
> >
> > Signed-off-by: Arek Kusztal <arkadiuszx.kusztal at intel.com>
> Acked-by: Fiona Trahe <fiona.trahe at intel.com>

Applied to dpdk-next-crypto.
Thanks,

Pablo


More information about the dev mailing list