crypto/qat: rework request builder for performance
authorFiona Trahe <fiona.trahe@intel.com>
Mon, 24 Oct 2016 11:59:59 +0000 (12:59 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 26 Oct 2016 12:58:37 +0000 (14:58 +0200)
commit39e0bee48e815569ebbaee8e0f4e01fa55cfa70a
treecd1a070b428d70d5f34c5727f56070ba1a131972
parent8a9867a635c0572e926d87b7207dd064546388de
crypto/qat: rework request builder for performance

QAT PMD adjusts the buffer start address and offsets passed
to the device so that the DMAs in and out of the device are
64-byte aligned.
This gives more consistent throughput, which had been
variable depending on how the application set up the mbuf.
The message builder code had to be considerably re-factored
to do this efficiently.

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
drivers/crypto/qat/qat_adf/icp_qat_hw.h
drivers/crypto/qat/qat_adf/qat_algs.h
drivers/crypto/qat/qat_adf/qat_algs_build_desc.c
drivers/crypto/qat/qat_crypto.c