DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Wiles, Keith" <keith.wiles@intel.com>
To: "Iñaki Murillo" <inaki.murilloa@ehu.eus>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Pktgen rate issue
Date: Tue, 12 Apr 2016 12:55:19 +0000	[thread overview]
Message-ID: <BF15FD47-908D-4195-9E72-3E22C040A7F5@intel.com> (raw)
In-Reply-To: <570CB0E3.7010709@ehu.eus>

>Hello
>
>I have been using pktgen for a while and I released that there is no 
>possibility to set a rate between  two whole numbers.
>
>  I looked up the source code and I found out that the rate is stored in 
>a uint8_t. So, I made a quick-and-dirty change just to check if it is 
>possible to get a speed between two hole numbers. It seemed to work 
>properly.
>
>  Is there a reason to use an uint8_t instead of a float, for example?

The uint8_t was easier then using floats :-)

If you have a patch for this change please send it along and I will look at adding the support.

>
>Thank you,
>
>Iñaki Murillo
>


Regards,
Keith





  reply	other threads:[~2016-04-12 12:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12  8:25 Iñaki Murillo
2016-04-12 12:55 ` Wiles, Keith [this message]
2016-04-21 14:22   ` Iñaki Murillo
2016-04-21 14:28     ` Wiles, Keith
2016-04-21 15:41       ` Iñaki Murillo

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=BF15FD47-908D-4195-9E72-3E22C040A7F5@intel.com \
    --to=keith.wiles@intel.com \
    --cc=dev@dpdk.org \
    --cc=inaki.murilloa@ehu.eus \
    /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).