DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/8] Remove temporary digest allocation
@ 2017-08-18  7:20 Pablo de Lara
  2017-08-18  7:20 ` [dpdk-dev] [PATCH 1/8] crypto/aesni_gcm: do not append digest Pablo de Lara
                   ` (8 more replies)
  0 siblings, 9 replies; 24+ messages in thread
From: Pablo de Lara @ 2017-08-18  7:20 UTC (permalink / raw)
  To: declan.doherty, jerin.jacob; +Cc: dev, Pablo de Lara

When performing authentication verification,
some crypto PMDs require extra memory where the generated
digest can be placed.
Currently, these PMDs are getting the memory from the end
of the source mbuf, which might fail if there is not enough
tailroom.

To avoid this situation, some memory is allocated
in each queue pair of the device, to store temporarily
these digests.
 
Pablo de Lara (8):
  crypto/aesni_gcm: do not append digest
  crypto/armv8: do not append digest
  crypto/openssl: do not append digest
  crypto/kasumi: do not append digest
  crypto/snow3g: do not append digest
  crypto/zuc: do not append digest
  crypto/aesni_mb: do not append digest
  test/crypto: do not allocate extra memory for digest

 drivers/crypto/aesni_gcm/aesni_gcm_pmd.c           | 31 ++++---------------
 drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h   |  7 +++++
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c         | 36 +++++++---------------
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c     |  5 +++
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 12 +++++++-
 drivers/crypto/armv8/rte_armv8_pmd.c               | 14 +++------
 drivers/crypto/armv8/rte_armv8_pmd_private.h       |  8 +++++
 drivers/crypto/kasumi/rte_kasumi_pmd.c             | 22 +++++--------
 drivers/crypto/kasumi/rte_kasumi_pmd_private.h     |  7 +++++
 drivers/crypto/openssl/rte_openssl_pmd.c           | 19 +++++-------
 drivers/crypto/openssl/rte_openssl_pmd_private.h   |  7 +++++
 drivers/crypto/snow3g/rte_snow3g_pmd.c             | 22 +++++--------
 drivers/crypto/snow3g/rte_snow3g_pmd_private.h     |  7 +++++
 drivers/crypto/zuc/rte_zuc_pmd.c                   | 16 +++-------
 drivers/crypto/zuc/rte_zuc_pmd_private.h           |  7 +++++
 test/test/test_cryptodev_blockcipher.c             | 29 ++---------------
 16 files changed, 112 insertions(+), 137 deletions(-)

-- 
2.9.4

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2017-09-11  9:39 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-18  7:20 [dpdk-dev] [PATCH 0/8] Remove temporary digest allocation Pablo de Lara
2017-08-18  7:20 ` [dpdk-dev] [PATCH 1/8] crypto/aesni_gcm: do not append digest Pablo de Lara
2017-09-04 10:07   ` Zhang, Roy Fan
2017-09-05  8:49     ` De Lara Guarch, Pablo
2017-08-18  7:20 ` [dpdk-dev] [PATCH 2/8] crypto/armv8: " Pablo de Lara
2017-09-11  5:22   ` Jerin Jacob
2017-08-18  7:20 ` [dpdk-dev] [PATCH 3/8] crypto/openssl: " Pablo de Lara
2017-08-18  7:20 ` [dpdk-dev] [PATCH 4/8] crypto/kasumi: " Pablo de Lara
2017-08-18  7:21 ` [dpdk-dev] [PATCH 5/8] crypto/snow3g: " Pablo de Lara
2017-08-18  7:21 ` [dpdk-dev] [PATCH 6/8] crypto/zuc: " Pablo de Lara
2017-08-18  7:21 ` [dpdk-dev] [PATCH 7/8] crypto/aesni_mb: " Pablo de Lara
2017-08-18  7:21 ` [dpdk-dev] [PATCH 8/8] test/crypto: do not allocate extra memory for digest Pablo de Lara
2017-09-05  2:19 ` [dpdk-dev] [PATCH v2 0/8] Remove temporary digest allocation Pablo de Lara
2017-09-05  2:20   ` [dpdk-dev] [PATCH v2 1/8] crypto/aesni_gcm: do not append digest Pablo de Lara
2017-09-05  2:20   ` [dpdk-dev] [PATCH v2 2/8] crypto/armv8: " Pablo de Lara
2017-09-06  9:02     ` De Lara Guarch, Pablo
2017-09-05  2:20   ` [dpdk-dev] [PATCH v2 3/8] crypto/openssl: " Pablo de Lara
2017-09-05  2:20   ` [dpdk-dev] [PATCH v2 4/8] crypto/kasumi: " Pablo de Lara
2017-09-05  2:20   ` [dpdk-dev] [PATCH v2 5/8] crypto/snow3g: " Pablo de Lara
2017-09-05  2:20   ` [dpdk-dev] [PATCH v2 6/8] crypto/zuc: " Pablo de Lara
2017-09-05  2:20   ` [dpdk-dev] [PATCH v2 7/8] crypto/aesni_mb: " Pablo de Lara
2017-09-05  2:20   ` [dpdk-dev] [PATCH v2 8/8] test/crypto: do not allocate extra memory for digest Pablo de Lara
2017-09-05 12:38   ` [dpdk-dev] [PATCH v2 0/8] Remove temporary digest allocation Zhang, Roy Fan
2017-09-11  9:39     ` De Lara Guarch, Pablo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).