Hi Mishal, “set <portlist> size <value>” works weel. Thank you so much!
Best Regards, Xu, Chenjie From: Mishal Shah <[email protected]> Sent: Friday, July 10, 2020 5:10 PM To: Xu, Chenjie <[email protected]> Cc: Van Haaren, Harry <[email protected]>; [email protected] 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
