DPDK usage discussions
 help / color / mirror / Atom feed
From: "Johnson, Brian" <brian.johnson@intel.com>
To: "Xu, Chenjie" <chenjie.xu@intel.com>
Cc: Cliff Burdick <shaklee3@gmail.com>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] How to specify packet size of testpmd
Date: Sat, 11 Jul 2020 01:49:00 +0000	[thread overview]
Message-ID: <6708FFF1-70AE-4C18-A82A-EF5B99CCC52A@intel.com> (raw)
In-Reply-To: <CY4PR11MB1560076DA8430F79C6BE799F8A650@CY4PR11MB1560.namprd11.prod.outlook.com>

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@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@gmail.com>
> Sent: Friday, July 10, 2020 5:17 AM
> To: Xu, Chenjie <chenjie.xu@intel.com>
> Cc: users@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@intel.com<mailto:chenjie.xu@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

      reply	other threads:[~2020-07-11  1:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-09  9:25 Xu, Chenjie
2020-07-09  9:50 ` Van Haaren, Harry
2020-07-10  8:58   ` Xu, Chenjie
2020-07-10  9:10     ` Mishal Shah
2020-07-10  9:15       ` Xu, Chenjie
2020-07-09 21:17 ` Cliff Burdick
2020-07-10  9:06   ` Xu, Chenjie
2020-07-11  1:49     ` Johnson, Brian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6708FFF1-70AE-4C18-A82A-EF5B99CCC52A@intel.com \
    --to=brian.johnson@intel.com \
    --cc=chenjie.xu@intel.com \
    --cc=shaklee3@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).