Skip to contentSkip to conversation

fm10k: Add Atwood Channel Support

PATCH Superseded Michael Qiu 5 participants 12 messages Jan 11, 2016 – Mar 9, 2016 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 fm10k: Add Atwood Channel Support

Atwood Channel is intel 25G NIC, and this patch add the support in DPDK.

---
 drivers/net/fm10k/base/fm10k_osdep.h            | 4 ++++
 lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++
 2 files changed, 6 insertions(+)
drivers/net/fm10k/base/fm10k_osdep.h +4 -0
index 6852ef0..9cb46ff 100644
@@ -48,6 +48,10 @@ POSSIBILITY OF SUCH DAMAGE.
 #define BOULDER_RAPIDS_HW
 #endif
 
+#ifndef ATWOOD_CHANNEL_HW
+#define ATWOOD_CHANNEL_HW
+#endif
+
 #define STATIC                  static
 #define DEBUGFUNC(F)            DEBUGOUT(F "\n");
 #define DEBUGOUT(S, args...)    PMD_DRV_LOG_RAW(DEBUG, S, ##args)
lib/librte_eal/common/include/rte_pci_dev_ids.h +2 -0
index e31b934..cb0d177 100644
@@ -530,9 +530,11 @@ RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_10G_BASE_T_X722)
 
 #define FM10K_DEV_ID_PF                   0x15A4
 #define FM10K_DEV_ID_SDI_FM10420_QDA2     0x15D0
+#define FM10K_DEV_ID_SDI_FM10420_DA2      0x15D5
 
 RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_PF)
 RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_SDI_FM10420_QDA2)
+RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_SDI_FM10420_DA2)
 
 /****************** Virtual IGB devices from e1000_hw.h ******************/
 
Signature · 1 line
1.9.3
#1 lore raw

PATCH 2/2 fm10k: update doc for Atwood Channel

Atwood Channel is 20GbE NIC and belongs to Intel FM10K family, update the doc for it.

---
 doc/guides/rel_notes/release_2_3.rst | 2 ++
 1 file changed, 2 insertions(+)
doc/guides/rel_notes/release_2_3.rst +2 -0
index 99de186..7dd9c0f 100644
@@ -3,7 +3,9 @@ DPDK Release 2.3
 
 New Features
 ------------
+* **New NIC Atwood Channel support.**
 
+  Added support for the Atwood Channel variant of Intel's fm10k NIC family.
 
 Resolved Issues
 ---------------
Signature · 1 line
1.9.3
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] fm10k: update doc for Atwood Channel

Quoted 10 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Michael Qiu
Sent: Monday, January 11, 2016 7:28 AM
To: [email protected]
Subject: [dpdk-dev] [PATCH 2/2] fm10k: update doc for Atwood Channel

Atwood Channel is 20GbE NIC and belongs to Intel FM10K family, update the doc for it.

#3 lore raw

Re: [PATCH 2/2] fm10k: update doc for Atwood Channel

In reply to Michael Qiu

Hi,

Best Regards,
Mark

Quoted 9 lines

-----Original Message-----
From: Qiu, Michael
Sent: Monday, January 11, 2016 3:28 PM
To: [email protected]
Cc: Chen, Jing D; Qiu, Michael
Subject: [PATCH 2/2] fm10k: update doc for Atwood Channel

Atwood Channel is 20GbE NIC and belongs to Intel FM10K family, update the doc for it.

There is a typo above. It's 25G, not 20.

Quoted 23 lines
---
 doc/guides/rel_notes/release_2_3.rst | 2 ++
 1 file changed, 2 insertions(+)
doc/guides/rel_notes/release_2_3.rst +2 -1
index 99de186..7dd9c0f 100644
@@ -3,7 +3,9 @@ DPDK Release 2.3
 
 New Features
 ------------
+* **New NIC Atwood Channel support.**
 
+  Added support for the Atwood Channel variant of Intel's fm10k NIC family.
 
 Resolved Issues
 ---------------
--

1.9.3

#5 lore raw

PATCH v2 1/2 fm10k: Add Atwood Channel Support

In reply to Michael Qiu

Atwood Channel is intel 25G NIC, and this patch add the support in DPDK.

---
 drivers/net/fm10k/base/fm10k_osdep.h            | 4 ++++
 lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++
 2 files changed, 6 insertions(+)
drivers/net/fm10k/base/fm10k_osdep.h +4 -0
index 6852ef0..9cb46ff 100644
@@ -48,6 +48,10 @@ POSSIBILITY OF SUCH DAMAGE.
 #define BOULDER_RAPIDS_HW
 #endif
 
+#ifndef ATWOOD_CHANNEL_HW
+#define ATWOOD_CHANNEL_HW
+#endif
+
 #define STATIC                  static
 #define DEBUGFUNC(F)            DEBUGOUT(F "\n");
 #define DEBUGOUT(S, args...)    PMD_DRV_LOG_RAW(DEBUG, S, ##args)
lib/librte_eal/common/include/rte_pci_dev_ids.h +2 -0
index e31b934..cb0d177 100644
@@ -530,9 +530,11 @@ RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_10G_BASE_T_X722)
 
 #define FM10K_DEV_ID_PF                   0x15A4
 #define FM10K_DEV_ID_SDI_FM10420_QDA2     0x15D0
+#define FM10K_DEV_ID_SDI_FM10420_DA2      0x15D5
 
 RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_PF)
 RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_SDI_FM10420_QDA2)
+RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_SDI_FM10420_DA2)
 
 /****************** Virtual IGB devices from e1000_hw.h ******************/
 
Signature · 1 line
1.9.3
#6 lore raw

PATCH v2 2/2 fm10k: update doc for Atwood Channel

Atwood Channel is 25GbE NIC and belongs to Intel FM10K family, update the doc for it.

---
Change log:
1. modify 20GbE to 25GbE

 doc/guides/rel_notes/release_2_3.rst | 2 ++
 1 file changed, 2 insertions(+)
doc/guides/rel_notes/release_2_3.rst +2 -0
index 99de186..7dd9c0f 100644
@@ -3,7 +3,9 @@ DPDK Release 2.3
 
 New Features
 ------------
+* **New NIC Atwood Channel support.**
 
+  Added support for the Atwood Channel variant of Intel's fm10k NIC family.
 
 Resolved Issues
 ---------------
Signature · 1 line
1.9.3
#8 lore raw

Re: [PATCH 2/2 v2] fm10k: update doc for Atwood Channel

Quoted 10 lines · Thomas Monjalon

Hi Michael,

2016-02-04 16:36, Michael Qiu:

Quoted 5 lines

Atwood Channel is 25GbE NIC and belongs to Intel FM10K family, update the doc for it.

Next time, it would be better to send the doc changes and the related code changes in the same patch. Thanks

OK, I will do it next time.

Thanks,
Michael

Acked-by on v2 1/2
#9 lore raw
In reply to Michael Qiu

Hi,

Best Regards,
Mark

Quoted 7 lines

-----Original Message-----
From: Qiu, Michael
Sent: Thursday, February 04, 2016 4:36 PM
To: [email protected]
Cc: Chen, Jing D; Qiu, Michael
Subject: [PATCH 1/2 v2] fm10k: Add Atwood Channel Support

Quoted 5 lines

Atwood Channel is intel 25G NIC, and this patch add the support in DPDK.

Tested-by on v2 1/2
#10 lore raw
In reply to Michael Qiu
Quoted 55 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Michael Qiu
Sent: Thursday, February 04, 2016 4:36 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH 1/2 v2] fm10k: Add Atwood Channel Support

Atwood Channel is intel 25G NIC, and this patch add the support in DPDK.

---
 drivers/net/fm10k/base/fm10k_osdep.h            | 4 ++++
 lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++
 2 files changed, 6 insertions(+)
drivers/net/fm10k/base/fm10k_osdep.h +4 -0
index 6852ef0..9cb46ff 100644
@@ -48,6 +48,10 @@ POSSIBILITY OF SUCH DAMAGE.
 #define BOULDER_RAPIDS_HW
 #endif
 
+#ifndef ATWOOD_CHANNEL_HW
+#define ATWOOD_CHANNEL_HW
+#endif
+
 #define STATIC                  static
 #define DEBUGFUNC(F)            DEBUGOUT(F "\n");
 #define DEBUGOUT(S, args...)    PMD_DRV_LOG_RAW(DEBUG, S, ##args)
lib/librte_eal/common/include/rte_pci_dev_ids.h +2 -0
index e31b934..cb0d177 100644
@@ -530,9 +530,11 @@ RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL,
 I40E_DEV_ID_10G_BASE_T_X722)
 
 #define FM10K_DEV_ID_PF                   0x15A4
 #define FM10K_DEV_ID_SDI_FM10420_QDA2     0x15D0
+#define FM10K_DEV_ID_SDI_FM10420_DA2      0x15D5
 
 RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_PF)
 RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL,
 FM10K_DEV_ID_SDI_FM10420_QDA2)
+RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL,
 FM10K_DEV_ID_SDI_FM10420_DA2)

/****************** Virtual IGB devices from e1000_hw.h
******************/

--
1.9.3

#11 lore raw
In reply to Michael Qiu

Hi, Bruce

What about this patch?

Thanks,
Michael

Quoted 41 lines · Michael

Atwood Channel is intel 25G NIC, and this patch add the support in DPDK.

---
 drivers/net/fm10k/base/fm10k_osdep.h            | 4 ++++
 lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++
 2 files changed, 6 insertions(+)
drivers/net/fm10k/base/fm10k_osdep.h +4 -0
index 6852ef0..9cb46ff 100644
@@ -48,6 +48,10 @@ POSSIBILITY OF SUCH DAMAGE.
 #define BOULDER_RAPIDS_HW
 #endif
 
+#ifndef ATWOOD_CHANNEL_HW
+#define ATWOOD_CHANNEL_HW
+#endif
+
 #define STATIC                  static
 #define DEBUGFUNC(F)            DEBUGOUT(F "\n");
 #define DEBUGOUT(S, args...)    PMD_DRV_LOG_RAW(DEBUG, S, ##args)
lib/librte_eal/common/include/rte_pci_dev_ids.h +2 -0
index e31b934..cb0d177 100644
@@ -530,9 +530,11 @@ RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_10G_BASE_T_X722)
 
 #define FM10K_DEV_ID_PF                   0x15A4
 #define FM10K_DEV_ID_SDI_FM10420_QDA2     0x15D0
+#define FM10K_DEV_ID_SDI_FM10420_DA2      0x15D5
 
 RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_PF)
 RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_SDI_FM10420_QDA2)
+RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_SDI_FM10420_DA2)
 
 /****************** Virtual IGB devices from e1000_hw.h ******************/