From 310d2ea6328c6146ccca6eac42426e060a99fedc Mon Sep 17 00:00:00 2001 From: Thierry Herbelot Date: Mon, 30 Sep 2019 09:51:44 +0200 Subject: [PATCH] drivers/crypto: remove some invalid comments A comment valid in AESNI PMD was copied and pasted in other code Fixes: 8a61c83af2fa ("crypto/mrvl: add mrvl crypto driver") Fixes: 169ca3db550c ("crypto/armv8: add PMD optimized for ARMv8 processors") Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library") Cc: stable@dpdk.org Signed-off-by: Thierry Herbelot Acked-by: Akhil Goyal --- drivers/crypto/armv8/rte_armv8_pmd.c | 1 - drivers/crypto/mvsam/rte_mrvl_pmd.c | 1 - drivers/crypto/openssl/rte_openssl_pmd.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/crypto/armv8/rte_armv8_pmd.c b/drivers/crypto/armv8/rte_armv8_pmd.c index 0d4649adcd..711701a974 100644 --- a/drivers/crypto/armv8/rte_armv8_pmd.c +++ b/drivers/crypto/armv8/rte_armv8_pmd.c @@ -777,7 +777,6 @@ cryptodev_armv8_crypto_create(const char *name, RTE_CRYPTODEV_FF_CPU_NEON | RTE_CRYPTODEV_FF_CPU_ARM_CE; - /* Set vector instructions mode supported */ internals = dev->data->dev_private; internals->max_nb_qpairs = init_params->max_nb_queue_pairs; diff --git a/drivers/crypto/mvsam/rte_mrvl_pmd.c b/drivers/crypto/mvsam/rte_mrvl_pmd.c index ef2e5ed00d..0aafcc1503 100644 --- a/drivers/crypto/mvsam/rte_mrvl_pmd.c +++ b/drivers/crypto/mvsam/rte_mrvl_pmd.c @@ -821,7 +821,6 @@ cryptodev_mrvl_crypto_create(const char *name, RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT | RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT; - /* Set vector instructions mode supported */ internals = dev->data->dev_private; internals->max_nb_qpairs = init_params->common.max_nb_queue_pairs; diff --git a/drivers/crypto/openssl/rte_openssl_pmd.c b/drivers/crypto/openssl/rte_openssl_pmd.c index 2f55528407..b05f6adb92 100644 --- a/drivers/crypto/openssl/rte_openssl_pmd.c +++ b/drivers/crypto/openssl/rte_openssl_pmd.c @@ -2127,7 +2127,6 @@ cryptodev_openssl_create(const char *name, RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_EXP | RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_QT; - /* Set vector instructions mode supported */ internals = dev->data->dev_private; internals->max_nb_qpairs = init_params->max_nb_queue_pairs; -- 2.20.1