> -----Original Message-----
> From: Kusztal, ArkadiuszX
> Sent: Monday, July 17, 2017 5:57 PM
> To: dev@dpdk.org
> Cc: Trahe, Fiona <fiona.tr...@intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.gua...@intel.com>;
> Griffin, John <john.grif...@intel.com>; Jain, Deepak K
> <deepak.k.j...@intel.com>; Kusztal, ArkadiuszX
> <arkadiuszx.kusz...@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.kusz...@intel.com>
Acked-by: Fiona Trahe <fiona.tr...@intel.com>