From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id ED689133F for ; Mon, 20 Mar 2017 08:46:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1489995994; x=1521531994; h=from:to:cc:subject:date:message-id; bh=REgWIeMAQlpsGxlzX/Y8r8XCRYqvAUh3an8grffg2Zc=; b=choA3ZA6E2sXcHxhCu0pPWI9QhXXRz9I2Vb2CphiMh4dN7ZgUtQLKuOl 8YRoJ0GUMoz1H1YiDW25tkRkwsw5zA==; Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Mar 2017 00:46:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,193,1486454400"; d="scan'208";a="1144546670" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 20 Mar 2017 00:46:31 -0700 From: "lu,peipei" To: dts@dpdk.org Cc: "lu,peipei" Date: Mon, 20 Mar 2017 15:47:55 +0800 Message-Id: <1489996075-31227-1-git-send-email-peipeix.lu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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, 20 Mar 2017 07:46:34 -0000 Signed-off-by: lu,peipei --- framework/settings.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 = { 'ConnectX3': '15b3:1003', 'ConnectX4': '15b3:1013', 'boulderrapid': '8086:15d0', + 'fortville_25g': '8086:158b', } DRIVERS = { @@ -109,7 +110,7 @@ DRIVERS = { '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 = { 'ConnectX3': 'mlx4_core', 'ConnectX4': 'mlx5_core', 'boulderrapid': 'fm10k', + 'fortville_25g': 'i40e', } """ @@ -209,13 +211,14 @@ DTS global error table """ DTS_ERR_TBL = { "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, } + def get_nic_name(type): """ strip nic code name by nic type -- 1.9.3