DPDK usage discussions
 help / color / Atom feed
* [dpdk-users]  pktgen can't send packet forever
@ 2020-07-13  8:32 Xu, Chenjie
  2020-07-13  8:58 ` Mishal Shah
  2020-07-13 14:23 ` Wiles, Keith
  0 siblings, 2 replies; 4+ messages in thread
From: Xu, Chenjie @ 2020-07-13  8:32 UTC (permalink / raw)
  To: users

Dear all,
I'm using pktgen 17.11.3 and pktgen can only send packets a few seconds though pktgen is configured to send packet forever as below:
Tx Count/% Rate   :       Forever /100%

Does anyone know how to fix this issue? By the way, I'm following the below guide to use pktgen:
https://github.com/intel/userspace-cni-network-plugin#testing-with-dpdk-l3fwd-application

Best Regards,
Xu, Chenjie


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] pktgen can't send packet forever
  2020-07-13  8:32 [dpdk-users] pktgen can't send packet forever Xu, Chenjie
@ 2020-07-13  8:58 ` Mishal Shah
  2020-07-13  9:21   ` Xu, Chenjie
  2020-07-13 14:23 ` Wiles, Keith
  1 sibling, 1 reply; 4+ messages in thread
From: Mishal Shah @ 2020-07-13  8:58 UTC (permalink / raw)
  To: Xu, Chenjie; +Cc: users

Hi,

I'm not very sure if I've understood your issue right, but for pktgen to
send packets we need to do "start <portlist>" to start sending the packets
and "stop <portlist>" to stop sending packets, have you done that?

Regards,
Mishal


On Mon, Jul 13, 2020 at 2:03 PM Xu, Chenjie <chenjie.xu@intel.com> wrote:

> Dear all,
> I'm using pktgen 17.11.3 and pktgen can only send packets a few seconds
> though pktgen is configured to send packet forever as below:
> Tx Count/% Rate   :       Forever /100%
>
> Does anyone know how to fix this issue? By the way, I'm following the
> below guide to use pktgen:
>
> https://github.com/intel/userspace-cni-network-plugin#testing-with-dpdk-l3fwd-application
>
> Best Regards,
> Xu, Chenjie
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] pktgen can't send packet forever
  2020-07-13  8:58 ` Mishal Shah
@ 2020-07-13  9:21   ` Xu, Chenjie
  0 siblings, 0 replies; 4+ messages in thread
From: Xu, Chenjie @ 2020-07-13  9:21 UTC (permalink / raw)
  To: Mishal Shah; +Cc: users

Hi Mishal,
I have done that. My steps are below:
         ./app/x86_64-native-linuxapp-gcc/pktgen -l 10,11,12 --vdev=virtio_user0,path=/ovs/2a22f95cc275-net1 --no-pci --socket-mem=1024 --master-lcore 10 -- -m 11:12.0 -P
       set 0 dst mac $MAC
       set 0 size 128
       start 0

After “start 0”, pktgen will send packets several seconds and then it just stops to send packet.

Best Regards,
Xu, Chenjie

From: Mishal Shah <shahmishal1998@gmail.com>
Sent: Monday, July 13, 2020 4:58 PM
To: Xu, Chenjie <chenjie.xu@intel.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] pktgen can't send packet forever

Hi,

I'm not very sure if I've understood your issue right, but for pktgen to send packets we need to do "start <portlist>" to start sending the packets and "stop <portlist>" to stop sending packets, have you done that?

Regards,
Mishal


On Mon, Jul 13, 2020 at 2:03 PM Xu, Chenjie <chenjie.xu@intel.com<mailto:chenjie.xu@intel.com>> wrote:
Dear all,
I'm using pktgen 17.11.3 and pktgen can only send packets a few seconds though pktgen is configured to send packet forever as below:
Tx Count/% Rate   :       Forever /100%

Does anyone know how to fix this issue? By the way, I'm following the below guide to use pktgen:
https://github.com/intel/userspace-cni-network-plugin#testing-with-dpdk-l3fwd-application

Best Regards,
Xu, Chenjie

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] pktgen can't send packet forever
  2020-07-13  8:32 [dpdk-users] pktgen can't send packet forever Xu, Chenjie
  2020-07-13  8:58 ` Mishal Shah
@ 2020-07-13 14:23 ` Wiles, Keith
  1 sibling, 0 replies; 4+ messages in thread
From: Wiles, Keith @ 2020-07-13 14:23 UTC (permalink / raw)
  To: Xu, Chenjie; +Cc: users



> On Jul 13, 2020, at 3:32 AM, Xu, Chenjie <chenjie.xu@intel.com> wrote:
> 
> Dear all,
> I'm using pktgen 17.11.3 and pktgen can only send packets a few seconds though pktgen is configured to send packet forever as below:
> Tx Count/% Rate   :       Forever /100%
> 
> Does anyone know how to fix this issue? By the way, I'm following the below guide to use pktgen:
> https://github.com/intel/userspace-cni-network-plugin#testing-with-dpdk-l3fwd-application

You must mean DPDK 17.11.3 and Pktgen as Pktgen does not have a version number of 17.11.3. What is the version of Pktgen you are using?

The next thing I would like you ask is if you can more to using the latest Pktgen and latest DPDK?
With my limited time I try to only debug latest DPDK and latest Pktgen. Using the latest versions Pktgen should work and you can still use DPDK 17.11.3 for your application if you need. The only reason to use and old version of DPDK/Pktgen is some driver version or OS version requires you to use these older versions.
> 
> Best Regards,
> Xu, Chenjie
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-13  8:32 [dpdk-users] pktgen can't send packet forever Xu, Chenjie
2020-07-13  8:58 ` Mishal Shah
2020-07-13  9:21   ` Xu, Chenjie
2020-07-13 14:23 ` Wiles, Keith

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://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/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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