crypto: remove cut'n'paste comment

Message ID 20190930075144.20255-1-thierry.herbelot@6wind.com (mailing list archive)
State Accepted, archived
Delegated to: akhil goyal
Headers
Series crypto: remove cut'n'paste comment |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/iol-dpdk_compile_ovs success Compile Testing PASS
ci/iol-dpdk_compile_spdk success Compile Testing PASS
ci/iol-dpdk_compile success Compile Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS

Commit Message

Thierry Herbelot Sept. 30, 2019, 7:51 a.m. UTC
  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
Cc: jerinj@marvell.com
Cc: michaelsh@marvell.com
Cc: declan.doherty@intel.com

Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
---
 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(-)
  

Comments

Akhil Goyal Oct. 4, 2019, 10:40 a.m. UTC | #1
> 
> 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
> Cc: jerinj@marvell.com
> Cc: michaelsh@marvell.com
> Cc: declan.doherty@intel.com
> 
> Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
> ---
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>

Applied to dpdk-next-crypto

Thanks.
  

Patch

diff --git a/drivers/crypto/armv8/rte_armv8_pmd.c b/drivers/crypto/armv8/rte_armv8_pmd.c
index 0d4649adcd1d..711701a974c6 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 ef2e5ed00dd0..0aafcc1503f1 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 2f5552840741..b05f6adb9289 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;