Skip to contentSkip to conversation

net/ice: fix the mac type of E822 and E823

PATCH Applied Kaiwen Deng 2 participants 2 messages Jun 16, 2023 – Jun 19, 2023 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/ice: fix the mac type of E822 and E823

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")
---
 drivers/net/ice/base/ice_common.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/ice/base/ice_common.c +2 -0
index 0f26f1d854..8867279c28 100644
@@ -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:
Signature · 1 line
2.34.1
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 15 lines

-----Original Message-----
From: Deng, KaiwenX <[email protected]>
Sent: Friday, June 16, 2023 10:06 AM
To: [email protected]
Cc: [email protected]; Yang, Qiming <[email protected]>; Zhou, YidingX <[email protected]>; Deng, KaiwenX <[email protected]>; Zhang, Qi Z <[email protected]>; Venkataramanan, Anirudh <[email protected]>
Subject: [PATCH] net/ice: fix the mac type of E822 and E823

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

Quoted 6 lines

This commit fixes the mac type of E822 and E823.

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

Applied to dpdk-next-net-intel.

Thanks
Qi