net/ice: fix the mac type of E822 and E823
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.
--- drivers/net/ice/base/ice_common.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ice/base/ice_common.c +2 -0
@@ -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
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 E823E822 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")Signed-off-by Kaiwen Deng <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi