[dpdk-users] Pktgen with bonding port
keith.wiles at intel.com
Mon Dec 12 22:08:25 CET 2016
> On Dec 12, 2016, at 1:00 PM, Vincent Li <vincent.mc.li at gmail.com> wrote:
> 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
More information about the users