> -----Original Message----- > From: Trahe, Fiona > Sent: Tuesday, July 18, 2017 9:22 AM > To: Kusztal, ArkadiuszX <[email protected]>; [email protected] > Cc: De Lara Guarch, Pablo <[email protected]>; Griffin, John > <[email protected]>; Jain, Deepak K <[email protected]> > Subject: RE: [PATCH] crypto/qat: fix handle device-agnostic session > > > > > -----Original Message----- > > From: Kusztal, ArkadiuszX > > Sent: Monday, July 17, 2017 5:57 PM > > To: [email protected] > > Cc: Trahe, Fiona <[email protected]>; De Lara Guarch, Pablo > > <[email protected]>; Griffin, John > > <[email protected]>; Jain, Deepak K <[email protected]>; > > Kusztal, ArkadiuszX <[email protected]> > > 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 <[email protected]> > Acked-by: Fiona Trahe <[email protected]>
Applied to dpdk-next-crypto. Thanks, Pablo

