patch 'examples/ipsec-secgw: fix ESN setting' has been queued to stable release 21.11.2
Kevin Traynor
ktraynor at redhat.com
Fri Jun 24 17:01:18 CEST 2022
Hi,
FYI, your patch has been queued to stable release 21.11.2
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/27/22. 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/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/a9485fd00b862d031c46480126fb80dc579c229d
Thanks.
Kevin
---
>From a9485fd00b862d031c46480126fb80dc579c229d Mon Sep 17 00:00:00 2001
From: Radu Nicolau <radu.nicolau at intel.com>
Date: Tue, 14 Jun 2022 13:43:13 +0100
Subject: [PATCH] examples/ipsec-secgw: fix ESN setting
[ upstream commit 3e534bc81a5479e90b76471ebe1ba4de80a68374 ]
Fix ESN option flag and initial value for the rte_ipsec library path.
Fixes: 560029d5cfc9 ("examples/ipsec-secgw: define initial ESN value")
Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
Acked-by: Fan Zhang <roy.fan.zhang at intel.com>
---
examples/ipsec-secgw/sa.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c
index 45509c5c68..89131f71e5 100644
--- a/examples/ipsec-secgw/sa.c
+++ b/examples/ipsec-secgw/sa.c
@@ -1464,4 +1464,9 @@ fill_ipsec_sa_prm(struct rte_ipsec_sa_prm *prm, const struct ipsec_sa *ss,
prm->ipsec_xform.options.copy_dscp = 1;
+ if (ss->esn > 0) {
+ prm->ipsec_xform.options.esn = 1;
+ prm->ipsec_xform.esn.value = ss->esn;
+ }
+
if (IS_IP4_TUNNEL(ss->flags)) {
prm->ipsec_xform.tunnel.type = RTE_SECURITY_IPSEC_TUNNEL_IPV4;
--
2.34.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2022-06-24 15:51:09.278071808 +0100
+++ 0010-examples-ipsec-secgw-fix-ESN-setting.patch 2022-06-24 15:51:08.851984028 +0100
@@ -1 +1 @@
-From 3e534bc81a5479e90b76471ebe1ba4de80a68374 Mon Sep 17 00:00:00 2001
+From a9485fd00b862d031c46480126fb80dc579c229d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 3e534bc81a5479e90b76471ebe1ba4de80a68374 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index fde263ca33..5d9cec97db 100644
+index 45509c5c68..89131f71e5 100644
@@ -21 +22 @@
-@@ -1491,4 +1491,9 @@ fill_ipsec_sa_prm(struct rte_ipsec_sa_prm *prm, const struct ipsec_sa *ss,
+@@ -1464,4 +1464,9 @@ fill_ipsec_sa_prm(struct rte_ipsec_sa_prm *prm, const struct ipsec_sa *ss,
More information about the stable
mailing list