test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Mo, YufengX" <yufengx.mo@intel.com>,
	"dts@dpdk.org" <dts@dpdk.org>,
	"Ma,  LihongX" <lihongx.ma@intel.com>
Subject: Re: [dts] [PATCH V3 2/2] framework/pktgen: fix PacketGeneratorHelper missed rate
Date: Fri, 20 Sep 2019 06:08:55 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB24A4B@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20190920021903.11770-3-yufengx.mo@intel.com>

Applied, thanks

> -----Original Message-----
> From: Mo, YufengX
> Sent: Friday, September 20, 2019 10:19 AM
> To: dts@dpdk.org; Ma, LihongX <lihongx.ma@intel.com>; Tu, Lijuan
> <lijuan.tu@intel.com>
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts][PATCH V3 2/2] framework/pktgen: fix PacketGeneratorHelper
> missed rate
> 
>  setting
> 
> add missing stream rate option in prepare_stream_from_tginput method.
> 
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
> ---
>  framework/pktgen.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/framework/pktgen.py b/framework/pktgen.py index
> 1c8acac..2c6cf7f 100644
> --- a/framework/pktgen.py
> +++ b/framework/pktgen.py
> @@ -194,6 +194,7 @@ class PacketGeneratorHelper(object):
>              pcap = config[2]
>              _options = deepcopy(self.default_opt)
>              _options['pcap'] = pcap
> +            _options['stream_config']['rate'] = ratePercent
>              # if vm is set
>              if vm_config:
>                  _options['fields_config'] = \
> --
> 2.21.0


      reply	other threads:[~2019-09-20  6:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-20  2:19 [dts] [PATCH V3 0/2] dts/pktgen: fix missing parameter setting yufengmx
2019-09-20  2:19 ` [dts] [PATCH V3 1/2] framework/pktgen_base: fix measure_throughput missed option yufengmx
2019-09-20  6:09   ` Tu, Lijuan
2019-09-20  2:19 ` [dts] [PATCH V3 2/2] framework/pktgen: fix PacketGeneratorHelper missed rate yufengmx
2019-09-20  6:08   ` Tu, Lijuan [this message]

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=8CE3E05A3F976642AAB0F4675D0AD20E0BB24A4B@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=lihongx.ma@intel.com \
    --cc=yufengx.mo@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).