[dpdk-users] How to specify packet size of testpmd

Xu, Chenjie chenjie.xu at intel.com
Fri Jul 10 11:15:05 CEST 2020


Hi Mishal,
“set <portlist> size <value>” works weel. Thank you so much!

Best Regards,
Xu, Chenjie

From: Mishal Shah <shahmishal1998 at gmail.com>
Sent: Friday, July 10, 2020 5:10 PM
To: Xu, Chenjie <chenjie.xu at intel.com>
Cc: Van Haaren, Harry <harry.van.haaren at intel.com>; users at dpdk.org
Subject: Re: [dpdk-users] How to specify packet size of testpmd

Hi,

You can use the set <portlist> size <value> command on pktgen command line to set the packet size. If you're using Lua script for more customizations/situations, you can use the following command: pktgen.set(port, "size", pktSize);

The entire list of commands can be found at https://pktgen-dpdk.readthedocs.io/en/latest/commands.html

Hope that helps.

Regards,
Mishal


More information about the users mailing list