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 4C9802E81 for ; Thu, 4 Feb 2016 14:55:27 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 04 Feb 2016 05:55:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,395,1449561600"; d="scan'208";a="896302484" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga001.fm.intel.com with ESMTP; 04 Feb 2016 05:55:26 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Feb 2016 05:55:25 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Feb 2016 05:55:25 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.218]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.209]) with mapi id 14.03.0248.002; Thu, 4 Feb 2016 21:55:23 +0800 From: "Liu, Yong" To: "Qiu, Michael" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 1/2 v2] fm10k: Add Atwood Channel Support Thread-Index: AQHRXyc3qWqWR2VT3UegbRPcbVywUp8b6M/g Date: Thu, 4 Feb 2016 13:55:22 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E144DCF14@SHSMSX103.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> In-Reply-To: <1454574966-31124-1-git-send-email-michael.qiu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzlkNTBjYmQtM2JkYS00Zjk3LThkMTYtODVjMWMxMGM3ODg4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjQuMTAuMTkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNmlcL2JTaTY1SDZXMFR2OFhVOXB6T3l5OGI5dGd2QVFFQ29xOXRHMFwva0Q4PSJ9 x-ctpclassification: CTP_IC 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: Thu, 04 Feb 2016 13:55:28 -0000 Tested-by: Marvin Liu > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Michael Qiu > Sent: Thursday, February 04, 2016 4:36 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 1/2 v2] fm10k: Add Atwood Channel Support >=20 > Atwood Channel is intel 25G NIC, and this patch add the support > in DPDK. >=20 > Signed-off-by: Michael Qiu > Acked-by: John McNamara > --- > drivers/net/fm10k/base/fm10k_osdep.h | 4 ++++ > lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++ > 2 files changed, 6 insertions(+) >=20 > 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 >=20 > +#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) >=20 > #define FM10K_DEV_ID_PF 0x15A4 > #define FM10K_DEV_ID_SDI_FM10420_QDA2 0x15D0 > +#define FM10K_DEV_ID_SDI_FM10420_DA2 0x15D5 >=20 > 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) >=20 > /****************** Virtual IGB devices from e1000_hw.h > ******************/ >=20 > -- > 1.9.3