[dpdk-users] pktgen run.py error: Config file 'default' not found

Zhao Chang zhaochang206 at gmail.com
Tue Jul 17 08:09:01 CEST 2018

 Hi, I want to run pktgen on my VMware virtual machine. I followed Getting
Started with Pktgen
<http://pktgen-dpdk.readthedocs.io/en/latest/getting_started.html> and when
I executed  run.py it shows an empty list of config files. Then I trid to
execute the instructions on the doc, I got an error says "Config file
'default' not found".

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

   Name             - Description
   ----               -----------
root at 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
   Name             - Description
   ----               -----------

But in fact, the configuration file does exist in /pktgen-dpdk/cfg

root at ubuntu:/home/chang/pktgen-dpdk/cfg# ls
bond.cfg          default.cfg     pktgen-1.cfg      server_mif.cfg
client_memif.cfg  half-bond.cfg   pktgen-2.cfg
client_mif.cfg    many-cores.cfg  server_memif.cfg

My system is Ubuntu 18.04 installed on VMware. I've tried to re-clone the
code, re-compile dpdk and pktgen, tried to install it on another machine,
but got the same error.

Thanks in advance!

More information about the users mailing list