summaryrefslogtreecommitdiff
path: root/tests/TestSuite_vf_rss.py
diff options
context:
space:
mode:
authorLijuan Tu <lijuanx.a.tu@intel.com>2017-05-12 16:18:12 +0800
committerMarvin Liu <yong.liu@intel.com>2017-05-15 10:01:43 +0800
commit5723626be1cace6bccceffc243e2a3ade8b12182 (patch)
tree606461573aaedadd9d2245810da06b80478e9632 /tests/TestSuite_vf_rss.py
parentb8eb0ab376e40b07f5ce7a7eceea5b2e95ac4855 (diff)
test vf_rss: remove crc-strip parameter and add check RSS config result
Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
Diffstat (limited to 'tests/TestSuite_vf_rss.py')
-rw-r--r--tests/TestSuite_vf_rss.py13
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/TestSuite_vf_rss.py b/tests/TestSuite_vf_rss.py
index a08a79d..92d9009 100644
--- a/tests/TestSuite_vf_rss.py
+++ b/tests/TestSuite_vf_rss.py
@@ -305,10 +305,7 @@ class TestVfRss(TestCase):
self.vm_dut_0.kill_all()
# test with different rss queues
- if self.kdriver == "i40e":
- eal_param = '--crc-strip'
- else:
- eal_param = ''
+ eal_param = ''
for queue in testQueues:
self.vm0_testpmd.start_testpmd(
@@ -354,10 +351,7 @@ class TestVfRss(TestCase):
self.vm_dut_0.kill_all()
- if self.kdriver == "i40e":
- eal_param = '--crc-strip'
- else:
- eal_param = ''
+ eal_param = ''
# test with different rss queues
for queue in testQueues:
@@ -367,7 +361,8 @@ class TestVfRss(TestCase):
for iptype,rsstype in iptypes.items():
self.vm_dut_0.send_expect("set verbose 8", "testpmd> ")
self.vm_dut_0.send_expect("set fwd rxonly", "testpmd> ")
- self.vm_dut_0.send_expect("port config all rss %s" % rsstype, "testpmd> ")
+ out = self.vm_dut_0.send_expect("port config all rss %s" % rsstype, "testpmd> ")
+ self.verify("Operation not supported" not in out, "Operation not supported")
self.vm_dut_0.send_expect(
"set nbcore %d" % (queue + 1), "testpmd> ")