[dts] [PATCH V1] add fortville 25G Nics and its identifiers supported by the framework

lu,peipei peipeix.lu at intel.com
Mon Mar 20 08:47:55 CET 2017


Signed-off-by: lu,peipei <peipeix.lu at intel.com>
---
 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



More information about the dts mailing list