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

Johnson, Brian brian.johnson at intel.com
Sat Jul 11 03:49:00 CEST 2020


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 <chenjie.xu at intel.com> 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 <shaklee3 at gmail.com>
> Sent: Friday, July 10, 2020 5:17 AM
> To: Xu, Chenjie <chenjie.xu at intel.com>
> Cc: users at dpdk.org
> 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 <chenjie.xu at intel.com<mailto:chenjie.xu at intel.com>> wrote:
> Hi all,
> Do you know how to specify the packet size when using testpmd to test the network performance?
> 
> Best Regards,
> Xu, Chenjie


More information about the users mailing list