patch 'examples/ipsec-secgw: fix offload variable init' has been queued to stable release 22.11.2

Xueming Li xuemingl at nvidia.com
Sun Apr 9 17:24:42 CEST 2023


Hi,

FYI, your patch has been queued to stable release 22.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 04/11/23. 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://git.dpdk.org/dpdk-stable/log/?h=22.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging/commit/8160c206caad63df931f6ddad66186d38ff6b9a9

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 8160c206caad63df931f6ddad66186d38ff6b9a9 Mon Sep 17 00:00:00 2001
From: Nithin Dabilpuram <ndabilpuram at marvell.com>
Date: Fri, 3 Mar 2023 13:50:03 +0530
Subject: [PATCH] examples/ipsec-secgw: fix offload variable init
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit e9a4d497a1d6c298e677159b22995fe4e9d4bfd5 ]

Fix uninitialized hw_reassembly offload variable.

Fixes: d8d51d4f9bf5 ("examples/ipsec-secgw: support per SA HW reassembly")

Signed-off-by: Nithin Dabilpuram <ndabilpuram at marvell.com>
---
 examples/ipsec-secgw/sa.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c
index 001762bea9..45cd29f18b 100644
--- a/examples/ipsec-secgw/sa.c
+++ b/examples/ipsec-secgw/sa.c
@@ -1829,6 +1829,7 @@ sa_check_offloads(uint16_t port_id, uint64_t *rx_offloads,
 
 	*rx_offloads = 0;
 	*tx_offloads = 0;
+	*hw_reassembly = 0;
 
 	ret = rte_eth_dev_info_get(port_id, &dev_info);
 	if (ret != 0)
-- 
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-04-09 21:45:41.178372100 +0800
+++ 0094-examples-ipsec-secgw-fix-offload-variable-init.patch	2023-04-09 21:45:38.719042200 +0800
@@ -1 +1 @@
-From e9a4d497a1d6c298e677159b22995fe4e9d4bfd5 Mon Sep 17 00:00:00 2001
+From 8160c206caad63df931f6ddad66186d38ff6b9a9 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit e9a4d497a1d6c298e677159b22995fe4e9d4bfd5 ]
@@ -9 +11,0 @@
-Cc: stable at dpdk.org
@@ -17 +19 @@
-index d23bdd20f3..5f5d2685f6 100644
+index 001762bea9..45cd29f18b 100644
@@ -20 +22 @@
-@@ -1832,6 +1832,7 @@ sa_check_offloads(uint16_t port_id, uint64_t *rx_offloads,
+@@ -1829,6 +1829,7 @@ sa_check_offloads(uint16_t port_id, uint64_t *rx_offloads,


More information about the stable mailing list