From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 0E403D4E0 for ; Mon, 27 Mar 2017 03:19:40 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP; 26 Mar 2017 18:19:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,229,1486454400"; d="scan'208";a="1147231928" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 26 Mar 2017 18:19:39 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 26 Mar 2017 18:19:38 -0700 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.319.2; Sun, 26 Mar 2017 18:19:38 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.253]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.46]) with mapi id 14.03.0248.002; Mon, 27 Mar 2017 09:19:36 +0800 From: "Liu, Yong" To: "Lu, PeipeiX" , "dts@dpdk.org" CC: "Lu, PeipeiX" Thread-Topic: [dts] [PATCH V1] add fortville 25G Nics and its identifiers supported by the framework Thread-Index: AQHSoU4uRwTxduoX00KurC1Kx6B7NaGn7asw Date: Mon, 27 Mar 2017 01:19:36 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62D97DBA@SHSMSX103.ccr.corp.intel.com> References: <1489996075-31227-1-git-send-email-peipeix.lu@intel.com> In-Reply-To: <1489996075-31227-1-git-send-email-peipeix.lu@intel.com> Accept-Language: zh-CN, 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: [dts] [PATCH V1] add fortville 25G Nics and its identifiers supported by the framework X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2017 01:19:41 -0000 Thanks peipei, has merged in 25G support. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lu,peipei > Sent: Monday, March 20, 2017 3:48 PM > To: dts@dpdk.org > Cc: Lu, PeipeiX > Subject: [dts] [PATCH V1] add fortville 25G Nics and its identifiers > supported by the framework >=20 > Signed-off-by: lu,peipei > --- > framework/settings.py | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) >=20 > diff --git a/framework/settings.py b/framework/settings.py > index 86a29a3..9584cd1 100644 > --- a/framework/settings.py > +++ b/framework/settings.py > @@ -90,6 +90,7 @@ NICS =3D { > 'ConnectX3': '15b3:1003', > 'ConnectX4': '15b3:1013', > 'boulderrapid': '8086:15d0', > + 'fortville_25g': '8086:158b', > } >=20 > DRIVERS =3D { > @@ -109,7 +110,7 @@ DRIVERS =3D { > 'sageville_vf': 'ixgbevf', > 'sagepond': 'ixgbe', > 'sagepond_vf': 'ixgbevf', > - 'magnolia_park' : 'ixgbe', > + 'magnolia_park': 'ixgbe', > 'hartwell': 'igb', > '82545EM': 'igb', > '82540EM': 'igb', > @@ -134,6 +135,7 @@ DRIVERS =3D { > 'ConnectX3': 'mlx4_core', > 'ConnectX4': 'mlx5_core', > 'boulderrapid': 'fm10k', > + 'fortville_25g': 'i40e', > } >=20 > """ > @@ -209,13 +211,14 @@ DTS global error table > """ > DTS_ERR_TBL =3D { > "GENERIC_ERR": 1, > - "DPDK_BUILD_ERR" : 2, > - "DUT_SETUP_ERR" : 3, > - "TESTER_SETUP_ERR" : 4, > + "DPDK_BUILD_ERR": 2, > + "DUT_SETUP_ERR": 3, > + "TESTER_SETUP_ERR": 4, > "SUITE_SETUP_ERR": 5, > "SUITE_EXECUTE_ERR": 6, > } >=20 > + > def get_nic_name(type): > """ > strip nic code name by nic type > -- > 1.9.3