From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id BE48D7CEC for ; Fri, 18 Aug 2017 17:21:00 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Aug 2017 08:20:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,393,1498546800"; d="scan'208";a="301830996" Received: from silpixa00399464.ir.intel.com (HELO silpixa00399464.ger.corp.intel.com) ([10.237.222.157]) by fmsmga004.fm.intel.com with ESMTP; 18 Aug 2017 08:20:44 -0700 From: Pablo de Lara To: declan.doherty@intel.com, jerin.jacob@caviumnetworks.com Cc: dev@dpdk.org, Pablo de Lara Date: Fri, 18 Aug 2017 08:20:55 +0100 Message-Id: <20170818072103.1416-1-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.9.4 Subject: [dpdk-dev] [PATCH 0/8] Remove temporary digest allocation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2017 15:21:01 -0000 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