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 <[email protected]>
Sent: Monday, July 13, 2020 4:58 PM
To: Xu, Chenjie <[email protected]>
Cc: [email protected]
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 
<[email protected]<mailto:[email protected]>> 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

Reply via email to