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: sta...@dpdk.org Signed-off-by: Kaiwen Deng <kaiwenx.d...@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