patch 'net/ipn3ke: fix representor name' has been queued to stable release 22.11.2

Xueming Li xuemingl at nvidia.com
Sun Apr 9 17:25:14 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/782eda8807d9b0d9dfa7d22629ad3cb0b637cd4c

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 782eda8807d9b0d9dfa7d22629ad3cb0b637cd4c Mon Sep 17 00:00:00 2001
From: Wei Huang <wei.huang at intel.com>
Date: Thu, 16 Mar 2023 16:44:56 -0400
Subject: [PATCH] net/ipn3ke: fix representor name
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit f66141886fec510764d7be89a2787e8931a00b77 ]

The device name used in rte_eth_dev_allocated() function
is afu device name instead of representor name, this patch
correct it.

Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver")

Signed-off-by: Wei Huang <wei.huang at intel.com>
Acked-by: Rosen Xu <rosen.xu at intel.com>
---
 drivers/net/ipn3ke/ipn3ke_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ipn3ke/ipn3ke_ethdev.c b/drivers/net/ipn3ke/ipn3ke_ethdev.c
index 70a06a3b15..2c15611a23 100644
--- a/drivers/net/ipn3ke/ipn3ke_ethdev.c
+++ b/drivers/net/ipn3ke/ipn3ke_ethdev.c
@@ -558,7 +558,7 @@ static int ipn3ke_vswitch_remove(struct rte_afu_device *afu_dev)
 		snprintf(name, sizeof(name), "net_%s_representor_%d",
 			afu_dev->device.name, i);
 
-		ethdev = rte_eth_dev_allocated(afu_dev->device.name);
+		ethdev = rte_eth_dev_allocated(name);
 		if (ethdev != NULL)
 			rte_eth_dev_destroy(ethdev, ipn3ke_rpst_uninit);
 	}
-- 
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-04-09 21:45:41.994103100 +0800
+++ 0126-net-ipn3ke-fix-representor-name.patch	2023-04-09 21:45:38.799042200 +0800
@@ -1 +1 @@
-From f66141886fec510764d7be89a2787e8931a00b77 Mon Sep 17 00:00:00 2001
+From 782eda8807d9b0d9dfa7d22629ad3cb0b637cd4c Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit f66141886fec510764d7be89a2787e8931a00b77 ]
@@ -11 +13,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list