* [dpdk-users] No packet generated by dpdk pktgen in VM
@ 2016-03-12 17:30 Royce Niu
2016-03-13 3:49 ` Wiles, Keith
0 siblings, 1 reply; 3+ messages in thread
From: Royce Niu @ 2016-03-12 17:30 UTC (permalink / raw)
To: users
Dear all,
I have an issue in DPDK pkt-gen.
I use DPDK pkt-gen in KVM VM with two virtio NIC.
The VM has one core only and huge pages num is 1024
The command is "sudo app/build/pktgen -c 0x1 -n 3 --proc-type auto
--socket-mem 128 -- -P -m "0.0,0.1" -f test/set_seq.pkt"
When I use start 0. No packet is generated. Could you please help me on
this issue? Thanks
--
Regards,
Royce Niu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] No packet generated by dpdk pktgen in VM
2016-03-12 17:30 [dpdk-users] No packet generated by dpdk pktgen in VM Royce Niu
@ 2016-03-13 3:49 ` Wiles, Keith
2016-03-13 5:44 ` Royce Niu
0 siblings, 1 reply; 3+ messages in thread
From: Wiles, Keith @ 2016-03-13 3:49 UTC (permalink / raw)
To: Royce Niu, users
>Dear all,
>
>I have an issue in DPDK pkt-gen.
>
>I use DPDK pkt-gen in KVM VM with two virtio NIC.
>The VM has one core only and huge pages num is 1024
>
>The command is "sudo app/build/pktgen -c 0x1 -n 3 --proc-type auto
>--socket-mem 128 -- -P -m "0.0,0.1" -f test/set_seq.pkt"
Pktgen requires at least two cores or lcores to as the first lcore is consumed by the codline, display output and timers. Because the first core is busy handling the non-port related tasks it can not do RX/TX work.
>
>When I use start 0. No packet is generated. Could you please help me on
>this issue? Thanks
>
>
>
>--
>Regards,
>
>Royce Niu
>
Regards,
Keith
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] No packet generated by dpdk pktgen in VM
2016-03-13 3:49 ` Wiles, Keith
@ 2016-03-13 5:44 ` Royce Niu
0 siblings, 0 replies; 3+ messages in thread
From: Royce Niu @ 2016-03-13 5:44 UTC (permalink / raw)
To: Wiles, Keith; +Cc: Royce Niu, users
Thanks for your explanation. I see now.
On Sun, Mar 13, 2016 at 11:49 AM, Wiles, Keith <keith.wiles@intel.com>
wrote:
> >Dear all,
> >
> >I have an issue in DPDK pkt-gen.
> >
> >I use DPDK pkt-gen in KVM VM with two virtio NIC.
> >The VM has one core only and huge pages num is 1024
> >
> >The command is "sudo app/build/pktgen -c 0x1 -n 3 --proc-type auto
> >--socket-mem 128 -- -P -m "0.0,0.1" -f test/set_seq.pkt"
>
> Pktgen requires at least two cores or lcores to as the first lcore is
> consumed by the codline, display output and timers. Because the first core
> is busy handling the non-port related tasks it can not do RX/TX work.
>
> >
> >When I use start 0. No packet is generated. Could you please help me on
> >this issue? Thanks
> >
> >
> >
> >--
> >Regards,
> >
> >Royce Niu
> >
>
>
> Regards,
> Keith
>
>
>
>
>
--
Regards,
Royce Niu
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-13 5:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-12 17:30 [dpdk-users] No packet generated by dpdk pktgen in VM Royce Niu
2016-03-13 3:49 ` Wiles, Keith
2016-03-13 5:44 ` Royce Niu
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).