From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id C6F3211A2 for ; Wed, 9 Mar 2016 09:56:55 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 09 Mar 2016 00:56:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,310,1455004800"; d="scan'208";a="760807439" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 09 Mar 2016 00:56:54 -0800 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 9 Mar 2016 00:56:54 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.110.15) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 9 Mar 2016 00:56:54 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.136]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.132]) with mapi id 14.03.0248.002; Wed, 9 Mar 2016 16:56:52 +0800 From: "Qiu, Michael" To: "dev@dpdk.org" Thread-Topic: [PATCH 1/2 v2] fm10k: Add Atwood Channel Support Thread-Index: AQHRXycr+UEORwheQUmq88m7PAzOvg== Date: Wed, 9 Mar 2016 08:56:51 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E6028622F62BA9@SHSMSX101.ccr.corp.intel.com> References: <1452497281-21855-1-git-send-email-michael.qiu@intel.com> <1454574966-31124-1-git-send-email-michael.qiu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 1/2 v2] fm10k: Add Atwood Channel 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: Wed, 09 Mar 2016 08:56:56 -0000 Hi, Bruce=0A= =0A= What about this patch?=0A= =0A= Thanks,=0A= Michael=0A= =0A= On 2/4/2016 4:36 PM, Qiu, Michael wrote:=0A= > Atwood Channel is intel 25G NIC, and this patch add the support=0A= > in DPDK.=0A= >=0A= > Signed-off-by: Michael Qiu=0A= > Acked-by: John McNamara =0A= > ---=0A= > drivers/net/fm10k/base/fm10k_osdep.h | 4 ++++=0A= > lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++=0A= > 2 files changed, 6 insertions(+)=0A= >=0A= > diff --git a/drivers/net/fm10k/base/fm10k_osdep.h b/drivers/net/fm10k/bas= e/fm10k_osdep.h=0A= > index 6852ef0..9cb46ff 100644=0A= > --- a/drivers/net/fm10k/base/fm10k_osdep.h=0A= > +++ b/drivers/net/fm10k/base/fm10k_osdep.h=0A= > @@ -48,6 +48,10 @@ POSSIBILITY OF SUCH DAMAGE.=0A= > #define BOULDER_RAPIDS_HW=0A= > #endif=0A= > =0A= > +#ifndef ATWOOD_CHANNEL_HW=0A= > +#define ATWOOD_CHANNEL_HW=0A= > +#endif=0A= > +=0A= > #define STATIC static=0A= > #define DEBUGFUNC(F) DEBUGOUT(F "\n");=0A= > #define DEBUGOUT(S, args...) PMD_DRV_LOG_RAW(DEBUG, S, ##args)=0A= > diff --git a/lib/librte_eal/common/include/rte_pci_dev_ids.h b/lib/librte= _eal/common/include/rte_pci_dev_ids.h=0A= > index e31b934..cb0d177 100644=0A= > --- a/lib/librte_eal/common/include/rte_pci_dev_ids.h=0A= > +++ b/lib/librte_eal/common/include/rte_pci_dev_ids.h=0A= > @@ -530,9 +530,11 @@ RTE_PCI_DEV_ID_DECL_I40E(PCI_VENDOR_ID_INTEL, I40E_D= EV_ID_10G_BASE_T_X722)=0A= > =0A= > #define FM10K_DEV_ID_PF 0x15A4=0A= > #define FM10K_DEV_ID_SDI_FM10420_QDA2 0x15D0=0A= > +#define FM10K_DEV_ID_SDI_FM10420_DA2 0x15D5=0A= > =0A= > RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_PF)=0A= > RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_SDI_FM10420_= QDA2)=0A= > +RTE_PCI_DEV_ID_DECL_FM10K(PCI_VENDOR_ID_INTEL, FM10K_DEV_ID_SDI_FM10420_= DA2)=0A= > =0A= > /****************** Virtual IGB devices from e1000_hw.h ****************= **/=0A= > =0A= =0A=