From patchwork Mon Mar 25 13:51:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fan Zhang X-Patchwork-Id: 51629 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6E7CE2BF7; Mon, 25 Mar 2019 14:53:38 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 0F0D310A3 for ; Mon, 25 Mar 2019 14:53:36 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Mar 2019 06:53:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,269,1549958400"; d="scan'208";a="285683184" Received: from silpixa00398673.ir.intel.com (HELO silpixa00398673.ger.corp.intel.com) ([10.237.223.136]) by orsmga004.jf.intel.com with ESMTP; 25 Mar 2019 06:53:33 -0700 From: Fan Zhang To: dev@dpdk.org Cc: akhil.goyal@nxp.com, roy.fan.zhang@intel.com, arkadiuszx.kusztal@intel.com, pablo.de.lara.guarch@intel.com, Fiona Trahe , Paul Luse Date: Mon, 25 Mar 2019 13:51:19 +0000 Message-Id: <20190325135121.4484-1-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.14.5 In-Reply-To: <20190228113619.76782-1-roy.fan.zhang@intel.com> References: <20190228113619.76782-1-roy.fan.zhang@intel.com> Subject: [dpdk-dev] [PATCH v3 0/2] crypto/aesni_mb: enable out of place processing 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add out-of-place processing, i.e. different source and destination m_bufs, plus related capability update, tests and documentation. Signed-off-by: Fiona Trahe Signed-off-by: Paul Luse Signed-off-by: Fan Zhang v3: - Updated unit test, enable src-dst swap test for all oop tests. - Merged patches. - Updated documentation. - Several code changes based on Pablo's comments. v2: - Removed limitation of not support cipher-auth. - Updated tests for more comprehensive test-cases. - Splitted the patch. Fan Zhang (2): crypto/aesni_mb: enable out of place processing test: add out of place test for AESNI-MB app/test/test_cryptodev_aes_test_vectors.h | 110 +++++++++++++++++++++++++--- app/test/test_cryptodev_blockcipher.c | 83 ++++++++++++++++++--- app/test/test_cryptodev_blockcipher.h | 3 + app/test/test_cryptodev_des_test_vectors.h | 24 ++++-- doc/guides/cryptodevs/aesni_mb.rst | 1 - doc/guides/cryptodevs/features/aesni_mb.ini | 1 + doc/guides/rel_notes/release_19_05.rst | 4 + drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 102 +++++++++++++++++++------- 8 files changed, 270 insertions(+), 58 deletions(-)