[dpdk-stable] patch 'crypto/dpaa2_sec: remove dead code' has been queued to stable release 19.11.6
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Nov 9 19:40:08 CET 2020
Hi,
FYI, your patch has been queued to stable release 19.11.6
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/11/20. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/65394dd2a6fef5915c868162f186671fc0f6a958
Thanks.
Luca Boccassi
---
>From 65394dd2a6fef5915c868162f186671fc0f6a958 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Fri, 23 Oct 2020 09:43:04 +0200
Subject: [PATCH] crypto/dpaa2_sec: remove dead code
[ upstream commit 0ea0bbfebc3e557b1739b20de0dabbe938b2f058 ]
RTE_LIBRTE_SECURITY_TEST never existed, the variable under this check is
never used.
Fixes: e117c18a1dbe ("crypto/dpaa2_sec: restructure session management")
Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Akhil Goyal <akhil.goyal at nxp.com>
---
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
index 60e9bf702b..5eb78eca57 100644
--- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
+++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
@@ -2746,12 +2746,6 @@ dpaa2_sec_ipsec_proto_init(struct rte_crypto_cipher_xform *cipher_xform,
return 0;
}
-#ifdef RTE_LIBRTE_SECURITY_TEST
-static uint8_t aes_cbc_iv[] = {
- 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
- 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f };
-#endif
-
static int
dpaa2_sec_set_ipsec_session(struct rte_cryptodev *dev,
struct rte_security_session_conf *conf,
--
2.27.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2020-11-09 18:40:12.008154725 +0000
+++ 0020-crypto-dpaa2_sec-remove-dead-code.patch 2020-11-09 18:40:11.095310722 +0000
@@ -1 +1 @@
-From 0ea0bbfebc3e557b1739b20de0dabbe938b2f058 Mon Sep 17 00:00:00 2001
+From 65394dd2a6fef5915c868162f186671fc0f6a958 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0ea0bbfebc3e557b1739b20de0dabbe938b2f058 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index ce1d50ce77..6ff0d833e9 100644
+index 60e9bf702b..5eb78eca57 100644
@@ -22 +23 @@
-@@ -2820,12 +2820,6 @@ dpaa2_sec_ipsec_proto_init(struct rte_crypto_cipher_xform *cipher_xform,
+@@ -2746,12 +2746,6 @@ dpaa2_sec_ipsec_proto_init(struct rte_crypto_cipher_xform *cipher_xform,
More information about the stable
mailing list