[V2,4/5] tests/vf_single_core_perf:support columbiaville_25gx2 nic

Message ID 20201125142930.77045-5-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series support columbiaville_25gx2 nic |

Commit Message

Ling, WeiX Nov. 25, 2020, 2:29 p.m. UTC
  support columbiaville_25gx2 nic

Signed-off-by: lingwei <weix.ling@intel.com>
---
 tests/TestSuite_vf_single_core_perf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/tests/TestSuite_vf_single_core_perf.py b/tests/TestSuite_vf_single_core_perf.py
index 47550bf8..05974eac 100644
--- a/tests/TestSuite_vf_single_core_perf.py
+++ b/tests/TestSuite_vf_single_core_perf.py
@@ -249,7 +249,7 @@  class TestVfSingleCorePerf(TestCase):
             if self.nic in ["fortville_25g", "fortville_spirit"] or thread_num == 2:
                 param += " --rxq=2 --txq=2"
             # columbiaville use one queue per port for best performance.
-            elif self.nic in ["columbiaville_100g", "columbiaville_25g"]:
+            elif self.nic in ["columbiaville_100g", "columbiaville_25g", "columbiaville_25gx2"]:
                 param += " --rxq=1 --txq=1"
                 # workaround for that testpmd can't forward packets in io forward mode
                 param += " --port-topology=loop"