From: "Wiles, Keith" <keith.wiles@intel.com>
To: Julien Castets <castets.j@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, Julien Castets <jcastets@scaleway.com>
Subject: Re: [dpdk-dev] [PATCH] Fix rate computation
Date: Tue, 21 Mar 2017 14:48:00 +0000 [thread overview]
Message-ID: <1797BE66-0EE3-4C9C-83DB-9DB6F2E44200@intel.com> (raw)
In-Reply-To: <20170321095440.22216-1-castets.j@gmail.com>
> On Mar 21, 2017, at 4:54 AM, Julien Castets <castets.j@gmail.com> wrote:
>
> From: Julien Castets <jcastets@scaleway.com>
>
> Signed-off-by: Julien Castets <jcastets@scaleway.com>
> ---
> app/pktgen.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/app/pktgen.c b/app/pktgen.c
> index e315bff..9a304c0 100644
> --- a/app/pktgen.c
> +++ b/app/pktgen.c
> @@ -110,7 +110,7 @@ pktgen_packet_rate(port_info_t *info)
> uint64_t cpp = (pps > 0) ? (pktgen.hz / pps) : (pktgen.hz / 4);
>
> info->tx_pps = pps;
> - info->tx_cycles = ((cpp * info->tx_burst) / get_port_txcnt(pktgen.l2p, info->pid));
> + info->tx_cycles = ((cpp * info->tx_burst) * get_port_txcnt(pktgen.l2p, info->pid));
> }
I have already made the change, thanks for the patch. I assumed it fixed the problem as I have not found an email confirming the fix. Thanks.
>
> /**************************************************************************//**
> --
> 2.11.0
>
Regards,
Keith
prev parent reply other threads:[~2017-03-21 14:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-21 9:54 Julien Castets
2017-03-21 14:48 ` Wiles, Keith [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=1797BE66-0EE3-4C9C-83DB-9DB6F2E44200@intel.com \
--to=keith.wiles@intel.com \
--cc=castets.j@gmail.com \
--cc=dev@dpdk.org \
--cc=jcastets@scaleway.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).