patch 'net/ice: fix MAC type of E822 and E823' has been queued to stable release 22.11.3

Xueming Li xuemingl at nvidia.com
Thu Aug 10 01:48:04 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 08/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/commit/?h=22.11-staging&id=15b67727caa8f290b2ee4b6304628818a705c1c0

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 15b67727caa8f290b2ee4b6304628818a705c1c0 Mon Sep 17 00:00:00 2001
From: Kaiwen Deng <kaiwenx.deng at intel.com>
Date: Fri, 16 Jun 2023 10:05:31 +0800
Subject: [PATCH] net/ice: fix MAC type of E822 and E823
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 9749dffe23c6d66e441daad1dab4f49a01ab5296 ]

E822 and E823 get the wrong mac type, which prevents
the ddp package from loading correctly.

This commit fixes the mac type of E822 and E823.

Fixes: 084e64e6b600 ("net/ice/base: set MAC type for E823C device")

Signed-off-by: Kaiwen Deng <kaiwenx.deng at intel.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
---
 drivers/net/ice/base/ice_common.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c
index 1a02aad869..a327a4b374 100644
--- a/drivers/net/ice/base/ice_common.c
+++ b/drivers/net/ice/base/ice_common.c
@@ -167,6 +167,8 @@ static enum ice_status ice_set_mac_type(struct ice_hw *hw)
 	case ICE_DEV_ID_E823C_QSFP:
 	case ICE_DEV_ID_E823C_SFP:
 	case ICE_DEV_ID_E823C_SGMII:
+		hw->mac_type = ICE_MAC_GENERIC;
+		break;
 	case ICE_DEV_ID_E824S:
 	case ICE_DEV_ID_E825C_BACKPLANE:
 	case ICE_DEV_ID_E825C_QSFP:
-- 
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-08-09 21:51:19.319491700 +0800
+++ 0042-net-ice-fix-MAC-type-of-E822-and-E823.patch	2023-08-09 21:51:18.184352000 +0800
@@ -1 +1 @@
-From 9749dffe23c6d66e441daad1dab4f49a01ab5296 Mon Sep 17 00:00:00 2001
+From 15b67727caa8f290b2ee4b6304628818a705c1c0 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 9749dffe23c6d66e441daad1dab4f49a01ab5296 ]
@@ -12 +14,0 @@
-Cc: stable at dpdk.org
@@ -21 +23 @@
-index 0f26f1d854..8867279c28 100644
+index 1a02aad869..a327a4b374 100644


More information about the stable mailing list