From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 7A7F84A63 for ; Mon, 26 Oct 2015 05:54:09 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 25 Oct 2015 21:54:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,199,1444719600"; d="scan'208";a="587931318" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 25 Oct 2015 21:54:08 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t9Q4s5sZ031729; Mon, 26 Oct 2015 12:54:05 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t9Q4s2s9030415; Mon, 26 Oct 2015 12:54:04 +0800 Received: (from dayuqiu@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t9Q4s2Hu030411; Mon, 26 Oct 2015 12:54:02 +0800 From: Michael Qiu To: dev@dpdk.org Date: Mon, 26 Oct 2015 12:53:55 +0800 Message-Id: <1445835236-30374-2-git-send-email-michael.qiu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1445835236-30374-1-git-send-email-michael.qiu@intel.com> References: <1443148283-6818-1-git-send-email-michael.qiu@intel.com> <1445835236-30374-1-git-send-email-michael.qiu@intel.com> Subject: [dpdk-dev] [PATCH v2 1/2] fm10k: add Intel Boulder Rapid NIC support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2015 04:54:09 -0000 Boulder Rapid is Intel new NIC within fm10k family. This patch make DPDK driver support this new NIC. Signed-off-by: Michael Qiu Acked-by : Jing Chen Acked-by : Shaopeng He --- drivers/net/fm10k/base/fm10k_osdep.h | 4 ++++ lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++ 2 files changed, 6 insertions(+) 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 265e66c..5a44cbe 100644 --- a/lib/librte_eal/common/include/rte_pci_dev_ids.h +++ b/lib/librte_eal/common/include/rte_pci_dev_ids.h @@ -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 ******************/ -- 1.9.3