DPDK usage discussions
 help / color / mirror / Atom feed
From: "Xu, Chenjie" <chenjie.xu@intel.com>
To: Mishal Shah <shahmishal1998@gmail.com>
Cc: "Van Haaren, Harry" <harry.van.haaren@intel.com>,
	"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] How to specify packet size of testpmd
Date: Fri, 10 Jul 2020 09:15:05 +0000
Message-ID: <CY4PR11MB1560AC2033C0A0E551DFCFF08A650@CY4PR11MB1560.namprd11.prod.outlook.com> (raw)
In-Reply-To: <CALPu+F0YXHQ+JZubky34agdBMZ4e+Bgha-Lqb3+xd_LSYWrP4A@mail.gmail.com>

Hi Mishal,
“set <portlist> size <value>” works weel. Thank you so much!

Best Regards,
Xu, Chenjie

From: Mishal Shah <shahmishal1998@gmail.com>
Sent: Friday, July 10, 2020 5:10 PM
To: Xu, Chenjie <chenjie.xu@intel.com>
Cc: Van Haaren, Harry <harry.van.haaren@intel.com>; users@dpdk.org
Subject: Re: [dpdk-users] How to specify packet size of testpmd


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.


  reply	other threads:[~2020-07-10  9:15 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 [this message]
2020-07-09 21:17 ` Cliff Burdick
2020-07-10  9:06   ` Xu, Chenjie
2020-07-11  1:49     ` Johnson, Brian

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:

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

  git send-email \
    --in-reply-to=CY4PR11MB1560AC2033C0A0E551DFCFF08A650@CY4PR11MB1560.namprd11.prod.outlook.com \
    --to=chenjie.xu@intel.com \
    --cc=harry.van.haaren@intel.com \
    --cc=shahmishal1998@gmail.com \
    --cc=users@dpdk.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git