qat: add out-of-place symmetric operations
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Tue, 29 Mar 2016 14:14:41 +0000 (15:14 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 31 Mar 2016 19:49:26 +0000 (21:49 +0200)
commitceb1ccd5d50c1a89ba8bdd97cc199e7f07422b98
tree075b687b33d60cba3a16be5a29bd85171903da40
parent2f481bda801703092363c94d6d78b6644fd2d1df
qat: add out-of-place symmetric operations

This patch adds out-of-place operations to qat symmetric crypto PMD,
i.e. the result of the operation can be written to the destination buffer
instead of overwriting the source buffer as done in "in-place" operation.
Both buffers can be of different sizes.
Previously the qat PMD assumed that m_src and m_dst in rte_crypto_sym_op
were identical.

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: John Griffin <john.griffin@intel.com>
doc/guides/cryptodevs/qat.rst
drivers/crypto/qat/qat_crypto.c