crypto/qat: handle Single Pass Crypto Requests on GEN3
authorAdam Dybkowski <adamx.dybkowski@intel.com>
Tue, 8 Oct 2019 12:44:33 +0000 (14:44 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 9 Oct 2019 09:50:12 +0000 (11:50 +0200)
commitaa983f03ad2e16a869e6ce53e261d02fb450bb67
tree0765272b06946a90219729fe91e244127baefef0
parent16b676019cbb7f2df649db4c745bb241314145fb
crypto/qat: handle Single Pass Crypto Requests on GEN3

This patch improves the performance of AES GCM by using
the Single Pass Crypto Request functionality when running
on GEN3 QAT. Falls back to the classic 2-pass mode on older
hardware.

Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
doc/guides/cryptodevs/qat.rst
doc/guides/rel_notes/release_19_11.rst
drivers/crypto/qat/qat_sym.c
drivers/crypto/qat/qat_sym_session.c
drivers/crypto/qat/qat_sym_session.h