From patchwork Wed Jan 18 20:01:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: zbigniew.bodek@caviumnetworks.com X-Patchwork-Id: 19747 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 7EBA1FB15; Wed, 18 Jan 2017 21:02:54 +0100 (CET) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0042.outbound.protection.outlook.com [104.47.37.42]) by dpdk.org (Postfix) with ESMTP id 8801DFB00 for ; Wed, 18 Jan 2017 21:02:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=miINITXY19Md1hK9f0KvZGRds229N+sG/0js8OsUf1Q=; b=YR59LUcZMPgjLCEX3B2gwmGLh30ppCQcwjfhV2CnBFv6DhPHZJIXaDbbcKaT3oRZd/5IyZ2T8jqjBvEPrUJ3P4dp7v8AM2eIlMHBw1a7yPzHa7AQQQ1eyxxqAXPPnQnn+Ii3QskRCp9OyMDv/5XCs9PsqxxtfDT3uQt+3ezK7nc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Zbigniew.Bodek@cavium.com; Received: from localhost.localdomain (31.172.191.173) by BY2PR07MB550.namprd07.prod.outlook.com (10.141.217.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Wed, 18 Jan 2017 20:02:34 +0000 From: To: CC: , , , , , Zbigniew Bodek Date: Wed, 18 Jan 2017 21:01:58 +0100 Message-ID: <1484769721-43938-6-git-send-email-zbigniew.bodek@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484769721-43938-1-git-send-email-zbigniew.bodek@caviumnetworks.com> References: <1484749650-24867-3-git-send-email-zbigniew.bodek@caviumnetworks.com> <1484769721-43938-1-git-send-email-zbigniew.bodek@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: DB6P191CA0018.EURP191.PROD.OUTLOOK.COM (10.175.236.156) To BY2PR07MB550.namprd07.prod.outlook.com (10.141.217.145) X-MS-Office365-Filtering-Correlation-Id: 403af714-a8ff-4e0e-ee68-08d43fdcf283 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY2PR07MB550; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB550; 3:fBoNdvweJ9KQZKyyPkZm3bRjlyg4yd9BQgzA7izVtIf98GjW0CsKXl2TLJvzG9XCcO/pxrOS3ULyFRuj62hsPeQh2xcKAsUAw6oT1YfxmSvRhB8Y+MVnMJ4RrihHyIod/QI4VjFF7J47lXCeMx51bMqEfLXIzDA/UB3KvKRTkSM3dJWqGFsIcvMYPiY99SPn409qpsWz7r9sBX0MTuy3UCnPFt7qbRTPlS4I7jDkBDf0YQMOsr6QVbiTyRfhYUcWWup5JjvTX4MhyIj8veyG8w== X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB550; 25:1wbhFTPNIi3/IPqVaKT+IQ7GoIrzJr7ZI9zh3UoX207dF4wyxf7K5AX3czOcJCIuamNTHTTtnSUHeKy0L96HwExokovkov957h/x9OPMoSQUWwh/uYZNDWXcNh2Oc1q+s0tG4EqwAyyhk0Vd0zftRfXIaM5A58jJxlwTmcxQdY8TbChfBnaX9wsaD8rEZf9YRj1Rh8O/BJKpsGOopYuZkcATJh7BK1U0qzlch+yuTlTE72TJ3awgTU2K2dnSyyvSrS7HAdto7eGRj+bEtf9apFbqYiFjUHJIIvtl0wCtStrFAe/BRCemTmBKcRQDpHMlTdo7ZLzrDreAeCkaBTJaaynacHGqjJTOVS6LeBFGnffuegrNZSik/ecuK69rzABWtSyxxOMizeo8ta5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KvLUnlwCqXJrWyr7yHz1QV6uoOtdroAY56Ndt9m2ak5lE1ag2IBYtmfvdzeb4eVf1O+J1sC1jbc+sHdq11lwsLuXXh4NjAQ6scBXc3LFf+W7Ool6qzLpyihmRGbEuI7SRrsHlsjuV2JJ5QbuN9eJEboBXmV3KJNF/Y2g64iBrbA8saxFX+NK8Cy++NB+YRQ8GTHJVABR0t+mcdy+UjzDJPQdYLVOMHrozAwT/I/Qz15pHexMZ76T7HRzpvMEwqadaiO5h11D/8khQeIRnjMzPqoQlxm8ySEyZyRq55PTAPFvk1Grbl/uvTltl2T7SAFR8ZDyfGtMh/TpWEiV5tnqaBeLbz4jYmod3XfclH630/Xy+Y3P7So2ETsQ3V0eP0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123562025)(20161123558021)(20161123555025)(20161123560025)(20161123564025)(6072148); SRVR:BY2PR07MB550; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB550; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB550; 4:DzQy5xvYje8l49YOka/4EkAijpYGvi6b7F7R+RLYKkHVxG8VVgXHfgl0GG6e9PDzltQC99UEBLuLv6crrvLOIazEETC8nk/PRh2jB2yzM85xbw3bUdSMd4mDklK5LnS3JLD6bdq+4bCGfk9TDt83OT92SfRWZinz/bQ8+d/klc7JTYzI/UW1f1xC8R03IaeWP1w0VMSAz7qYo3CrW+22QfWLdMpH/CaFqWvsRJ4XIZXPTNwBjusyi4dKWM+qOtR3IfIufX8RrYJAjkcxERZ0mUdH3rkyW7T/Jc3H7ALJcXBzAiRUWz4/CfL1gwj8dV12+//FLwqclApk7M+7zQnmnQn8iIaW6MDi+sGDz9diCEdlipjBPJU542q9q2l117xaB8eu9prLsM08Ah0F/ifyQRCMkyPZm+A2gV8xg4fMmh2xXyfJTgvQzH+Dmx1ZG881DcN4ZOEcRT3rixdJXcQpvGwl6ikNTBOm46vuve9FPQepRaCNGJilG5y1hwCK2HqLEt5yfFH7ZV1ueuwARoOOEuRwJsv1WsttCtSs4uM1E9PWEvj8eUUkTQW98cCash6dcUQ71t+ANPehIoyTgyzwn/WkBbb+wvSuVDetVGlSgYDvgFgQTE3S3rhjpTPqjUudABjEXLxYast2k6AjmIKHLw== X-Forefront-PRVS: 01917B1794 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(189002)(199003)(86152003)(92566002)(33646002)(36756003)(7736002)(8656002)(48376002)(42882006)(50226002)(15650500001)(97736004)(107886002)(2950100002)(2876002)(6916009)(6116002)(4326007)(5003940100001)(6306002)(53936002)(6506006)(4001430100002)(25786008)(47776003)(6666003)(3846002)(5660300001)(54906002)(50466002)(189998001)(66066001)(6486002)(76176999)(6512007)(101416001)(38730400001)(110136003)(68736007)(106356001)(305945005)(105586002)(2351001)(2906002)(8676002)(81156014)(42186005)(50986999)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB550; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR07MB550; 23:GAUgNqMm0ANVf7pFMGb4GvROuj+qTtBFAUIYuLYzG5?= zGFU5yE+5gd5aY1rBycpb+nuriHi+KkM1KQ+RsDT3HhGFIPFH8hk3Fx9hHSuXsZJ+IlKM0Hn1WN8/iaH/I1QTJjQivSVvLnYzG66xABromNMESKiHmmU7qeNvNmymMmPaZQslV6vDmmsy92mJeJAx83OG04pHj87g9ToQw++8Rkvv4MhgtrcJFc7GJau6Ap+nq9JxU/6TdYL0Zo7UibYCFIlAnDYWt1aZzyMRRqF+juw1FGVxttn3a8a6Fsy9m9BDTkVhzQQdJ7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hsHVfX6+x36yM/uBmsZvuQT3sUFIbGB5rlZlNwEbf32IPuv4JzsrzaEIeTC4hrEtB9D0v4vEzfA+PKqx4NDLBYeulULYOa/5n6sbFeaMXg9LoZwZBJww2bmuxkXr1jgVL9uOcwppYNhI2VYbkvvbLXdVA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2017 20:02:34.3486 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB550 Subject: [dpdk-dev] [PATCH v6 5/8] doc: update documentation about ARMv8 crypto PMD 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" From: Zbigniew Bodek Add documentation about the driver and update release notes. Signed-off-by: Zbigniew Bodek Reviewed-by: Jerin Jacob --- doc/guides/cryptodevs/armv8.rst | 98 ++++++++++++++++++++++++++++++++++ doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/overview.rst | 94 ++++++++++++++++---------------- doc/guides/rel_notes/release_17_02.rst | 5 ++ 4 files changed, 151 insertions(+), 47 deletions(-) create mode 100644 doc/guides/cryptodevs/armv8.rst diff --git a/doc/guides/cryptodevs/armv8.rst b/doc/guides/cryptodevs/armv8.rst new file mode 100644 index 0000000..de63793 --- /dev/null +++ b/doc/guides/cryptodevs/armv8.rst @@ -0,0 +1,98 @@ +.. BSD LICENSE + Copyright (C) Cavium networks Ltd. 2017. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of Cavium networks nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +ARMv8 Crypto Poll Mode Driver +============================= + +This code provides the initial implementation of the ARMv8 crypto PMD. +The driver uses ARMv8 cryptographic extensions to process chained crypto +operations in an optimized way. The core functionality is provided by +a low-level library, written in the assembly code. + +Features +-------- + +ARMv8 Crypto PMD has support for the following algorithm pairs: + +Supported cipher algorithms: + +* ``RTE_CRYPTO_CIPHER_AES_CBC`` + +Supported authentication algorithms: + +* ``RTE_CRYPTO_AUTH_SHA1_HMAC`` +* ``RTE_CRYPTO_AUTH_SHA256_HMAC`` + +Installation +------------ + +In order to enable this virtual crypto PMD, user must: + +* Download ARMv8 crypto library source code from + `here `_ + +* Export the environmental variable ARMV8_CRYPTO_LIB_PATH with + the path where the ``armv8_crypto`` library was downloaded + or cloned. + +* Build the library by invoking: + +.. code-block:: console + + make -C $ARMV8_CRYPTO_LIB_PATH/ + +* Set CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=y in + config/defconfig_arm64-armv8a-linuxapp-gcc + +The corresponding device can be created only if the following features +are supported by the CPU: + +* ``RTE_CPUFLAG_AES`` +* ``RTE_CPUFLAG_SHA1`` +* ``RTE_CPUFLAG_SHA2`` +* ``RTE_CPUFLAG_NEON`` + +Initialization +-------------- + +User can use app/test application to check how to use this PMD and to verify +crypto processing. + +Test name is cryptodev_sw_armv8_autotest. +For performance test cryptodev_sw_armv8_perftest can be used. + +Limitations +----------- + +* Maximum number of sessions is 2048. +* Only chained operations are supported. +* AES-128-CBC is the only supported cipher variant. +* Cipher input data has to be a multiple of 16 bytes. +* Digest input data has to be a multiple of 8 bytes. diff --git a/doc/guides/cryptodevs/index.rst b/doc/guides/cryptodevs/index.rst index a6a9f23..06c3f6e 100644 --- a/doc/guides/cryptodevs/index.rst +++ b/doc/guides/cryptodevs/index.rst @@ -38,6 +38,7 @@ Crypto Device Drivers overview aesni_mb aesni_gcm + armv8 kasumi openssl null diff --git a/doc/guides/cryptodevs/overview.rst b/doc/guides/cryptodevs/overview.rst index 9ec32f1..4bbfadb 100644 --- a/doc/guides/cryptodevs/overview.rst +++ b/doc/guides/cryptodevs/overview.rst @@ -33,70 +33,70 @@ Crypto Device Supported Functionality Matrices Supported Feature Flags .. csv-table:: - :header: "Feature Flags", "qat", "null", "aesni_mb", "aesni_gcm", "snow3g", "kasumi", "zuc" + :header: "Feature Flags", "qat", "null", "aesni_mb", "aesni_gcm", "snow3g", "kasumi", "zuc", "armv8" :stub-columns: 1 - "RTE_CRYPTODEV_FF_SYMMETRIC_CRYPTO",x,x,x,x,x,x,x - "RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO",,,,,,, - "RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING",x,x,x,x,x,x,x - "RTE_CRYPTODEV_FF_CPU_SSE",,,x,,x,x, - "RTE_CRYPTODEV_FF_CPU_AVX",,,x,,x,x, - "RTE_CRYPTODEV_FF_CPU_AVX2",,,x,,,, - "RTE_CRYPTODEV_FF_CPU_AVX512",,,x,,,, - "RTE_CRYPTODEV_FF_CPU_AESNI",,,x,x,,, - "RTE_CRYPTODEV_FF_HW_ACCELERATED",x,,,,,, - "RTE_CRYPTODEV_FF_CPU_NEON",,,,,,, - "RTE_CRYPTODEV_FF_CPU_ARM_CE",,,,,,, + "RTE_CRYPTODEV_FF_SYMMETRIC_CRYPTO",x,x,x,x,x,x,x,x + "RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO",,,,,,,, + "RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING",x,x,x,x,x,x,x,x + "RTE_CRYPTODEV_FF_CPU_SSE",,,x,,x,x,, + "RTE_CRYPTODEV_FF_CPU_AVX",,,x,,x,x,, + "RTE_CRYPTODEV_FF_CPU_AVX2",,,x,,,,, + "RTE_CRYPTODEV_FF_CPU_AVX512",,,x,,,,, + "RTE_CRYPTODEV_FF_CPU_AESNI",,,x,x,,,, + "RTE_CRYPTODEV_FF_HW_ACCELERATED",x,,,,,,, + "RTE_CRYPTODEV_FF_CPU_NEON",,,,,,,,x + "RTE_CRYPTODEV_FF_CPU_ARM_CE",,,,,,,,x Supported Cipher Algorithms .. csv-table:: - :header: "Cipher Algorithms", "qat", "null", "aesni_mb", "aesni_gcm", "snow3g", "kasumi", "zuc" + :header: "Cipher Algorithms", "qat", "null", "aesni_mb", "aesni_gcm", "snow3g", "kasumi", "zuc", "armv8" :stub-columns: 1 - "NULL",,x,,,,, - "AES_CBC_128",x,,x,,,, - "AES_CBC_192",x,,x,,,, - "AES_CBC_256",x,,x,,,, - "AES_CTR_128",x,,x,,,, - "AES_CTR_192",x,,x,,,, - "AES_CTR_256",x,,x,,,, - "DES_CBC",x,,,,,, - "SNOW3G_UEA2",x,,,,x,, - "KASUMI_F8",,,,,,x, - "ZUC_EEA3",,,,,,,x + "NULL",,x,,,,,, + "AES_CBC_128",x,,x,,,,,x + "AES_CBC_192",x,,x,,,,, + "AES_CBC_256",x,,x,,,,, + "AES_CTR_128",x,,x,,,,, + "AES_CTR_192",x,,x,,,,, + "AES_CTR_256",x,,x,,,,, + "DES_CBC",x,,,,,,, + "SNOW3G_UEA2",x,,,,x,,, + "KASUMI_F8",,,,,,x,, + "ZUC_EEA3",,,,,,,x, Supported Authentication Algorithms .. csv-table:: - :header: "Cipher Algorithms", "qat", "null", "aesni_mb", "aesni_gcm", "snow3g", "kasumi", "zuc" + :header: "Cipher Algorithms", "qat", "null", "aesni_mb", "aesni_gcm", "snow3g", "kasumi", "zuc", "armv8" :stub-columns: 1 - "NONE",,x,,,,, - "MD5",,,,,,, - "MD5_HMAC",,,x,,,, - "SHA1",,,,,,, - "SHA1_HMAC",x,,x,,,, - "SHA224",,,,,,, - "SHA224_HMAC",,,x,,,, - "SHA256",,,,,,, - "SHA256_HMAC",x,,x,,,, - "SHA384",,,,,,, - "SHA384_HMAC",,,x,,,, - "SHA512",,,,,,, - "SHA512_HMAC",x,,x,,,, - "AES_XCBC",x,,x,,,, - "AES_GMAC",,,,x,,, - "SNOW3G_UIA2",x,,,,x,, - "KASUMI_F9",,,,,,x, - "ZUC_EIA3",,,,,,,x + "NONE",,x,,,,,, + "MD5",,,,,,,, + "MD5_HMAC",,,x,,,,, + "SHA1",,,,,,,, + "SHA1_HMAC",x,,x,,,,,x + "SHA224",,,,,,,, + "SHA224_HMAC",,,x,,,,, + "SHA256",,,,,,,, + "SHA256_HMAC",x,,x,,,,,x + "SHA384",,,,,,,, + "SHA384_HMAC",,,x,,,,, + "SHA512",,,,,,,, + "SHA512_HMAC",x,,x,,,,, + "AES_XCBC",x,,x,,,,, + "AES_GMAC",,,,x,,,, + "SNOW3G_UIA2",x,,,,x,,, + "KASUMI_F9",,,,,,x,, + "ZUC_EIA3",,,,,,,x, Supported AEAD Algorithms .. csv-table:: - :header: "AEAD Algorithms", "qat", "null", "aesni_mb", "aesni_gcm", "snow3g", "kasumi", "zuc" + :header: "AEAD Algorithms", "qat", "null", "aesni_mb", "aesni_gcm", "snow3g", "kasumi", "zuc", "armv8" :stub-columns: 1 - "AES_GCM_128",x,,,x,,, - "AES_GCM_192",x,,,,,, - "AES_GCM_256",x,,,x,,, + "AES_GCM_128",x,,,x,,,, + "AES_GCM_192",x,,,,,,, + "AES_GCM_256",x,,,x,,,, diff --git a/doc/guides/rel_notes/release_17_02.rst b/doc/guides/rel_notes/release_17_02.rst index 670aaf4..0b96bed 100644 --- a/doc/guides/rel_notes/release_17_02.rst +++ b/doc/guides/rel_notes/release_17_02.rst @@ -175,6 +175,11 @@ New Features * Scatter-gatter support for chained mbufs (only out-of place and destination mbuf must be contiguous) +* **Added armv8 crypto PMD.** + + A new crypto PMD has been added, which provides combined mode cryptografic + operations optimized for ARMv8 processors. The driver can be used to enhance + performance in processing chained operations such as cipher + HMAC. Resolved Issues ---------------