[v2] tests/large_vf:update notes

Message ID 1611042642-65256-1-git-send-email-hailinx.xu@intel.com (mailing list archive)
State Superseded
Headers
Series [v2] tests/large_vf:update notes |

Commit Message

hailinx Jan. 19, 2021, 7:50 a.m. UTC
From: Hailin Xu <hailinx.xu@intel.com>

update notes and varible name.

Signed-off-by: Hailin Xu <hailinx.xu@intel.com>
---
 tests/TestSuite_large_vf.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
  

Patch

diff --git a/tests/TestSuite_large_vf.py b/tests/TestSuite_large_vf.py
index 0cba1cdd..94d52c64 100755
--- a/tests/TestSuite_large_vf.py
+++ b/tests/TestSuite_large_vf.py
@@ -183,7 +183,7 @@  more_than_max_vfs_4_queues = {
     "check_param": "-bash: echo: write error: Numerical result out of range"
 }
 
-max_vfs_4_queues_128 = [multi_fdir_among, more_than_4_queues_max_vfs, more_than_max_vfs_4_queues]
+max_vfs_4_queues = [multi_fdir_among, more_than_4_queues_max_vfs, more_than_max_vfs_4_queues]
 
 
 class TestLargeVf(TestCase):
@@ -316,7 +316,7 @@  class TestLargeVf(TestCase):
                     self.check_rxqtxq_number(512, tv["check_param"])
                 elif subcase_name == "test_more_than_3_vfs_256_queues":
                     self.pmd_output.execute_cmd("quit", "#")
-                    # start testpmd uss 256 queues
+                    # start testpmd use 256 queues
                     for i in range(self.vf_num + 1):
                         if self.max_vf_num == 64:
                             self.pmdout_list[0].start_testpmd(param=tv["param"], ports=[self.sriov_vfs_port[0].pci], prefix='port0vf0')
@@ -346,7 +346,7 @@  class TestLargeVf(TestCase):
                                     self.pmdout_list[5].execute_cmd("quit", "# ")
                                     self.pmdout_list[6].execute_cmd("quit", "# ")
 
-                # case 2: 128_vfs_4_queues
+                # case 2: max_vfs_4_queues
                 elif subcase_name == "test_multi_fdir_among":
                     self.create_fdir_rule(tv["rule"])
                     self.check_match_mismatch_pkts(tv)
@@ -542,7 +542,7 @@  class TestLargeVf(TestCase):
         self.create_iavf(self.max_vf_num)
         self.launch_testpmd("--rxq=4 --txq=4")
         self.config_testpmd()
-        self.rte_flow_process(max_vfs_4_queues_128)
+        self.rte_flow_process(max_vfs_4_queues)
 
     def tear_down(self):
         """