[英]Can I just run one port to send packet continuously in Pktgen?
I want to accomplish to send packet continuously in port "0",and I have done some configuraition:我想完成在端口“0”连续发送数据包,我做了一些配置:
./app/x86_64-native-linuxapp-gcc/pktgen -l 0-2 -n 4 --proc-type auto --socket-mem 1024 -b 00:08.0 -- -P -m "[1].0"
and in the interactive CLI I set something:在交互式 CLI 中我设置了一些东西:
Pktgen>set 0 src ip "192.168.12.2/24"
Pktgen>set 0 dst ip "192.168.12.3"
Pktgen>set 0 proto udp
Pktgen>set 0 count 0
Pktgen>set 0 rate 50
Pktgen>set 0 size 64
Pktgen>start 0
But according to the page main
display, the port 0
just transmit few packets and stop to send packet anymore,even I stop 0
and start 0
again, there is no any response.但是根据page main
显示, port 0
只是传输了很少的数据包并停止发送数据包,即使我stop 0
并start 0
,也没有任何响应。
Pktgen must config two dpdk ports? Pktgen 必须配置两个 dpdk 端口? when I config two dpdk ports and run scripts/rfc2544_tput_test.lua
, it works well,I want to know why...当我配置两个 dpdk 端口并运行scripts/rfc2544_tput_test.lua
时,它运行良好,我想知道为什么...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.