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

Tu, Lijuan lijuan.tu at intel.com
Fri Apr 17 11:03:52 CEST 2020


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