test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: Yulong Pei <yulong.pei@intel.com>, dts@dpdk.org
Subject: Re: [dts] [PATCH v2] tests pmd: do changes due to performance test
Date: Thu, 02 Mar 2017 11:14:22 +0800	[thread overview]
Message-ID: <58B78E0E.9080905@intel.com> (raw)
In-Reply-To: <1488423318-8936-1-git-send-email-yulong.pei@intel.com>

Yulong,
Please add port dependency check in single core case. Logic should like:

if ports >=4:
     use 4 port function
else:
     check port number >=2
     use 2 port function


On 03/02/2017 10:55 AM, Yulong Pei wrote:
> +    def test_perf_single_core_performance(self):
> +        """
> +        Run single core performance
> +        """
> +        if len(self.dut_ports) == 4:
> +            self.pmd_performance_4ports()
> +        else:
> +            self.pmd_performance_2ports()
> +
> +

           reply	other threads:[~2017-03-02  3:22 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1488423318-8936-1-git-send-email-yulong.pei@intel.com>]

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=58B78E0E.9080905@intel.com \
    --to=yong.liu@intel.com \
    --cc=dts@dpdk.org \
    --cc=yulong.pei@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).