summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorZbigniew Bodek <zbigniew.bodek@caviumnetworks.com>2017-01-18 21:01:54 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-01-19 01:00:55 +0100
commit169ca3db550c3ab05a635a620292dd3df390ca95 (patch)
treeaf59425f18d7477eb15d5c8f5bca1c5b13a61e10 /config
parentda696d56636526b65f3894f0cc7122ae190e3e5e (diff)
downloaddpdk-169ca3db550c3ab05a635a620292dd3df390ca95.zip
dpdk-169ca3db550c3ab05a635a620292dd3df390ca95.tar.gz
dpdk-169ca3db550c3ab05a635a620292dd3df390ca95.tar.xz
crypto/armv8: add PMD optimized for ARMv8 processors
This patch introduces crypto poll mode driver using ARMv8 cryptographic extensions. CPU compatibility with this driver is detected in run-time and virtual crypto device will not be created if CPU doesn't provide: AES, SHA1, SHA2 and NEON. This PMD is optimized to provide performance boost for chained crypto operations processing, such as encryption + HMAC generation, decryption + HMAC validation. In particular, cipher only or hash only operations are not provided. The driver currently supports AES-128-CBC in combination with: SHA256 HMAC and SHA1 HMAC and relies on the external armv8_crypto library: https://github.com/caviumnetworks/armv8_crypto Build ARMv8 crypto PMD if compiling for ARM64 and CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO option is enable in the configuration file. ARMV8_CRYPTO_LIB_PATH environment variable will point to the appropriate library directory. Signed-off-by: Zbigniew Bodek <zbigniew.bodek@caviumnetworks.com> Reviewed-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/common_base b/config/common_base
index a786d5f..b9fb8e2 100644
--- a/config/common_base
+++ b/config/common_base
@@ -378,6 +378,12 @@ CONFIG_RTE_CRYPTO_MAX_DEVS=64
CONFIG_RTE_CRYPTODEV_NAME_LEN=64
#
+# Compile PMD for ARMv8 Crypto device
+#
+CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO=n
+CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO_DEBUG=n
+
+#
# Compile PMD for QuickAssist based devices
#
CONFIG_RTE_LIBRTE_PMD_QAT=n