DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] common/iavf: fix hw mac type for 710 NIC
@ 2023-07-12  7:01 Wenjing Qiao
  2023-07-12  7:38 ` [PATCH v2] " Wenjing Qiao
  0 siblings, 1 reply; 3+ messages in thread
From: Wenjing Qiao @ 2023-07-12  7:01 UTC (permalink / raw)
  To: jingjing.wu, beilei.xing; +Cc: dev, Wenjing Qiao, stable

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(+)

diff --git a/drivers/common/iavf/iavf_common.c b/drivers/common/iavf/iavf_common.c
index 855a0ab2f5..dc7662bc1b 100644
--- a/drivers/common/iavf/iavf_common.c
+++ b/drivers/common/iavf/iavf_common.c
@@ -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;
-- 
2.34.1


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

end of thread, other threads:[~2023-07-13  9:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-12  7:01 [PATCH 1/2] common/iavf: fix hw mac type for 710 NIC Wenjing Qiao
2023-07-12  7:38 ` [PATCH v2] " Wenjing Qiao
2023-07-13  9:23   ` 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).