Add --rxd 1024 --txd 1024 to the command after -- and the error will go away. You have to set up the size before launching testpmd and using set txpkts 128
Sent from my iPhone > On Jul 10, 2020, at 2:07 AM, Xu, Chenjie <[email protected]> wrote: > > Hi Cliff, > Thank you for your reply! I have tried “set txpkts” but meet the following > problem: > testpmd> set txpkts 128 > nb segments per TX packets=1 >= nb_txd=0 - ignored > > And I’m trying to use pktgen now. > > Best Regards, > Xu, Chenjie > > From: Cliff Burdick <[email protected]> > Sent: Friday, July 10, 2020 5:17 AM > To: Xu, Chenjie <[email protected]> > Cc: [email protected] > Subject: Re: [dpdk-users] How to specify packet size of testpmd > > Use "set txpkts" to set the packet size. > > On Thu, Jul 9, 2020 at 2:25 AM Xu, Chenjie > <[email protected]<mailto:[email protected]>> wrote: > Hi all, > Do you know how to specify the packet size when using testpmd to test the > network performance? > > Best Regards, > Xu, Chenjie
