test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH v1] tests/TestSuite_vhost_pmd_xstats: update typo issue
@ 2020-04-08 10:08 Yinan
  2020-04-17  9:03 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Yinan @ 2020-04-08 10:08 UTC (permalink / raw)
  To: dts; +Cc: Wang Yinan

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

Signed-off-by: Wang Yinan <yinan.wang@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH v1] tests/TestSuite_vhost_pmd_xstats: update typo issue
  2020-04-08 10:08 [dts] [PATCH v1] tests/TestSuite_vhost_pmd_xstats: update typo issue Yinan
@ 2020-04-17  9:03 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-04-17  9:03 UTC (permalink / raw)
  To: Wang, Yinan, dts; +Cc: Wang, Yinan

Hi yiyan,

Applied failed.
error: patch failed: tests/TestSuite_vhost_pmd_xstats.py:327
error: tests/TestSuite_vhost_pmd_xstats.py: patch does not apply

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Yinan
> Sent: Wednesday, April 8, 2020 6:09 PM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>
> Subject: [dts] [PATCH v1] tests/TestSuite_vhost_pmd_xstats: update typo
> issue
> 
> From: Wang Yinan <yinan.wang@intel.com>
> 
> Signed-off-by: Wang Yinan <yinan.wang@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-17  9:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-08 10:08 [dts] [PATCH v1] tests/TestSuite_vhost_pmd_xstats: update typo issue Yinan
2020-04-17  9:03 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).