test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: Joyce Kong <joyce.kong@arm.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhao, MeijuanX" <meijuanx.zhao@intel.com>
Subject: Re: [dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case failures in	vf_reset
Date: Thu, 8 Mar 2018 03:36:36 +0000	[thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62FAB363@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1520322420-17990-1-git-send-email-joyce.kong@arm.com>

Hi Joyce,
Could you please figure out why need to clean the counter before tester transmission? It should be no packet sent to VF before that moment. 

Thanks,
Marvin

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Joyce Kong
> Sent: Tuesday, March 06, 2018 3:47 PM
> To: dts@dpdk.org
> Cc: Joyce Kong <joyce.kong@arm.com>
> Subject: [dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case failures in
> vf_reset
> 
> Clear port stats before counting port info
> 
> Signed-off-by: Joyce Kong <joyce.kong@arm.com>
> ---
>  tests/TestSuite_vf_packet_rxtx.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/TestSuite_vf_packet_rxtx.py
> b/tests/TestSuite_vf_packet_rxtx.py
> index 63f4820..6a29d23 100644
> --- a/tests/TestSuite_vf_packet_rxtx.py
> +++ b/tests/TestSuite_vf_packet_rxtx.py
> @@ -279,6 +279,7 @@ class TestVfPacketRxtx(TestCase):
>          rx_port = tx_port
> 
>          dst_mac = pmd0_vf0_mac
> +        self.vm0_testpmd.execute_cmd('clear port stats all')
>          self.tester.sendpkt_bg(tx_port, dst_mac)
> 
>          #vf port stop/start can trigger reset action
> --
> 1.8.3.1

  parent reply	other threads:[~2018-03-08  3:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-06  7:46 Joyce Kong
2018-03-06  7:47 ` [dts] [PATCH 2/2] framework/virt_dut: ensure igb_uio installed Joyce Kong
2018-03-08  9:38   ` Liu, Yong
2018-03-08  3:36 ` Liu, Yong [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-03-09 11:38 [dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case failures in vf_reset Joyce Kong
2018-03-12  1:38 ` Liu, Yong
2018-03-12  2:26   ` Joyce Kong
2018-03-12  3:31     ` Liu, Yong
2018-03-06  7:33 Joyce Kong
2018-03-06  3:29 Joyce Kong
2018-03-06  3:16 Joyce Kong
2018-03-06  2:39 Joyce Kong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86228AFD5BCD8E4EBFD2B90117B5E81E62FAB363@SHSMSX103.ccr.corp.intel.com \
    --to=yong.liu@intel.com \
    --cc=dts@dpdk.org \
    --cc=joyce.kong@arm.com \
    --cc=meijuanx.zhao@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).