From: "Wiles, Keith" <keith.wiles@intel.com>
To: "Shi, Honglei" <honglei.shi@intel.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] config set in pktgen runtime options
Date: Fri, 9 Jun 2017 04:23:41 +0000 [thread overview]
Message-ID: <58438651-4F72-4A5B-AE09-EFFBD92AE7D8@intel.com> (raw)
In-Reply-To: <070D3F7886DB7F40BF4B62D66BEA1CE9398755C5@shsmsx102.ccr.corp.intel.com>
> On Jun 8, 2017, at 8:29 PM, Shi, Honglei <honglei.shi@intel.com> wrote:
>
> Hi,
> When I using pktgen (3.2.5), I encountered some problem when setting the configuration of the packet flow.
> BTW, I got the source code using "git clone http://dpdk.org/git/apps/pktgen-dpdk”.
Can you try the latest version 3.2.11 and see if that fixes your problem. I remember a problem around this issue, but need to verify it is in the latest version.
>
>
> 1. When using "set" command to set the source ip like this:
> Set 0 src ip 0.0.0.0/24
> As the help says: set <portlist> [src|dst] ip ipaddr - Set IP addresses, Source must include network mask e.g. 10.1.2.3/24.
> I got the error:
> Set command is invalid:
> Invalid line: <set >
> Pktgen:/> set 0 src ip 0.0.0.0/24
> No \XX subnet mask not found
>
>
> 2. Using "range" command like this: range 0 src ip (0.0.0.0, 0.0.0.0, 0.0.248.0, 128)
>
> I got the error:
>
> Range command error:
>
> Invalid line: <range 0 src ip (0.0.0.0, 0.0.0.0, 0.0.248.0, 128) >
>
> Some other command in the help cannot work well either.
> I wonder if there are some misunderstandings when I using this program.
>
> Have a nice day!:)
> Honglei
>
>
>
> Have a nice day!:)
> Honglei
>
Regards,
Keith
prev parent reply other threads:[~2017-06-09 4:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-09 1:29 Shi, Honglei
2017-06-09 4:23 ` 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=58438651-4F72-4A5B-AE09-EFFBD92AE7D8@intel.com \
--to=keith.wiles@intel.com \
--cc=honglei.shi@intel.com \
--cc=users@dpdk.org \
/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).