[dts] [PATCH v1] tests/TestSuite_vhost_pmd_xstats: update typo issue

Yinan yinan.wang at intel.com
Wed Apr 8 12:08:40 CEST 2020


From: Wang Yinan <yinan.wang at intel.com>

Signed-off-by: Wang Yinan <yinan.wang at intel.com>
---
 tests/TestSuite_vhost_pmd_xstats.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/TestSuite_vhost_pmd_xstats.py b/tests/TestSuite_vhost_pmd_xstats.py
index ad9e245..22f6458 100755
--- a/tests/TestSuite_vhost_pmd_xstats.py
+++ b/tests/TestSuite_vhost_pmd_xstats.py
@@ -183,7 +183,7 @@ class TestVhostPmdXstats(TestCase):
         while (1):
             date_now = datetime.datetime.now()
             scope = 'broadcast'
-            self.dmac = '01:00:00:33:00:01'
+            self.dmac = 'ff:ff:ff:ff:ff:ff'
             self.scapy_send_packet(64, self.dmac, 1)
             if date_now >= date_new:
                 break
@@ -216,8 +216,8 @@ class TestVhostPmdXstats(TestCase):
         """
         performance for Vhost PVP virtio1.1 inorder no_mergeable Path.
         """
-        virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=0",
-                            "path": "--tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip"}
+        virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=0,packed_vec=1",
+                            "path": "--rx-offloads=0x10 --enable-hw-vlan-strip --rss-ip"}
         self.start_vhost_testpmd()
         self.start_virtio_testpmd(virtio_pmd_arg)
         self.xstats_number_and_type_verify()
@@ -227,7 +227,7 @@ class TestVhostPmdXstats(TestCase):
         """
         performance for Vhost PVP virtio1.1 inorder no_mergeable Path.
         """
-        virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=0,lro=0",
+        virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=0,packed_vec=1",
                             "path": "--tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip"}
         self.start_vhost_testpmd()
         self.start_virtio_testpmd(virtio_pmd_arg)
@@ -327,4 +327,4 @@ class TestVhostPmdXstats(TestCase):
         """
         Run after each test suite.
         """
-        pass
+        pass
-- 
2.17.1



More information about the dts mailing list