test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Chen, LingliX" <linglix.chen@intel.com>
To: "Ma, LihongX" <lihongx.ma@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_shutdown_api:fixed differences	brought about by speed units
Date: Mon, 12 Oct 2020 06:54:27 +0000	[thread overview]
Message-ID: <e6ede3f3781442f8b56c1c228415cc14@intel.com> (raw)
In-Reply-To: <BN8PR11MB371561C71CAA77ECDD2F7C8F9E070@BN8PR11MB3715.namprd11.prod.outlook.com>

if change Link speed is1000 or 10000,the DUT's Link speed is 1 Gbps or 10 Gbps,
if change Link speed is100, the DUT's Link speed is 100 Mbps

> -----Original Message-----
> From: Ma, LihongX
> Sent: Monday, October 12, 2020 2:39 PM
> To: Chen, LingliX <linglix.chen@intel.com>; dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: RE: [dts] [PATCH V1] tests/TestSuite_shutdown_api:fixed
> differences brought about by speed units
> 
> 
> 
> > -----Original Message-----
> > From: dts <dts-bounces@dpdk.org> On Behalf Of Chen Linglix
> > Sent: Monday, September 28, 2020 3:13 PM
> > To: dts@dpdk.org
> > Cc: Chen, LingliX <linglix.chen@intel.com>
> > Subject: [dts] [PATCH V1] tests/TestSuite_shutdown_api:fixed
> > differences brought about by speed units
> >
> > From: chenlinglix <linglix.chen@intel.com>
> >
> > fixed differences brought about by speed units
> >
> > Signed-off-by: chenlinglix <linglix.chen@intel.com>
> > -                self.verify("Link speed: %s Mbps" % config[0] in out,
> > -                            "Wrong speed reported by the dut")
> > +                if config[0] in['1000', '10000']:
> > +                    num =int(int(config[0])/1000)
> > +                    self.verify("Link speed: %d Gbps" % num in out,
> > +                                "Wrong speed reported by the dut")
> > +                else:
> > +                    self.verify("Link speed: %s Mbps" % config[0] in out,
> > +                                "Wrong speed reported by the dut")
> 
> Hi, lingli
> Can you write clearly why do we need to do this change ?
> 
> 
> Regards,
> Ma,lihong


  reply	other threads:[~2020-10-12  6:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-28  7:13 Chen Linglix
2020-09-28  7:21 ` Chen, LingliX
2020-10-12  6:39 ` Ma, LihongX
2020-10-12  6:54   ` Chen, LingliX [this message]
2020-10-13  2:13     ` Tu, Lijuan

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=e6ede3f3781442f8b56c1c228415cc14@intel.com \
    --to=linglix.chen@intel.com \
    --cc=dts@dpdk.org \
    --cc=lihongx.ma@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).