test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac
@ 2019-09-17  8:36 zhuwenhui
  2019-09-17  8:36 ` [dts] [PATCH V1] tests/virtio_user_for_container_networking:make mac take effect zhuwenhui
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: zhuwenhui @ 2019-09-17  8:36 UTC (permalink / raw)
  To: dts; +Cc: zhuwenhui

Set fwd mac to make the receiving packet normal.

Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
---
 tests/TestSuite_pvp_share_lib.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_pvp_share_lib.py b/tests/TestSuite_pvp_share_lib.py
index f117fd5..71fbe06 100644
--- a/tests/TestSuite_pvp_share_lib.py
+++ b/tests/TestSuite_pvp_share_lib.py
@@ -141,6 +141,7 @@ class TestPVPShareLib(TestCase):
         command_line_client = command_line_client % (self.target,
                         self.core_mask_vhost_user, self.mem_channels, driver)
         self.vhost_user.send_expect(command_line_client, "testpmd> ", 120)
+        self.vhost_user.send_expect("set fwd mac", "testpmd> ", 120)
         self.vhost_user.send_expect("start", "testpmd> ", 120)
 
     def start_testpmd_as_virtio(self):
-- 
2.17.2


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

* [dts] [PATCH V1] tests/virtio_user_for_container_networking:make mac take effect
  2019-09-17  8:36 [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac zhuwenhui
@ 2019-09-17  8:36 ` zhuwenhui
  2019-09-17  8:44   ` Zhu, ShuaiX
  2019-09-20  6:37   ` Tu, Lijuan
  2019-09-17  8:36 ` [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac zhuwenhui
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 13+ messages in thread
From: zhuwenhui @ 2019-09-17  8:36 UTC (permalink / raw)
  To: dts; +Cc: zhuwenhui

Specify the mac address to make the receiving packet normal.

Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
---
 tests/TestSuite_virtio_user_for_container_networking.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_virtio_user_for_container_networking.py b/tests/TestSuite_virtio_user_for_container_networking.py
index 241d5b0..034587e 100644
--- a/tests/TestSuite_virtio_user_for_container_networking.py
+++ b/tests/TestSuite_virtio_user_for_container_networking.py
@@ -117,8 +117,9 @@ class TestVirtioUserForContainer(TestCase):
 
             self.tester.scapy_execute()
             self.tester.pktgen.clear_streams()
+            vm_config = {'mac':{'dst':{'range': 1, 'step': 1, 'action': 'inc'},},}
             streams = self.pktgen_helper.prepare_stream_from_tginput(tgen_input, 100,
-                        None, self.tester.pktgen)
+                        vm_config, self.tester.pktgen)
             _, pps = self.tester.pktgen.measure_throughput(stream_ids=streams)
             Mpps = pps / 1000000.0
             self.verify(Mpps > 0, '%s can not receive packets of frame size %d' % (self.running_case, frame_size))
-- 
2.17.2


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

* [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac
  2019-09-17  8:36 [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac zhuwenhui
  2019-09-17  8:36 ` [dts] [PATCH V1] tests/virtio_user_for_container_networking:make mac take effect zhuwenhui
@ 2019-09-17  8:36 ` zhuwenhui
  2019-09-17  8:44   ` Zhu, ShuaiX
  2019-09-20  6:36   ` Tu, Lijuan
  2019-09-17  8:44 ` [dts] [PATCH V1] tests/pvp_share_lib:add " Zhu, ShuaiX
  2019-09-20  6:36 ` Tu, Lijuan
  3 siblings, 2 replies; 13+ messages in thread
From: zhuwenhui @ 2019-09-17  8:36 UTC (permalink / raw)
  To: dts; +Cc: zhuwenhui

Set fwd mac to make the receiving packet normal.

Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
---
 tests/TestSuite_pvp_virtio_user_4k_pages.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_pvp_virtio_user_4k_pages.py b/tests/TestSuite_pvp_virtio_user_4k_pages.py
index 11079a4..b170d95 100644
--- a/tests/TestSuite_pvp_virtio_user_4k_pages.py
+++ b/tests/TestSuite_pvp_virtio_user_4k_pages.py
@@ -150,6 +150,7 @@ class TestPVPVirtioWith2Mhuge(TestCase):
         command_line_user = command_line_user % (self.target,
                 self.mem_channels, self.core_mask_virtio_user)
         self.virtio_user.send_expect(command_line_user, "testpmd> ", 120)
+        self.virtio_user.send_expect("set fwd mac", "testpmd> ", 120)
         self.virtio_user.send_expect("start", "testpmd> ", 120)
 
     def prepare_tmpfs_for_4k(self):
-- 
2.17.2


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

* Re: [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac
  2019-09-17  8:36 [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac zhuwenhui
  2019-09-17  8:36 ` [dts] [PATCH V1] tests/virtio_user_for_container_networking:make mac take effect zhuwenhui
  2019-09-17  8:36 ` [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac zhuwenhui
@ 2019-09-17  8:44 ` " Zhu, ShuaiX
  2019-09-19  6:53   ` Wang, Yinan
  2019-09-20  6:36 ` Tu, Lijuan
  3 siblings, 1 reply; 13+ messages in thread
From: Zhu, ShuaiX @ 2019-09-17  8:44 UTC (permalink / raw)
  To: Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX, Zhu, ShuaiX

[-- Attachment #1: Type: text/plain, Size: 1219 bytes --]

Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> Sent: Tuesday, September 17, 2019 4:36 PM
> To: dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac
> 
> Set fwd mac to make the receiving packet normal.
> 
> Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> ---
>  tests/TestSuite_pvp_share_lib.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/TestSuite_pvp_share_lib.py
> b/tests/TestSuite_pvp_share_lib.py
> index f117fd5..71fbe06 100644
> --- a/tests/TestSuite_pvp_share_lib.py
> +++ b/tests/TestSuite_pvp_share_lib.py
> @@ -141,6 +141,7 @@ class TestPVPShareLib(TestCase):
>          command_line_client = command_line_client % (self.target,
>                          self.core_mask_vhost_user, self.mem_channels,
> driver)
>          self.vhost_user.send_expect(command_line_client, "testpmd> ", 120)
> +        self.vhost_user.send_expect("set fwd mac", "testpmd> ", 120)
>          self.vhost_user.send_expect("start", "testpmd> ", 120)
> 
>      def start_testpmd_as_virtio(self):
> --
> 2.17.2


[-- Attachment #2: TestPVPShareLib.log --]
[-- Type: application/octet-stream, Size: 112328 bytes --]

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

* Re: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac
  2019-09-17  8:36 ` [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac zhuwenhui
@ 2019-09-17  8:44   ` Zhu, ShuaiX
  2019-09-19  6:53     ` Wang, Yinan
  2019-09-20  6:35     ` Tu, Lijuan
  2019-09-20  6:36   ` Tu, Lijuan
  1 sibling, 2 replies; 13+ messages in thread
From: Zhu, ShuaiX @ 2019-09-17  8:44 UTC (permalink / raw)
  To: Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX, Zhu, ShuaiX

[-- Attachment #1: Type: text/plain, Size: 1269 bytes --]

Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> Sent: Tuesday, September 17, 2019 4:36 PM
> To: dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac
> 
> Set fwd mac to make the receiving packet normal.
> 
> Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> ---
>  tests/TestSuite_pvp_virtio_user_4k_pages.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/TestSuite_pvp_virtio_user_4k_pages.py
> b/tests/TestSuite_pvp_virtio_user_4k_pages.py
> index 11079a4..b170d95 100644
> --- a/tests/TestSuite_pvp_virtio_user_4k_pages.py
> +++ b/tests/TestSuite_pvp_virtio_user_4k_pages.py
> @@ -150,6 +150,7 @@ class TestPVPVirtioWith2Mhuge(TestCase):
>          command_line_user = command_line_user % (self.target,
>                  self.mem_channels, self.core_mask_virtio_user)
>          self.virtio_user.send_expect(command_line_user, "testpmd> ", 120)
> +        self.virtio_user.send_expect("set fwd mac", "testpmd> ", 120)
>          self.virtio_user.send_expect("start", "testpmd> ", 120)
> 
>      def prepare_tmpfs_for_4k(self):
> --
> 2.17.2


[-- Attachment #2: TestPvpVirtioUser4kPages.log --]
[-- Type: application/octet-stream, Size: 37050 bytes --]

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

* Re: [dts] [PATCH V1] tests/virtio_user_for_container_networking:make mac take effect
  2019-09-17  8:36 ` [dts] [PATCH V1] tests/virtio_user_for_container_networking:make mac take effect zhuwenhui
@ 2019-09-17  8:44   ` Zhu, ShuaiX
  2019-09-19  6:52     ` Wang, Yinan
  2019-09-20  6:37   ` Tu, Lijuan
  1 sibling, 1 reply; 13+ messages in thread
From: Zhu, ShuaiX @ 2019-09-17  8:44 UTC (permalink / raw)
  To: Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX, Zhu, ShuaiX

[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]

Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> Sent: Tuesday, September 17, 2019 4:36 PM
> To: dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/virtio_user_for_container_networking:make
> mac take effect
> 
> Specify the mac address to make the receiving packet normal.
> 
> Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> ---
>  tests/TestSuite_virtio_user_for_container_networking.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_virtio_user_for_container_networking.py
> b/tests/TestSuite_virtio_user_for_container_networking.py
> index 241d5b0..034587e 100644
> --- a/tests/TestSuite_virtio_user_for_container_networking.py
> +++ b/tests/TestSuite_virtio_user_for_container_networking.py
> @@ -117,8 +117,9 @@ class TestVirtioUserForContainer(TestCase):
> 
>              self.tester.scapy_execute()
>              self.tester.pktgen.clear_streams()
> +            vm_config = {'mac':{'dst':{'range': 1, 'step': 1, 'action': 'inc'},},}
>              streams =
> self.pktgen_helper.prepare_stream_from_tginput(tgen_input, 100,
> -                        None, self.tester.pktgen)
> +                        vm_config, self.tester.pktgen)
>              _, pps =
> self.tester.pktgen.measure_throughput(stream_ids=streams)
>              Mpps = pps / 1000000.0
>              self.verify(Mpps > 0, '%s can not receive packets of frame
> size %d' % (self.running_case, frame_size))
> --
> 2.17.2


[-- Attachment #2: TestVirtioUserForContainer.log --]
[-- Type: application/octet-stream, Size: 82147 bytes --]

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

* Re: [dts] [PATCH V1] tests/virtio_user_for_container_networking:make mac take effect
  2019-09-17  8:44   ` Zhu, ShuaiX
@ 2019-09-19  6:52     ` Wang, Yinan
  0 siblings, 0 replies; 13+ messages in thread
From: Wang, Yinan @ 2019-09-19  6:52 UTC (permalink / raw)
  To: Zhu, ShuaiX, Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX, Zhu, ShuaiX

Acked-by: Wang, Yinan <yinan.wang@intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zhu, ShuaiX
> Sent: 2019^[$BG/^[(B9^[$B7n^[(B17^[$BF|^[(B 16:45
> To: Zhu, WenhuiX <wenhuix.zhu@intel.com>; dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>; Zhu, ShuaiX
> <shuaix.zhu@intel.com>
> Subject: Re: [dts] [PATCH V1] tests/virtio_user_for_container_networking:make
> mac take effect
> 
> Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>
> 
> > -----Original Message-----
> > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> > Sent: Tuesday, September 17, 2019 4:36 PM
> > To: dts@dpdk.org
> > Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> > Subject: [dts] [PATCH V1]
> > tests/virtio_user_for_container_networking:make
> > mac take effect
> >
> > Specify the mac address to make the receiving packet normal.
> >
> > Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> > ---
> >  tests/TestSuite_virtio_user_for_container_networking.py | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/tests/TestSuite_virtio_user_for_container_networking.py
> > b/tests/TestSuite_virtio_user_for_container_networking.py
> > index 241d5b0..034587e 100644
> > --- a/tests/TestSuite_virtio_user_for_container_networking.py
> > +++ b/tests/TestSuite_virtio_user_for_container_networking.py
> > @@ -117,8 +117,9 @@ class TestVirtioUserForContainer(TestCase):
> >
> >              self.tester.scapy_execute()
> >              self.tester.pktgen.clear_streams()
> > +            vm_config = {'mac':{'dst':{'range': 1, 'step': 1,
> > + 'action': 'inc'},},}
> >              streams =
> > self.pktgen_helper.prepare_stream_from_tginput(tgen_input, 100,
> > -                        None, self.tester.pktgen)
> > +                        vm_config, self.tester.pktgen)
> >              _, pps =
> > self.tester.pktgen.measure_throughput(stream_ids=streams)
> >              Mpps = pps / 1000000.0
> >              self.verify(Mpps > 0, '%s can not receive packets of
> > frame size %d' % (self.running_case, frame_size))
> > --
> > 2.17.2


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

* Re: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac
  2019-09-17  8:44   ` Zhu, ShuaiX
@ 2019-09-19  6:53     ` Wang, Yinan
  2019-09-20  6:35     ` Tu, Lijuan
  1 sibling, 0 replies; 13+ messages in thread
From: Wang, Yinan @ 2019-09-19  6:53 UTC (permalink / raw)
  To: Zhu, ShuaiX, Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX, Zhu, ShuaiX

Acked-by: Wang, Yinan <yinan.wang@intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zhu, ShuaiX
> Sent: 2019^[$BG/^[(B9^[$B7n^[(B17^[$BF|^[(B 16:45
> To: Zhu, WenhuiX <wenhuix.zhu@intel.com>; dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>; Zhu, ShuaiX
> <shuaix.zhu@intel.com>
> Subject: Re: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac
> 
> Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>
> 
> > -----Original Message-----
> > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> > Sent: Tuesday, September 17, 2019 4:36 PM
> > To: dts@dpdk.org
> > Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> > Subject: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac
> >
> > Set fwd mac to make the receiving packet normal.
> >
> > Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> > ---
> >  tests/TestSuite_pvp_virtio_user_4k_pages.py | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/tests/TestSuite_pvp_virtio_user_4k_pages.py
> > b/tests/TestSuite_pvp_virtio_user_4k_pages.py
> > index 11079a4..b170d95 100644
> > --- a/tests/TestSuite_pvp_virtio_user_4k_pages.py
> > +++ b/tests/TestSuite_pvp_virtio_user_4k_pages.py
> > @@ -150,6 +150,7 @@ class TestPVPVirtioWith2Mhuge(TestCase):
> >          command_line_user = command_line_user % (self.target,
> >                  self.mem_channels, self.core_mask_virtio_user)
> >          self.virtio_user.send_expect(command_line_user, "testpmd> ", 120)
> > +        self.virtio_user.send_expect("set fwd mac", "testpmd> ", 120)
> >          self.virtio_user.send_expect("start", "testpmd> ", 120)
> >
> >      def prepare_tmpfs_for_4k(self):
> > --
> > 2.17.2


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

* Re: [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac
  2019-09-17  8:44 ` [dts] [PATCH V1] tests/pvp_share_lib:add " Zhu, ShuaiX
@ 2019-09-19  6:53   ` Wang, Yinan
  0 siblings, 0 replies; 13+ messages in thread
From: Wang, Yinan @ 2019-09-19  6:53 UTC (permalink / raw)
  To: Zhu, ShuaiX, Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX, Zhu, ShuaiX

Acked-by: Wang, Yinan <yinan.wang@intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zhu, ShuaiX
> Sent: 2019^[$BG/^[(B9^[$B7n^[(B17^[$BF|^[(B 16:44
> To: Zhu, WenhuiX <wenhuix.zhu@intel.com>; dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>; Zhu, ShuaiX
> <shuaix.zhu@intel.com>
> Subject: Re: [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac
> 
> Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>
> 
> > -----Original Message-----
> > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> > Sent: Tuesday, September 17, 2019 4:36 PM
> > To: dts@dpdk.org
> > Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> > Subject: [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac
> >
> > Set fwd mac to make the receiving packet normal.
> >
> > Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> > ---
> >  tests/TestSuite_pvp_share_lib.py | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/tests/TestSuite_pvp_share_lib.py
> > b/tests/TestSuite_pvp_share_lib.py
> > index f117fd5..71fbe06 100644
> > --- a/tests/TestSuite_pvp_share_lib.py
> > +++ b/tests/TestSuite_pvp_share_lib.py
> > @@ -141,6 +141,7 @@ class TestPVPShareLib(TestCase):
> >          command_line_client = command_line_client % (self.target,
> >                          self.core_mask_vhost_user, self.mem_channels,
> > driver)
> >          self.vhost_user.send_expect(command_line_client, "testpmd> ",
> 120)
> > +        self.vhost_user.send_expect("set fwd mac", "testpmd> ", 120)
> >          self.vhost_user.send_expect("start", "testpmd> ", 120)
> >
> >      def start_testpmd_as_virtio(self):
> > --
> > 2.17.2


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

* Re: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac
  2019-09-17  8:44   ` Zhu, ShuaiX
  2019-09-19  6:53     ` Wang, Yinan
@ 2019-09-20  6:35     ` Tu, Lijuan
  1 sibling, 0 replies; 13+ messages in thread
From: Tu, Lijuan @ 2019-09-20  6:35 UTC (permalink / raw)
  To: Zhu, ShuaiX, Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX, Zhu, ShuaiX

Applied failed, please rework it

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zhu, ShuaiX
> Sent: Tuesday, September 17, 2019 4:45 PM
> To: Zhu, WenhuiX <wenhuix.zhu@intel.com>; dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>; Zhu, ShuaiX
> <shuaix.zhu@intel.com>
> Subject: Re: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd
> mac
> 
> Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>
> 
> > -----Original Message-----
> > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> > Sent: Tuesday, September 17, 2019 4:36 PM
> > To: dts@dpdk.org
> > Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> > Subject: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac
> >
> > Set fwd mac to make the receiving packet normal.
> >
> > Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> > ---
> >  tests/TestSuite_pvp_virtio_user_4k_pages.py | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/tests/TestSuite_pvp_virtio_user_4k_pages.py
> > b/tests/TestSuite_pvp_virtio_user_4k_pages.py
> > index 11079a4..b170d95 100644
> > --- a/tests/TestSuite_pvp_virtio_user_4k_pages.py
> > +++ b/tests/TestSuite_pvp_virtio_user_4k_pages.py
> > @@ -150,6 +150,7 @@ class TestPVPVirtioWith2Mhuge(TestCase):
> >          command_line_user = command_line_user % (self.target,
> >                  self.mem_channels, self.core_mask_virtio_user)
> >          self.virtio_user.send_expect(command_line_user, "testpmd> ", 120)
> > +        self.virtio_user.send_expect("set fwd mac", "testpmd> ", 120)
> >          self.virtio_user.send_expect("start", "testpmd> ", 120)
> >
> >      def prepare_tmpfs_for_4k(self):
> > --
> > 2.17.2


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

* Re: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac
  2019-09-17  8:36 ` [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac zhuwenhui
  2019-09-17  8:44   ` Zhu, ShuaiX
@ 2019-09-20  6:36   ` Tu, Lijuan
  1 sibling, 0 replies; 13+ messages in thread
From: Tu, Lijuan @ 2019-09-20  6:36 UTC (permalink / raw)
  To: Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX

Applied failed, please rework it.

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> Sent: Tuesday, September 17, 2019 4:36 PM
> To: dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac
> 
> Set fwd mac to make the receiving packet normal.
> 
> Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> ---
>  tests/TestSuite_pvp_virtio_user_4k_pages.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/TestSuite_pvp_virtio_user_4k_pages.py
> b/tests/TestSuite_pvp_virtio_user_4k_pages.py
> index 11079a4..b170d95 100644
> --- a/tests/TestSuite_pvp_virtio_user_4k_pages.py
> +++ b/tests/TestSuite_pvp_virtio_user_4k_pages.py
> @@ -150,6 +150,7 @@ class TestPVPVirtioWith2Mhuge(TestCase):
>          command_line_user = command_line_user % (self.target,
>                  self.mem_channels, self.core_mask_virtio_user)
>          self.virtio_user.send_expect(command_line_user, "testpmd> ", 120)
> +        self.virtio_user.send_expect("set fwd mac", "testpmd> ", 120)
>          self.virtio_user.send_expect("start", "testpmd> ", 120)
> 
>      def prepare_tmpfs_for_4k(self):
> --
> 2.17.2


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

* Re: [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac
  2019-09-17  8:36 [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac zhuwenhui
                   ` (2 preceding siblings ...)
  2019-09-17  8:44 ` [dts] [PATCH V1] tests/pvp_share_lib:add " Zhu, ShuaiX
@ 2019-09-20  6:36 ` Tu, Lijuan
  3 siblings, 0 replies; 13+ messages in thread
From: Tu, Lijuan @ 2019-09-20  6:36 UTC (permalink / raw)
  To: Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> Sent: Tuesday, September 17, 2019 4:36 PM
> To: dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac
> 
> Set fwd mac to make the receiving packet normal.
> 
> Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> ---
>  tests/TestSuite_pvp_share_lib.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/TestSuite_pvp_share_lib.py
> b/tests/TestSuite_pvp_share_lib.py
> index f117fd5..71fbe06 100644
> --- a/tests/TestSuite_pvp_share_lib.py
> +++ b/tests/TestSuite_pvp_share_lib.py
> @@ -141,6 +141,7 @@ class TestPVPShareLib(TestCase):
>          command_line_client = command_line_client % (self.target,
>                          self.core_mask_vhost_user, self.mem_channels, driver)
>          self.vhost_user.send_expect(command_line_client, "testpmd> ", 120)
> +        self.vhost_user.send_expect("set fwd mac", "testpmd> ", 120)
>          self.vhost_user.send_expect("start", "testpmd> ", 120)
> 
>      def start_testpmd_as_virtio(self):
> --
> 2.17.2


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

* Re: [dts] [PATCH V1] tests/virtio_user_for_container_networking:make mac take effect
  2019-09-17  8:36 ` [dts] [PATCH V1] tests/virtio_user_for_container_networking:make mac take effect zhuwenhui
  2019-09-17  8:44   ` Zhu, ShuaiX
@ 2019-09-20  6:37   ` Tu, Lijuan
  1 sibling, 0 replies; 13+ messages in thread
From: Tu, Lijuan @ 2019-09-20  6:37 UTC (permalink / raw)
  To: Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> Sent: Tuesday, September 17, 2019 4:36 PM
> To: dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/virtio_user_for_container_networking:make
> mac take effect
> 
> Specify the mac address to make the receiving packet normal.
> 
> Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> ---
>  tests/TestSuite_virtio_user_for_container_networking.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_virtio_user_for_container_networking.py
> b/tests/TestSuite_virtio_user_for_container_networking.py
> index 241d5b0..034587e 100644
> --- a/tests/TestSuite_virtio_user_for_container_networking.py
> +++ b/tests/TestSuite_virtio_user_for_container_networking.py
> @@ -117,8 +117,9 @@ class TestVirtioUserForContainer(TestCase):
> 
>              self.tester.scapy_execute()
>              self.tester.pktgen.clear_streams()
> +            vm_config = {'mac':{'dst':{'range': 1, 'step': 1, 'action': 'inc'},},}
>              streams =
> self.pktgen_helper.prepare_stream_from_tginput(tgen_input, 100,
> -                        None, self.tester.pktgen)
> +                        vm_config, self.tester.pktgen)
>              _, pps = self.tester.pktgen.measure_throughput(stream_ids=streams)
>              Mpps = pps / 1000000.0
>              self.verify(Mpps > 0, '%s can not receive packets of frame size %d' %
> (self.running_case, frame_size))
> --
> 2.17.2


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

end of thread, back to index

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-17  8:36 [dts] [PATCH V1] tests/pvp_share_lib:add set fwd mac zhuwenhui
2019-09-17  8:36 ` [dts] [PATCH V1] tests/virtio_user_for_container_networking:make mac take effect zhuwenhui
2019-09-17  8:44   ` Zhu, ShuaiX
2019-09-19  6:52     ` Wang, Yinan
2019-09-20  6:37   ` Tu, Lijuan
2019-09-17  8:36 ` [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add set fwd mac zhuwenhui
2019-09-17  8:44   ` Zhu, ShuaiX
2019-09-19  6:53     ` Wang, Yinan
2019-09-20  6:35     ` Tu, Lijuan
2019-09-20  6:36   ` Tu, Lijuan
2019-09-17  8:44 ` [dts] [PATCH V1] tests/pvp_share_lib:add " Zhu, ShuaiX
2019-09-19  6:53   ` Wang, Yinan
2019-09-20  6:36 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox