[dpdk-dev] [PATCH 6/6] cryptodev: replace mbuf scatter gather flag
Akhil Goyal
akhil.goyal at nxp.com
Mon Jun 18 08:29:38 CEST 2018
Hi Pablo,
On 6/9/2018 3:32 AM, Pablo de Lara wrote:
> The current mbuf scatter gatter feature flag is
> too ambiguous, as it is not clear if input and/or output
> buffers can be scatter gather mbufs or not.
>
> Therefore, two new flags will replace this flag:
> RTE_CRYPTODEV_FF_MBUF_SCATTER_GATHER_IN and
> RTE_CRYPTODEV_FF_MBUF_SCATTER_GATHER_OUT.
>
There may be a case, SG supported in input buffer and we use in-place
processing and driver may support that but may not support SG for out
buffers in case of OOP. How can we handle this type of case?
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> ---
> doc/guides/rel_notes/deprecation.rst | 2 -
> doc/guides/rel_notes/release_18_08.rst | 4 ++
> drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 2 +-
> drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 +-
> drivers/crypto/dpaa_sec/dpaa_sec.c | 3 +-
> drivers/crypto/null/null_crypto_pmd.c | 3 +-
> drivers/crypto/openssl/rte_openssl_pmd.c | 2 +-
> drivers/crypto/qat/rte_qat_cryptodev.c | 3 +-
> lib/librte_cryptodev/rte_cryptodev.c | 6 ++-
> lib/librte_cryptodev/rte_cryptodev.h | 12 +++---
> test/test/test_cryptodev.c | 41 ++++++++++++++-------
> test/test/test_cryptodev_blockcipher.c | 11 ++++--
> 12 files changed, 59 insertions(+), 32 deletions(-)
>
More information about the dev
mailing list