All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Qiu <michael.qiu@intel.com>
To: dev@dpdk.org
Subject: [PATCH 1/2] fm10k: Add Atwood Channel Support
Date: Mon, 11 Jan 2016 15:28:00 +0800	[thread overview]
Message-ID: <1452497281-21855-1-git-send-email-michael.qiu@intel.com> (raw)

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

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(+)

diff --git a/drivers/net/fm10k/base/fm10k_osdep.h b/drivers/net/fm10k/base/fm10k_osdep.h
index 6852ef0..9cb46ff 100644
--- a/drivers/net/fm10k/base/fm10k_osdep.h
+++ b/drivers/net/fm10k/base/fm10k_osdep.h
@@ -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)
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 e31b934..cb0d177 100644
--- a/lib/librte_eal/common/include/rte_pci_dev_ids.h
+++ b/lib/librte_eal/common/include/rte_pci_dev_ids.h
@@ -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

             reply	other threads:[~2016-01-11  7:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-11  7:28 Michael Qiu [this message]
2016-01-11  7:28 ` [PATCH 2/2] fm10k: update doc for Atwood Channel Michael Qiu
2016-01-12 13:31   ` Mcnamara, John
2016-02-03  7:25   ` Chen, Jing D
2016-01-12 13:31 ` [PATCH 1/2] fm10k: Add Atwood Channel Support Mcnamara, John
2016-02-04  8:36 ` [PATCH 1/2 v2] " Michael Qiu
2016-02-04  8:36   ` [PATCH 2/2 v2] fm10k: update doc for Atwood Channel Michael Qiu
2016-02-04  9:03     ` Thomas Monjalon
2016-02-05  5:04       ` Qiu, Michael
2016-02-04  8:40   ` [PATCH 1/2 v2] fm10k: Add Atwood Channel Support Chen, Jing D
2016-02-04 13:55   ` Liu, Yong
2016-03-09  8:56   ` Qiu, Michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1452497281-21855-1-git-send-email-michael.qiu@intel.com \
    --to=michael.qiu@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.