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

luca.boccassi at gmail.com luca.boccassi at gmail.com
Wed Mar 22 01:41:55 CET 2023


Hi,

FYI, your patch has been queued to stable release 20.11.8

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/23/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://github.com/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/8c1fc00c64cf3b7819799ce4c01ebc89e8d996d2

Thanks.

Luca Boccassi

---
>From 8c1fc00c64cf3b7819799ce4c01ebc89e8d996d2 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

[ 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 1ab05f4fbd..54d940c6f1 100644
--- a/drivers/net/ipn3ke/ipn3ke_ethdev.c
+++ b/drivers/net/ipn3ke/ipn3ke_ethdev.c
@@ -561,7 +561,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.39.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-03-21 21:56:37.796882918 +0000
+++ 0019-net-ipn3ke-fix-representor-name.patch	2023-03-21 21:56:37.088807384 +0000
@@ -1 +1 @@
-From f66141886fec510764d7be89a2787e8931a00b77 Mon Sep 17 00:00:00 2001
+From 8c1fc00c64cf3b7819799ce4c01ebc89e8d996d2 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit f66141886fec510764d7be89a2787e8931a00b77 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index 70a06a3b15..2c15611a23 100644
+index 1ab05f4fbd..54d940c6f1 100644
@@ -23 +24 @@
-@@ -558,7 +558,7 @@ static int ipn3ke_vswitch_remove(struct rte_afu_device *afu_dev)
+@@ -561,7 +561,7 @@ static int ipn3ke_vswitch_remove(struct rte_afu_device *afu_dev)


More information about the stable mailing list