Skip to contentSkip to conversation

net/ice/base: support E824S and E825 devices

PATCH Applied Robin Zhang 3 participants 9 messages Dec 29, 2021 – Feb 25, 2022 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/ice/base: support E824S and E825 devices

Add support for E824S and E825 family devices.

---
 drivers/net/ice/base/ice_common.c |  6 ++++++
 drivers/net/ice/base/ice_devids.h | 13 +++++++++++++
 drivers/net/ice/ice_ethdev.c      |  6 ++++++
 3 files changed, 25 insertions(+)
drivers/net/ice/base/ice_common.c +6 -0
index ae55bebaa2..db87bacd97 100644
@@ -167,6 +167,12 @@ static enum ice_status ice_set_mac_type(struct ice_hw *hw)
 	case ICE_DEV_ID_E823C_QSFP:
 	case ICE_DEV_ID_E823C_SFP:
 	case ICE_DEV_ID_E823C_SGMII:
+	case ICE_DEV_ID_E824S:
+	case ICE_DEV_ID_E825C_BACKPLANE:
+	case ICE_DEV_ID_E825C_QSFP:
+	case ICE_DEV_ID_E825C_SFP:
+	case ICE_DEV_ID_E825C_1GBE:
+	case ICE_DEV_ID_E825X:
 		hw->mac_type = ICE_MAC_GENERIC;
 		break;
 	default:
drivers/net/ice/base/ice_devids.h +13 -0
index e52bb71403..96f2528c5e 100644
@@ -58,5 +58,18 @@
 #define ICE_DEV_ID_E822L_10G_BASE_T	0x1899
 /* Intel(R) Ethernet Connection E822-L 1GbE */
 #define ICE_DEV_ID_E822L_SGMII		0x189A
+/* Intel(R) Ethernet Connection E824-S */
+#define ICE_DEV_ID_E824S		0x0DBD
+/* Intel(R) Ethernet Connection E825-C for backplane */
+#define ICE_DEV_ID_E825C_BACKPLANE	0x579C
+/* Intel(R) Ethernet Connection E825-C for QSFP */
+#define ICE_DEV_ID_E825C_QSFP	        0x579D
+/* Intel(R) Ethernet Connection E825-C for SFP */
+#define ICE_DEV_ID_E825C_SFP	        0x579E
+/* Intel(R) Ethernet Connection E825-C 1GbE */
+#define ICE_DEV_ID_E825C_1GBE	        0x579F
+/* Intel(R) Ethernet Connection E825-X */
+#define ICE_DEV_ID_E825X	        0x0DCD
+
 
 #endif /* _ICE_DEVIDS_H_ */
drivers/net/ice/ice_ethdev.c +6 -0
index 13a7a9702a..e9a28faa72 100644
@@ -192,6 +192,12 @@ static const struct rte_pci_id pci_id_ice_map[] = {
 	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_SFP) },
 	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_10G_BASE_T) },
 	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_SGMII) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E824S) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825C_BACKPLANE) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825C_QSFP) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825C_SFP) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825C_1GBE) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825X) },
 	{ .vendor_id = 0, /* sentinel */ },
 };
 
Signature · 1 line
2.34.1
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 11 lines

-----Original Message-----
From: Zhang, RobinX <[email protected]>
Sent: Wednesday, December 29, 2021 5:26 PM
To: [email protected]
Cc: Yang, Qiming <[email protected]>; Zhang, Qi Z <[email protected]>; Guo, Junfeng <[email protected]>; Yang, SteveX <[email protected]>; Zhang, RobinX <[email protected]>
Subject: [PATCH] net/ice/base: support E824S and E825 devices

Quoted 3 lines

Add support for E824S and E825 family devices.

Applied to dpdk-next-net-intel.

Thanks
Qi

#3 lore raw
Quoted 6 lines · Ferruh Yigit
Quoted 3 lines · Robin Zhang

Add support for E824S and E825 family devices.

What do you think documenting these new device support on release notes?

Hi Qi,

There was a change request on this patch, it is
still pending, is it missed?

#4 lore raw

PATCH v2 1/1 net/ice/base: support E824S and E825 devices

In reply to Robin Zhang

Add support for E824S and E825 family devices.

---
 doc/guides/rel_notes/release_22_03.rst |  4 ++++
 drivers/net/ice/base/ice_common.c      |  6 ++++++
 drivers/net/ice/base/ice_devids.h      | 13 +++++++++++++
 drivers/net/ice/ice_ethdev.c           |  6 ++++++
 4 files changed, 29 insertions(+)
doc/guides/rel_notes/release_22_03.rst +4 -0
index 41923f50e6..63df1c78da 100644
@@ -118,6 +118,10 @@ New Features
   * Added PPPoL2TPv2oUDP FDIR distribute packets based on inner IP
     src/dst address and UDP/TCP src/dst port.
 
+* **Updated the Intel ice driver.**
+
+  * Added new device IDs to support E824S and E825 devices.
+
 * **Updated Wangxun ngbe driver.**
 
   * Added support for devices of custom PHY interfaces.
drivers/net/ice/base/ice_common.c +6 -0
index ae55bebaa2..db87bacd97 100644
@@ -167,6 +167,12 @@ static enum ice_status ice_set_mac_type(struct ice_hw *hw)
 	case ICE_DEV_ID_E823C_QSFP:
 	case ICE_DEV_ID_E823C_SFP:
 	case ICE_DEV_ID_E823C_SGMII:
+	case ICE_DEV_ID_E824S:
+	case ICE_DEV_ID_E825C_BACKPLANE:
+	case ICE_DEV_ID_E825C_QSFP:
+	case ICE_DEV_ID_E825C_SFP:
+	case ICE_DEV_ID_E825C_1GBE:
+	case ICE_DEV_ID_E825X:
 		hw->mac_type = ICE_MAC_GENERIC;
 		break;
 	default:
drivers/net/ice/base/ice_devids.h +13 -0
index e52bb71403..96f2528c5e 100644
@@ -58,5 +58,18 @@
 #define ICE_DEV_ID_E822L_10G_BASE_T	0x1899
 /* Intel(R) Ethernet Connection E822-L 1GbE */
 #define ICE_DEV_ID_E822L_SGMII		0x189A
+/* Intel(R) Ethernet Connection E824-S */
+#define ICE_DEV_ID_E824S		0x0DBD
+/* Intel(R) Ethernet Connection E825-C for backplane */
+#define ICE_DEV_ID_E825C_BACKPLANE	0x579C
+/* Intel(R) Ethernet Connection E825-C for QSFP */
+#define ICE_DEV_ID_E825C_QSFP	        0x579D
+/* Intel(R) Ethernet Connection E825-C for SFP */
+#define ICE_DEV_ID_E825C_SFP	        0x579E
+/* Intel(R) Ethernet Connection E825-C 1GbE */
+#define ICE_DEV_ID_E825C_1GBE	        0x579F
+/* Intel(R) Ethernet Connection E825-X */
+#define ICE_DEV_ID_E825X	        0x0DCD
+
 
 #endif /* _ICE_DEVIDS_H_ */
drivers/net/ice/ice_ethdev.c +6 -0
index 1a469afeac..13adcf90ed 100644
@@ -196,6 +196,12 @@ static const struct rte_pci_id pci_id_ice_map[] = {
 	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_SFP) },
 	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_10G_BASE_T) },
 	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_SGMII) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E824S) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825C_BACKPLANE) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825C_QSFP) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825C_SFP) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825C_1GBE) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825X) },
 	{ .vendor_id = 0, /* sentinel */ },
 };
 
Signature · 1 line
2.25.1
Acked-by on v2 1/1 Applied
#5 lore raw
Quoted 11 lines

-----Original Message-----
From: Zhang, RobinX <[email protected]>
Sent: Wednesday, February 16, 2022 3:45 PM
To: [email protected]
Cc: Yang, Qiming <[email protected]>; Zhang, Qi Z <[email protected]>; Guo, Junfeng <[email protected]>; Yang, SteveX <[email protected]>; Zhang, RobinX <[email protected]>
Subject: [PATCH v2] net/ice/base: support E824S and E825 devices

Quoted 3 lines

Add support for E824S and E825 family devices.

Applied to dpdk-next-net-intel.

Thanks
Qi

#6 lore raw
Quoted 11 lines · Qi Z
Quoted 11 lines

-----Original Message-----
From: Zhang, RobinX <[email protected]>
Sent: Wednesday, February 16, 2022 3:45 PM
To: [email protected]
Cc: Yang, Qiming <[email protected]>; Zhang, Qi Z <[email protected]>; Guo, Junfeng <[email protected]>; Yang, SteveX <[email protected]>; Zhang, RobinX <[email protected]>
Subject: [PATCH v2] net/ice/base: support E824S and E825 devices

Quoted 8 lines
Quoted 3 lines

Add support for E824S and E825 family devices.

Applied to dpdk-next-net-intel.

Hi Qi, Robin,

The apply note is on v2, but v1 seems merged to your tree, omitting release notes update (which was the request on v1).

I guess you don't want to document it in release notes since devices are still under test and it will be documented later when device support is matured, is this correct?
If so can you please clarify this in the commit log with a new version of patch?

#7 lore raw

PATCH v3 1/1 net/ice/base: support E824S and E825 devices

In reply to Robin Zhang

Add support for E824S and E825 family devices.

This will be documented later in release notes due to we don't have mature product now.

---

v3:
- refine commit message.

 drivers/net/ice/base/ice_common.c |  6 ++++++
 drivers/net/ice/base/ice_devids.h | 13 +++++++++++++
 drivers/net/ice/ice_ethdev.c      |  6 ++++++
 3 files changed, 25 insertions(+)
drivers/net/ice/base/ice_common.c +6 -0
index ae55bebaa2..db87bacd97 100644
@@ -167,6 +167,12 @@ static enum ice_status ice_set_mac_type(struct ice_hw *hw)
 	case ICE_DEV_ID_E823C_QSFP:
 	case ICE_DEV_ID_E823C_SFP:
 	case ICE_DEV_ID_E823C_SGMII:
+	case ICE_DEV_ID_E824S:
+	case ICE_DEV_ID_E825C_BACKPLANE:
+	case ICE_DEV_ID_E825C_QSFP:
+	case ICE_DEV_ID_E825C_SFP:
+	case ICE_DEV_ID_E825C_1GBE:
+	case ICE_DEV_ID_E825X:
 		hw->mac_type = ICE_MAC_GENERIC;
 		break;
 	default:
drivers/net/ice/base/ice_devids.h +13 -0
index e52bb71403..96f2528c5e 100644
@@ -58,5 +58,18 @@
 #define ICE_DEV_ID_E822L_10G_BASE_T	0x1899
 /* Intel(R) Ethernet Connection E822-L 1GbE */
 #define ICE_DEV_ID_E822L_SGMII		0x189A
+/* Intel(R) Ethernet Connection E824-S */
+#define ICE_DEV_ID_E824S		0x0DBD
+/* Intel(R) Ethernet Connection E825-C for backplane */
+#define ICE_DEV_ID_E825C_BACKPLANE	0x579C
+/* Intel(R) Ethernet Connection E825-C for QSFP */
+#define ICE_DEV_ID_E825C_QSFP	        0x579D
+/* Intel(R) Ethernet Connection E825-C for SFP */
+#define ICE_DEV_ID_E825C_SFP	        0x579E
+/* Intel(R) Ethernet Connection E825-C 1GbE */
+#define ICE_DEV_ID_E825C_1GBE	        0x579F
+/* Intel(R) Ethernet Connection E825-X */
+#define ICE_DEV_ID_E825X	        0x0DCD
+
 
 #endif /* _ICE_DEVIDS_H_ */
drivers/net/ice/ice_ethdev.c +6 -0
index 1a469afeac..13adcf90ed 100644
@@ -196,6 +196,12 @@ static const struct rte_pci_id pci_id_ice_map[] = {
 	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_SFP) },
 	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_10G_BASE_T) },
 	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E822L_SGMII) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E824S) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825C_BACKPLANE) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825C_QSFP) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825C_SFP) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825C_1GBE) },
+	{ RTE_PCI_DEVICE(ICE_INTEL_VENDOR_ID, ICE_DEV_ID_E825X) },
 	{ .vendor_id = 0, /* sentinel */ },
 };
 
Signature · 1 line
2.25.1