DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/igc: support device I225-LMVP
@ 2023-05-26  8:23 Qiming Yang
  2023-06-07  0:55 ` Zhang, Qi Z
  0 siblings, 1 reply; 2+ messages in thread
From: Qiming Yang @ 2023-05-26  8:23 UTC (permalink / raw)
  To: dev; +Cc: Qiming Yang

Add support for I225-LMVP device.

Signed-off-by: Qiming Yang <qiming.yang@intel.com>
---
 drivers/net/igc/base/igc_api.c | 1 +
 drivers/net/igc/base/igc_hw.h  | 1 +
 drivers/net/igc/igc_ethdev.c   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/drivers/net/igc/base/igc_api.c b/drivers/net/igc/base/igc_api.c
index c9fc9ed4b0..228b8c8f0e 100644
--- a/drivers/net/igc/base/igc_api.c
+++ b/drivers/net/igc/base/igc_api.c
@@ -883,6 +883,7 @@ s32 igc_set_mac_type(struct igc_hw *hw)
 		mac->type = igc_i211;
 		break;
 	case IGC_DEV_ID_I225_LM:
+	case IGC_DEV_ID_I225_LMVP:
 	case IGC_DEV_ID_I225_V:
 	case IGC_DEV_ID_I225_K:
 	case IGC_DEV_ID_I225_I:
diff --git a/drivers/net/igc/base/igc_hw.h b/drivers/net/igc/base/igc_hw.h
index e919a11c02..83b7bcc1f6 100644
--- a/drivers/net/igc/base/igc_hw.h
+++ b/drivers/net/igc/base/igc_hw.h
@@ -161,6 +161,7 @@ struct igc_hw;
 #define IGC_DEV_ID_I210_SGMII_FLASHLESS	0x15F6
 #define IGC_DEV_ID_I211_COPPER		0x1539
 #define IGC_DEV_ID_I225_LM			0x15F2
+#define IGC_DEV_ID_I225_LMVP	 		0x5502
 #define IGC_DEV_ID_I225_V			0x15F3
 #define IGC_DEV_ID_I225_K			0x3100
 #define IGC_DEV_ID_I225_I			0x15F8
diff --git a/drivers/net/igc/igc_ethdev.c b/drivers/net/igc/igc_ethdev.c
index fab2ab6d1c..58c4f80927 100644
--- a/drivers/net/igc/igc_ethdev.c
+++ b/drivers/net/igc/igc_ethdev.c
@@ -107,6 +107,7 @@ static const struct rte_eth_desc_lim tx_desc_lim = {
 
 static const struct rte_pci_id pci_id_igc_map[] = {
 	{ RTE_PCI_DEVICE(IGC_INTEL_VENDOR_ID, IGC_DEV_ID_I225_LM) },
+	{ RTE_PCI_DEVICE(IGC_INTEL_VENDOR_ID, IGC_DEV_ID_I225_LMVP) },
 	{ RTE_PCI_DEVICE(IGC_INTEL_VENDOR_ID, IGC_DEV_ID_I225_V)  },
 	{ RTE_PCI_DEVICE(IGC_INTEL_VENDOR_ID, IGC_DEV_ID_I225_I)  },
 	{ RTE_PCI_DEVICE(IGC_INTEL_VENDOR_ID, IGC_DEV_ID_I225_IT)  },
-- 
2.25.1


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

* RE: [PATCH] net/igc: support device I225-LMVP
  2023-05-26  8:23 [PATCH] net/igc: support device I225-LMVP Qiming Yang
@ 2023-06-07  0:55 ` Zhang, Qi Z
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2023-06-07  0:55 UTC (permalink / raw)
  To: Yang, Qiming, dev; +Cc: Yang, Qiming



> -----Original Message-----
> From: Qiming Yang <qiming.yang@intel.com>
> Sent: Friday, May 26, 2023 4:23 PM
> To: dev@dpdk.org
> Cc: Yang, Qiming <qiming.yang@intel.com>
> Subject: [PATCH] net/igc: support device I225-LMVP
> 
> Add support for I225-LMVP device.
> 
> Signed-off-by: Qiming Yang <qiming.yang@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-07  0:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-26  8:23 [PATCH] net/igc: support device I225-LMVP Qiming Yang
2023-06-07  0:55 ` 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).