[V1,1/2] tests/vm2vm_virtio_net_perf_dsa: modify packed ring non-mergeable path tso=0

Message ID 20230131081301.17153-2-dukaix.yuan@intel.com (mailing list archive)
State Superseded
Headers
Series modify vm2vm_virtio_net_perf_dsa test_plan and testsuite |

Commit Message

Yuan, DukaiX Jan. 31, 2023, 8:13 a.m. UTC
  Modify start virtio back-end side testpmd parameter from
'tso=1' to 'tso=0' to cover packed ring non-merageable path
with disable tso.

Signed-off-by: Dukai Yuan <dukaix.yuan@intel.com>
---
 tests/TestSuite_vm2vm_virtio_net_perf_dsa.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
  

Patch

diff --git a/tests/TestSuite_vm2vm_virtio_net_perf_dsa.py b/tests/TestSuite_vm2vm_virtio_net_perf_dsa.py
index b06e5ca6..6ad8ac7d 100644
--- a/tests/TestSuite_vm2vm_virtio_net_perf_dsa.py
+++ b/tests/TestSuite_vm2vm_virtio_net_perf_dsa.py
@@ -735,8 +735,8 @@  class TestVM2VMVirtioNetPerfDsa(TestCase):
             self.use_dsa_list[1]: "max_queues=8",
         }
         vhost_eal_param = (
-            "--vdev 'eth_vhost0,iface=vhost-net0,queues=8,tso=1,dmas=[%s]' "
-            "--vdev 'eth_vhost1,iface=vhost-net1,queues=8,tso=1,dmas=[%s]'"
+            "--vdev 'eth_vhost0,iface=vhost-net0,queues=8,tso=0,dmas=[%s]' "
+            "--vdev 'eth_vhost1,iface=vhost-net1,queues=8,tso=0,dmas=[%s]'"
             % (dmas1, dmas2)
         )
         vhost_param = "--nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8"
@@ -1259,8 +1259,8 @@  class TestVM2VMVirtioNetPerfDsa(TestCase):
             "rxq7@wq0.3"
         )
         vhost_eal_param = (
-            "--vdev 'eth_vhost0,iface=vhost-net0,queues=8,tso=1,dmas=[%s]' "
-            "--vdev 'eth_vhost1,iface=vhost-net1,queues=8,tso=1,dmas=[%s]'"
+            "--vdev 'eth_vhost0,iface=vhost-net0,queues=8,tso=0,dmas=[%s]' "
+            "--vdev 'eth_vhost1,iface=vhost-net1,queues=8,tso=0,dmas=[%s]'"
             % (dmas1, dmas2)
         )
         vhost_param = "--nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8"