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
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
>
>
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
> 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 >