DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/ice: fix the mac type of E822 and E823
@ 2023-06-16  2:05 Kaiwen Deng
  2023-06-19  0:50 ` Zhang, Qi Z
  0 siblings, 1 reply; 2+ messages in thread
From: Kaiwen Deng @ 2023-06-16  2:05 UTC (permalink / raw)
  To: dev
  Cc: stable, qiming.yang, yidingx.zhou, Kaiwen Deng, Qi Zhang,
	Anirudh Venkataramanan

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")
Cc: stable@dpdk.org

Signed-off-by: Kaiwen Deng <kaiwenx.deng@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 0f26f1d854..8867279c28 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.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH] net/ice: fix the mac type of E822 and E823
  2023-06-16  2:05 [PATCH] net/ice: fix the mac type of E822 and E823 Kaiwen Deng
@ 2023-06-19  0:50 ` Zhang, Qi Z
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2023-06-19  0:50 UTC (permalink / raw)
  To: Deng, KaiwenX, dev
  Cc: stable, Yang, Qiming, Zhou, YidingX, Venkataramanan, Anirudh



> -----Original Message-----
> From: Deng, KaiwenX <kaiwenx.deng@intel.com>
> Sent: Friday, June 16, 2023 10:06 AM
> To: dev@dpdk.org
> Cc: stable@dpdk.org; Yang, Qiming <qiming.yang@intel.com>; Zhou, YidingX
> <yidingx.zhou@intel.com>; Deng, KaiwenX <kaiwenx.deng@intel.com>;
> Zhang, Qi Z <qi.z.zhang@intel.com>; Venkataramanan, Anirudh
> <anirudh.venkataramanan@intel.com>
> 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.
> 
> This commit fixes the mac type of E822 and E823.
> 
> Fixes: 084e64e6b600 ("net/ice/base: set MAC type for E823C device")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Kaiwen Deng <kaiwenx.deng@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-19  0:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-16  2:05 [PATCH] net/ice: fix the mac type of E822 and E823 Kaiwen Deng
2023-06-19  0:50 ` Zhang, Qi Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).