[dpdk-users] [ptkgen-dpdk] Only can send a few packets and stopped.
Wiles, Keith
keith.wiles at intel.com
Mon Aug 13 23:13:29 CEST 2018
On Aug 13, 2018, at 9:46 AM, Vic Wang(BJ-RD) <VicWang at zhaoxin.com<mailto:VicWang at zhaoxin.com>> wrote:
Hi Wiles,
The version of pktgen I used is pktgen-3.5.2.
Additional, I just use one port for recving and xmiting with "-m [2:3].0" .
When I tried tools/pktgen-run.sh with the line "load_file = -f test/set_seq.lua" and without starting the dpdk on computer B, it seems to work a while. But with starting the dpdk on computer B, the pktgen on computer A can only transfer a few packets.
Pktgen normally works unless the command line is wrong. In your case it seems like the Link is not up or is going up and down. If you can loop the cable back to the same machine to a different port (if you have two ports).
Best Regards!
VicWang
________________________________
发件人: Wiles, Keith <keith.wiles at intel.com<mailto:keith.wiles at intel.com>>
发送时间: 2018年8月13日 21:18
收件人: Vic Wang(BJ-RD)
抄送: users at dpdk.org<mailto:users at dpdk.org>
主题: Re: [dpdk-users] [ptkgen-dpdk] Only can send a few packets and stopped.
> On Aug 13, 2018, at 6:01 AM, Vic Wang(BJ-RD) <VicWang at zhaoxin.com<mailto:VicWang at zhaoxin.com>> wrote:
>
> Hi,
> When I run pktgen-dpdk on computer A and run dpdk on computer B, the pktgen can only send a few packets( about one second) and stopped.
> The command on A side is ./tools/pktgen-run.sh.
> I modified some line in the tools/pktgen-run.sh to suit my computer. The critical line is "load_file = "-f test/tx-rx-loopback.lua"". I also tried "load_file = -f test/set_seq.lua". But it also only can send a few packets and stopped.
> Does anyone do it successful? I need your help, thanks very much.
Can you please tell me the version of pktgen and I would like to see the command line that is printed when run the script.
>
> Best Regards!
> VicWang
>
>
>
> ?????
> ?????????????????????????????????????????????????????
> CONFIDENTIAL NOTE:
> This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.
These notices are not valid on a public email list, please remove them when sending to this public list.
Regards,
Keith
保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.
Regards,
Keith
More information about the users
mailing list