From: "Wiles, Keith" <keith.wiles@intel.com>
To: Vincent Li <vincent.mc.li@gmail.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Pktgen with bonding port
Date: Mon, 12 Dec 2016 21:08:25 +0000 [thread overview]
Message-ID: <7316C74C-5EE4-4986-AA63-B669D68D11D8@intel.com> (raw)
In-Reply-To: <CAK3+h2xif1qUE8gdFcbeYAQcn4BWYCaKX0U=Vj9YfTiGyTR=Qg@mail.gmail.com>
> On Dec 12, 2016, at 1:00 PM, Vincent Li <vincent.mc.li@gmail.com> wrote:
>
> Hi,
>
> It appears to me Pktgen can't be used with DPDK bonding port after
> reading the app/pktgen-port-cfg.c and bonding example code under DPDK
> source example/bond/main.c. is that the case?
>
> does Pktgen need to be patched to use DPDK bonding port? I plan to use
> Intel 82599 dual 10G port in bonding so I could achieve ~20G
> throughput, any thought?
For DPDK bonding to work the application must call TX routines even when idle, Pktgen did not do this in older versions.
Now Pktgen does work with bonding driver and I have been using it for a few week now. Please have a look at the current version of Pktgen. should be a 3.1.0 version on master.
What is the version you are using now?
Here is a command line I used to for 8 port/ 2 bonds of 4 ports each.
./app/app/x86_64-native-linuxapp-gcc/app/pktgen -l 1-3,18-19 -n 4 --proc-type auto --log-level 8 --socket-mem 4096,4096 --file-prefix pg --vdev=net_bonding0,mode=4,xmit_policy=l23,slave=0000:04:00.0,slave=0000:04:00.1,slave=0000:04:00.2,slave=0000:04:00.3 --vdev=net_bonding1,mode=4,xmit_policy=l23,slave=0000:81:00.0,slave=0000:81:00.1,slave=0000:81:00.2,slave=0000:81:00.3 -b 05:00.0 -b 05:00.1 -b 82:00.0 -b 83:00.0 -- -T -P --crc-strip -m [2:3].0 -m [18:19].1 -f themes/black-yellow.theme
>
> Thanks
>
> Vincent
Regards,
Keith
next prev parent reply other threads:[~2016-12-12 21:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-12 19:00 Vincent Li
2016-12-12 21:08 ` Wiles, Keith [this message]
[not found] ` <CAK3+h2xfRddcrrXu4AMno6iygbr1hsEGNw20JwZme-nsiFdx7A@mail.gmail.com>
[not found] ` <CA4411C5-59FC-444A-A455-48AA83374E96@intel.com>
2016-12-29 21:11 ` Vincent Li
2016-12-29 21:52 ` Wiles, Keith
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=7316C74C-5EE4-4986-AA63-B669D68D11D8@intel.com \
--to=keith.wiles@intel.com \
--cc=users@dpdk.org \
--cc=vincent.mc.li@gmail.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).