[dpdk-dev] fm10k: add Intel Boulder Rapid NIC support

Message ID 1443148283-6818-1-git-send-email-michael.qiu@intel.com (mailing list archive)
State Superseded, archived
Headers

Commit Message

Michael Qiu Sept. 25, 2015, 2:31 a.m. UTC
  Boulder Rapid is Intel new NIC within fm10k family.
This patch make DPDK driver support this new NIC.

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
---
 drivers/net/fm10k/base/fm10k_osdep.h            | 4 ++++
 lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++
 2 files changed, 6 insertions(+)
  

Comments

Chen, Jing D Oct. 15, 2015, 5:25 a.m. UTC | #1
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Michael Qiu
> Sent: Friday, September 25, 2015 10:31 AM
> To: dev@dpdk.org
> 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.
> 
> Signed-off-by: Michael Qiu <michael.qiu@intel.com>


Acked-by : Jing Chen <jing.d.chen@intel.com>
  
He, Shaopeng Oct. 19, 2015, 8:44 a.m. UTC | #2
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Michael Qiu
> Sent: Friday, September 25, 2015 10:31 AM
> To: dev@dpdk.org
> 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.
> 
> Signed-off-by: Michael Qiu <michael.qiu@intel.com>

Acked-by : Shaopeng He <shaopeng.he@intel.com>
  
Michael Qiu Oct. 26, 2015, 4:53 a.m. UTC | #3
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(+)
  
He, Shaopeng Oct. 28, 2015, 8:29 a.m. UTC | #4
> -----Original Message-----
> From: Qiu, Michael
> Sent: Monday, October 26, 2015 12:54 PM
> To: dev@dpdk.org
> 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
> 
>  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

Acked-by : Shaopeng He <shaopeng.he@intel.com>
  
Thomas Monjalon Oct. 29, 2015, 10:45 p.m. UTC | #5
2015-10-26 12:53, 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

Applied, thanks
  

Patch

diff --git a/drivers/net/fm10k/base/fm10k_osdep.h b/drivers/net/fm10k/base/fm10k_osdep.h
index 64f09dc..4ba96f1 100644
--- a/drivers/net/fm10k/base/fm10k_osdep.h
+++ b/drivers/net/fm10k/base/fm10k_osdep.h
@@ -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)
diff --git a/lib/librte_eal/common/include/rte_pci_dev_ids.h b/lib/librte_eal/common/include/rte_pci_dev_ids.h
index cf2cf70..b2d6964 100644
--- a/lib/librte_eal/common/include/rte_pci_dev_ids.h
+++ b/lib/librte_eal/common/include/rte_pci_dev_ids.h
@@ -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 ******************/