Skip to contentSkip to conversation

fm10k: add Intel Boulder Rapid NIC support

PATCH Superseded Michael Qiu 4 participants 8 messages Sep 25, 2015 – Oct 29, 2015 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fm10k: add Intel Boulder Rapid NIC support

Boulder Rapid is Intel new NIC within fm10k family. This patch make DPDK driver support this new NIC.

---
 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 64f09dc..4ba96f1 100644
@@ -44,6 +44,10 @@ POSSIBILITY OF SUCH DAMAGE.
 /* TODO: this does not look like it should be used... */
 #define ERROR_REPORT2(v1, v2, v3)   do { } while (0)
 
+#ifndef BOULDER_RAPIDS_HW
+#define BOULDER_RAPIDS_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 cf2cf70..b2d6964 100644
@@ -510,8 +510,10 @@ RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_10G_BASE_T)
 /*************** Physical FM10K devices from fm10k_type.h ***************/
 
 #define FM10K_DEV_ID_PF                   0x15A4
+#define FM10K_DEV_ID_SDI_FM10420_QDA2     0x15D0
 
 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)
 
 /****************** Virtual IGB devices from e1000_hw.h ******************/
 
Signature · 1 line
1.9.3
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Michael Qiu
Sent: Friday, September 25, 2015 10:31 AM
To: [email protected]
Subject: [dpdk-dev] [PATCH] fm10k: add Intel Boulder Rapid NIC support

Quoted 4 lines

Boulder Rapid is Intel new NIC within fm10k family. This patch make DPDK driver support this new NIC.

Acked-by on v1 1/1
#2 lore raw
In reply to Michael Qiu
Quoted 11 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Michael Qiu
Sent: Friday, September 25, 2015 10:31 AM
To: [email protected]
Subject: [dpdk-dev] [PATCH] fm10k: add Intel Boulder Rapid NIC support

Boulder Rapid is Intel new NIC within fm10k family. This patch make DPDK driver support this new NIC.

#3 lore raw

v2 cover Intel new NIC Boulder Rapid support

In reply to Michael Qiu

Boulder Rapid is a new 100G NIC of Intel fm10k family, this patch set enable it in DPDK.

change log:
V2 --> v1
update the release notes

Michael Qiu (2):
fm10k: add Intel Boulder Rapid NIC support
doc: release note update for Boulder Rapid Support

 doc/guides/rel_notes/release_2_2.rst            | 3 +++
 drivers/net/fm10k/base/fm10k_osdep.h            | 4 ++++
 lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++
 3 files changed, 9 insertions(+)
Signature · 1 line
1.9.3
#4 lore raw

PATCH v2 1/2 fm10k: add Intel Boulder Rapid NIC support

Boulder Rapid is Intel new NIC within fm10k family. This patch make DPDK driver support this new NIC.

---
 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 64f09dc..4ba96f1 100644
@@ -44,6 +44,10 @@ POSSIBILITY OF SUCH DAMAGE.
 /* TODO: this does not look like it should be used... */
 #define ERROR_REPORT2(v1, v2, v3)   do { } while (0)
 
+#ifndef BOULDER_RAPIDS_HW
+#define BOULDER_RAPIDS_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 265e66c..5a44cbe 100644
@@ -516,8 +516,10 @@ RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_DEV_ID_10G_BASE_T4)
 /*************** Physical FM10K devices from fm10k_type.h ***************/
 
 #define FM10K_DEV_ID_PF                   0x15A4
+#define FM10K_DEV_ID_SDI_FM10420_QDA2     0x15D0
 
 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)
 
 /****************** Virtual IGB devices from e1000_hw.h ******************/
 
Signature · 1 line
1.9.3
#5 lore raw

PATCH v2 2/2 doc: release note update for Boulder Rapid Support

In reply to Michael Qiu

Update the release note for Intel's new NIC Boulder Rapid.

---
 doc/guides/rel_notes/release_2_2.rst | 3 +++
 1 file changed, 3 insertions(+)
doc/guides/rel_notes/release_2_2.rst +3 -0
index ab1c25f..7b34786 100644
@@ -9,6 +9,9 @@ New Features
   *  Added support for Jumbo Frames.
   *  Optimize forwarding performance for Chelsio T5 40GbE cards.
 
+* **Intel new NIC Boulder Rapid support.**
+
+  Boulder Rapid is a new NIC of Intel's fm10k family.
 
 Resolved Issues
 ---------------
Signature · 1 line
1.9.3
Acked-by on the v2 series
#6 lore raw

Re: [PATCH v2 0/2] Intel new NIC Boulder Rapid support

In reply to Michael Qiu
Quoted 19 lines

-----Original Message-----
From: Qiu, Michael
Sent: Monday, October 26, 2015 12:54 PM
To: [email protected]
Cc: He, Shaopeng; Chen, Jing D; Qiu, Michael
Subject: [PATCH v2 0/2] Intel new NIC Boulder Rapid support

Boulder Rapid is a new 100G NIC of Intel fm10k family, this patch set enable it in DPDK.

change log:
V2 --> v1
update the release notes

Michael Qiu (2):
fm10k: add Intel Boulder Rapid NIC support
doc: release note update for Boulder Rapid Support

Quoted 7 lines
 doc/guides/rel_notes/release_2_2.rst            | 3 +++
 drivers/net/fm10k/base/fm10k_osdep.h            | 4 ++++
 lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++
 3 files changed, 9 insertions(+)

--
1.9.3

#7 lore raw

Re: [PATCH v2 0/2] Intel new NIC Boulder Rapid support

In reply to Michael Qiu

2015-10-26 12:53, Michael Qiu:

Quoted 10 lines

Boulder Rapid is a new 100G NIC of Intel fm10k family, this patch set enable it in DPDK.

change log:
V2 --> v1
update the release notes

Michael Qiu (2):
fm10k: add Intel Boulder Rapid NIC support
doc: release note update for Boulder Rapid Support

Applied, thanks