* [PATCH] net/e1000: support device I219
@ 2023-05-30 9:54 Qiming Yang
2023-06-07 0:55 ` Zhang, Qi Z
0 siblings, 1 reply; 2+ messages in thread
From: Qiming Yang @ 2023-05-30 9:54 UTC (permalink / raw)
To: dev; +Cc: Qiming Yang
support device I219 LM22, V22, LM23 and V23.
Signed-off-by: Qiming Yang <qiming.yang@intel.com>
---
drivers/net/e1000/em_ethdev.c | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c
index 8ee9be12ad..0afedcd00c 100644
--- a/drivers/net/e1000/em_ethdev.c
+++ b/drivers/net/e1000/em_ethdev.c
@@ -155,6 +155,10 @@ static const struct rte_pci_id pci_id_em_map[] = {
{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_CNP_I219_V6) },
{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_CNP_I219_LM7) },
{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_CNP_I219_V7) },
+ { RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_RPL_I219_LM22) },
+ { RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_RPL_I219_V22) },
+ { RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_RPL_I219_LM23) },
+ { RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_RPL_I219_V23) },
{ .vendor_id = 0, /* sentinel */ },
};
@@ -227,6 +231,11 @@ eth_em_dev_is_ich8(struct e1000_hw *hw)
case E1000_DEV_ID_PCH_CNP_I219_V6:
case E1000_DEV_ID_PCH_CNP_I219_LM7:
case E1000_DEV_ID_PCH_CNP_I219_V7:
+ case E1000_DEV_ID_PCH_RPL_I219_LM22:
+ case E1000_DEV_ID_PCH_RPL_I219_V22:
+ case E1000_DEV_ID_PCH_RPL_I219_LM23:
+ case E1000_DEV_ID_PCH_RPL_I219_V23:
+
return 1;
default:
return 0;
@@ -482,6 +491,8 @@ em_set_pba(struct e1000_hw *hw)
case e1000_pch_lpt:
case e1000_pch_spt:
case e1000_pch_cnp:
+ case e1000_pch_adp:
+ case e1000_pch_tgp:
pba = E1000_PBA_26K;
break;
default:
@@ -852,7 +863,9 @@ em_hardware_init(struct e1000_hw *hw)
hw->fc.refresh_time = 0x0400;
} else if (hw->mac.type == e1000_pch_lpt ||
hw->mac.type == e1000_pch_spt ||
- hw->mac.type == e1000_pch_cnp) {
+ hw->mac.type == e1000_pch_cnp ||
+ hw->mac.type == e1000_pch_adp ||
+ hw->mac.type == e1000_pch_tgp) {
hw->fc.requested_mode = e1000_fc_full;
}
@@ -1033,6 +1046,8 @@ em_get_max_pktlen(struct rte_eth_dev *dev)
case e1000_pch_lpt:
case e1000_pch_spt:
case e1000_pch_cnp:
+ case e1000_pch_adp:
+ case e1000_pch_tgp:
case e1000_82574:
case e1000_80003es2lan: /* 9K Jumbo Frame size */
case e1000_82583:
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [PATCH] net/e1000: support device I219
2023-05-30 9:54 [PATCH] net/e1000: support device I219 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: Tuesday, May 30, 2023 5:54 PM
> To: dev@dpdk.org
> Cc: Yang, Qiming <qiming.yang@intel.com>
> Subject: [PATCH] net/e1000: support device I219
>
> support device I219 LM22, V22, LM23 and V23.
>
> 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:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-30 9:54 [PATCH] net/e1000: support device I219 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).