patch 'net/nfp: free switch domain ID on close' has been queued to stable release 23.11.1

Xueming Li xuemingl at nvidia.com
Tue Mar 5 10:47:18 CET 2024


Hi,

FYI, your patch has been queued to stable release 23.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/31/24. 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=23.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=84e9d93f57b58a1959237c13bb9986e854937cb3

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 84e9d93f57b58a1959237c13bb9986e854937cb3 Mon Sep 17 00:00:00 2001
From: Long Wu <long.wu at corigine.com>
Date: Thu, 14 Dec 2023 18:24:31 +0800
Subject: [PATCH] net/nfp: free switch domain ID on close
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 20eaa8e2ebae621b32d740f6c0529e11d33519ff ]

Free domain id in close interface.

Fixes: e1124c4f8a45 ("net/nfp: add flower representor framework")

Signed-off-by: Long Wu <long.wu at corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
Reviewed-by: Peng Zhang <peng.zhang at corigine.com>
---
 drivers/net/nfp/flower/nfp_flower.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/nfp/flower/nfp_flower.c b/drivers/net/nfp/flower/nfp_flower.c
index 1dc9b4250b..326d36c3a9 100644
--- a/drivers/net/nfp/flower/nfp_flower.c
+++ b/drivers/net/nfp/flower/nfp_flower.c
@@ -814,6 +814,7 @@ nfp_uninit_app_fw_flower(struct nfp_pf_dev *pf_dev)
 	rte_free(app_fw_flower->pf_hw);
 	nfp_mtr_priv_uninit(pf_dev);
 	nfp_flow_priv_uninit(pf_dev);
+	rte_eth_switch_domain_free(app_fw_flower->switch_domain_id);
 	rte_free(app_fw_flower);
 }

--
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2024-03-05 17:39:33.916455597 +0800
+++ 0097-net-nfp-free-switch-domain-ID-on-close.patch	2024-03-05 17:39:30.863566496 +0800
@@ -1 +1 @@
-From 20eaa8e2ebae621b32d740f6c0529e11d33519ff Mon Sep 17 00:00:00 2001
+From 84e9d93f57b58a1959237c13bb9986e854937cb3 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 20eaa8e2ebae621b32d740f6c0529e11d33519ff ]
@@ -9 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +21 @@
-index 94b50611f0..88a1b061e1 100644
+index 1dc9b4250b..326d36c3a9 100644


More information about the stable mailing list