summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuilongx.xu <huilongx.xu@intel.com>2015-02-04 23:07:53 +0800
committerhuilongx.xu <huilongx.xu@intel.com>2015-02-04 23:08:44 +0800
commitef66f0fe4374abade8dddc3c1d6f5e4f750c8af4 (patch)
tree443cb01562717ff6326d344287dd456bf4f83731
parentd6bf12278bd6d7e291a2e8893c0cc8418455e6af (diff)
execution_fortville.cfg is the test case list for fortville NIC
settings.py, add fortville NIC info in dts test_case.py, insmod and used i40e for fortvill NIC Signed-off-by: huilongx.xu <huilongx.xu@intel.com>
-rw-r--r--framework/settings.py6
-rw-r--r--framework/test_case.py4
2 files changed, 10 insertions, 0 deletions
diff --git a/framework/settings.py b/framework/settings.py
index 2ef8db8..40b81fb 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -55,6 +55,9 @@ NICS = {
'I217LM': '8086:153a',
'I218V': '8086:1559',
'I218LM': '8086:155a',
+ 'fortville_eagle': '8086:1572',
+ 'fortville_spirit': '8086:1583',
+ 'fortville_spirit_single': '8086:1584',
}
DRIVERS = {
@@ -80,6 +83,9 @@ DRIVERS = {
'I217LM': 'igb',
'I218V': 'igb',
'I218LM': 'igb',
+ 'fortville_eagle': 'i40e',
+ 'fortville_spirit': 'i40e',
+ 'fortville_spirit_single':'i40e'
}
"""
diff --git a/framework/test_case.py b/framework/test_case.py
index 706003f..c5dd10f 100644
--- a/framework/test_case.py
+++ b/framework/test_case.py
@@ -76,5 +76,9 @@ class TestCase(object):
bitrate *= 10 # 10 Gb NICs
elif self.nic == "avoton2c5":
bitrate *= 2.5 # 2.5 Gb NICs
+ elif self.nic in ["fortville_spirit", "fortville_spirit_single"]:
+ bitrate *= 40
+ elif self.nic == 'fortville_eagle':
+ bitrate *= 10
return bitrate * num_ports / 8 / (frame_size + 20)