[dts] [PATCH V1]tests/TestSuite_vhost_pmd_xstats: check multicast with multicast mac

Wang, Yinan yinan.wang at intel.com
Wed Apr 8 04:33:59 CEST 2020


Hi Qimai,

I sent another patch instead of your patch by changing self.dmac to keep the broadcast test.
Thanks!

BR,
Yinan

> -----Original Message-----
> From: dts <dts-bounces at dpdk.org> On Behalf Of Xiao, QimaiX
> Sent: 2020年4月6日 13:03
> To: dts at dpdk.org
> Subject: Re: [dts] [PATCH V1]tests/TestSuite_vhost_pmd_xstats: check multicast
> with multicast mac
> 
> Tested-by: Xiao, QimaiX <qimaix.xiao at intel.com>
> 
> -----Original Message-----
> From: Xiao, QimaiX <qimaix.xiao at intel.com>
> Sent: Monday, April 6, 2020 12:57 PM
> To: dts at dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao at intel.com>
> Subject: [dts][PATCH V1]tests/TestSuite_vhost_pmd_xstats: check multicast
> with multicast mac
> 
> Signed-off-by: Xiao Qimai <qimaix.xiao at intel.com>
> ---
>  tests/TestSuite_vhost_pmd_xstats.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_vhost_pmd_xstats.py
> b/tests/TestSuite_vhost_pmd_xstats.py
> index ad9e245..9b3b92c 100755
> --- a/tests/TestSuite_vhost_pmd_xstats.py
> +++ b/tests/TestSuite_vhost_pmd_xstats.py
> @@ -182,7 +182,7 @@ class TestVhostPmdXstats(TestCase):
>          date_new = date_old + datetime.timedelta(minutes=2)
>          while (1):
>              date_now = datetime.datetime.now()
> -            scope = 'broadcast'
> +            scope = 'multicast'
>              self.dmac = '01:00:00:33:00:01'
>              self.scapy_send_packet(64, self.dmac, 1)
>              if date_now >= date_new:
> @@ -327,4 +327,4 @@ class TestVhostPmdXstats(TestCase):
>          """
>          Run after each test suite.
>          """
> -        pass
> \ No newline at end of file
> +        pass
> --
> 1.8.3.1



More information about the dts mailing list