pktgen-dpdk 运行 run.py 报错 Config file 'default' not found 解决方法

时间:2022-09-25 06:49:46

pktgen 操作手册:http://pktgen-dpdk.readthedocs.io/en/latest/getting_started.html

执行到这一步时:

$ cd <PktgenInstallDir>/tools
$ ./run.py -s default

运行 run.py 后系统提示我没有对应的 config file。

root@ubuntu:/home/chang/pktgen-dpdk/tools# ./run.py
>>> sdk '/home/chang/dpdk', target 'x86_64-native-linuxapp-gcc'
*** Pick one of the following config files Configurations:
Name - Description
---- -----------
root@ubuntu:/home/chang/pktgen-dpdk/tools# ./run.py -s default
>>> sdk '/home/chang/dpdk', target 'x86_64-native-linuxapp-gcc'
*** Config file 'default' not found
Configurations:
Name - Description
---- -----------

解决方案:

$ cd ..
$ ./tools/run.py -s default

来源:https://mails.dpdk.org/archives/users/2018-July/003269.html

感谢这位工程师!