[dts] [PATCH V1 5/8] test/vf_rss: remove crc-strip parameter, and check RSS config command.

Lijuan Tu lijuanx.a.tu at intel.com
Fri May 12 10:18:12 CEST 2017


Signed-off-by: Lijuan Tu <lijuanx.a.tu at intel.com>
---
 tests/TestSuite_vf_rss.py | 13 ++++---------
 1 file 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> ")
 
-- 
1.9.3



More information about the dts mailing list