[1/2] common/iavf: fix hw mac type for 710 NIC
Checks
Commit Message
Fix hw mac type according to PCI ID list.
Fixes: eb385183edac ("net/iavf/base: update device IDs")
Cc: stable@dpdk.org
Signed-off-by: Wenjing Qiao <wenjing.qiao@intel.com>
---
drivers/common/iavf/iavf_common.c | 2 ++
1 file changed, 2 insertions(+)
@@ -27,6 +27,8 @@ enum iavf_status iavf_set_mac_type(struct iavf_hw *hw)
break;
case IAVF_DEV_ID_VF:
case IAVF_DEV_ID_VF_HV:
+ hw->mac.type = IAVF_MAC_XL710;
+ break;
case IAVF_DEV_ID_ADAPTIVE_VF:
hw->mac.type = IAVF_MAC_VF;
break;