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

* [PATCH v2] common/iavf: fix hw mac type for 710 NIC
  2023-07-12  7:01 [PATCH 1/2] common/iavf: fix hw mac type for 710 NIC Wenjing Qiao
@ 2023-07-12  7:38 ` Wenjing Qiao
  2023-07-13  9:23   ` Zhang, Qi Z
  0 siblings, 1 reply; 3+ messages in thread
From: Wenjing Qiao @ 2023-07-12  7:38 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

* RE: [PATCH v2] common/iavf: fix hw mac type for 710 NIC
  2023-07-12  7:38 ` [PATCH v2] " Wenjing Qiao
@ 2023-07-13  9:23   ` Zhang, Qi Z
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang, Qi Z @ 2023-07-13  9:23 UTC (permalink / raw)
  To: Qiao, Wenjing, Wu, Jingjing, Xing, Beilei; +Cc: dev, Qiao, Wenjing, stable



> -----Original Message-----
> From: Wenjing Qiao <wenjing.qiao@intel.com>
> Sent: Wednesday, July 12, 2023 3:38 PM
> To: Wu, Jingjing <jingjing.wu@intel.com>; Xing, Beilei <beilei.xing@intel.com>
> Cc: dev@dpdk.org; Qiao, Wenjing <wenjing.qiao@intel.com>;
> stable@dpdk.org
> Subject: [PATCH v2] common/iavf: fix hw mac type for 710 NIC
> 
> 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>

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

Applied to dpdk-next-net-intel.

Thanks
Qi

^ 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).