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