patch 'test/ipsec: fix performance test' has been queued to stable release 20.11.6
Xueming Li
xuemingl at nvidia.com
Wed Jul 20 10:20:41 CEST 2022
Hi,
FYI, your patch has been queued to stable release 20.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 07/22/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/steevenlee/dpdk
This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/b39e829bacedb6a80327ba31813aa24f05c721ba
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From b39e829bacedb6a80327ba31813aa24f05c721ba Mon Sep 17 00:00:00 2001
From: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
Date: Tue, 21 Jun 2022 13:30:45 +0000
Subject: [PATCH] test/ipsec: fix performance test
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 3ab95f3d1cebc1e064e30f83ddef1453fbcd9ae1 ]
This patch initializes with 0 rte_ipsec_sa_prm inside the
ipsec_sa struct.
Before it was passed uninitialized to rte_ipsec_sa_init(),
which does not check whether prm->ipsec_xform.esn.value is
greater than sa->sqn_mask.
Bugzilla ID: 1023
Fixes: f7f3ac6dcbe2 ("test/ipsec: add performance cases")
Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
---
app/test/test_ipsec_perf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test/test_ipsec_perf.c b/app/test/test_ipsec_perf.c
index 92106bf374..7e07805ea3 100644
--- a/app/test/test_ipsec_perf.c
+++ b/app/test/test_ipsec_perf.c
@@ -580,8 +580,8 @@ testsuite_teardown(void)
static int
test_libipsec_perf(void)
{
- struct ipsec_sa sa_out;
- struct ipsec_sa sa_in;
+ struct ipsec_sa sa_out = { .sa_prm = { 0 } };
+ struct ipsec_sa sa_in = { .sa_prm = { 0 } };
uint32_t i;
int ret;
--
2.35.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2022-07-20 15:00:59.351567599 +0800
+++ 0012-test-ipsec-fix-performance-test.patch 2022-07-20 15:00:58.671000561 +0800
@@ -1 +1 @@
-From 3ab95f3d1cebc1e064e30f83ddef1453fbcd9ae1 Mon Sep 17 00:00:00 2001
+From b39e829bacedb6a80327ba31813aa24f05c721ba Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 3ab95f3d1cebc1e064e30f83ddef1453fbcd9ae1 ]
@@ -14 +16,0 @@
-Cc: stable at dpdk.org
@@ -22 +24 @@
-index 0eca003282..b5d0c2e036 100644
+index 92106bf374..7e07805ea3 100644
@@ -25 +27 @@
-@@ -592,8 +592,8 @@ testsuite_teardown(void)
+@@ -580,8 +580,8 @@ testsuite_teardown(void)
More information about the stable
mailing list