patch 'event/cnxk: fix Tx adapter data pointer' has been queued to stable release 22.11.3

Xueming Li xuemingl at nvidia.com
Sun Jun 25 08:35:13 CEST 2023


Hi,

FYI, your patch has been queued to stable release 22.11.3

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/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/commit/?h=22.11-staging&id=338514e55879fbe9148070cc9938e86fa3b4324f

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 338514e55879fbe9148070cc9938e86fa3b4324f Mon Sep 17 00:00:00 2001
From: Rahul Bhansali <rbhansali at marvell.com>
Date: Thu, 18 May 2023 21:19:00 +0530
Subject: [PATCH] event/cnxk: fix Tx adapter data pointer
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit f862532a6035818e196b132f437ebcad484ed270 ]

event_inline_ipsec_autotest test application crashes when event inline IPsec
test ran for second time onwards. In case of event device cleanup,
Tx adapter data pointer is free but not set back to NULL, which causes
incomplete initialization on next run.

Fixes: 6a24c7c4bcd1 ("event/cnxk: add Tx adapter freeing")

Signed-off-by: Rahul Bhansali <rbhansali at marvell.com>
---
 drivers/event/cnxk/cnxk_eventdev_adptr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/event/cnxk/cnxk_eventdev_adptr.c b/drivers/event/cnxk/cnxk_eventdev_adptr.c
index 5ec436382c..e78d215630 100644
--- a/drivers/event/cnxk/cnxk_eventdev_adptr.c
+++ b/drivers/event/cnxk/cnxk_eventdev_adptr.c
@@ -635,6 +635,7 @@ cnxk_sso_tx_adapter_free(uint8_t id __rte_unused,
 	if (dev->tx_adptr_data_sz && dev->tx_adptr_active_mask == 0) {
 		dev->tx_adptr_data_sz = 0;
 		free(dev->tx_adptr_data);
+		dev->tx_adptr_data = NULL;
 	}
 
 	return 0;
-- 
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-06-25 14:32:01.071050700 +0800
+++ 0095-event-cnxk-fix-Tx-adapter-data-pointer.patch	2023-06-25 14:31:58.545773900 +0800
@@ -1 +1 @@
-From f862532a6035818e196b132f437ebcad484ed270 Mon Sep 17 00:00:00 2001
+From 338514e55879fbe9148070cc9938e86fa3b4324f Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit f862532a6035818e196b132f437ebcad484ed270 ]
@@ -12 +14,0 @@
-Cc: stable at dpdk.org
@@ -20 +22 @@
-index 6d975362e8..9a02026ea6 100644
+index 5ec436382c..e78d215630 100644


More information about the stable mailing list