DPDK usage discussions
 help / color / mirror / Atom feed
From: "Wiles, Keith" <keith.wiles@intel.com>
To: Zhao Chang <zhaochang206@gmail.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] pktgen run.py error: Config file 'default' not found
Date: Tue, 17 Jul 2018 14:18:08 +0000	[thread overview]
Message-ID: <9E87F716-B649-44DE-B665-BA6132077A0B@intel.com> (raw)
In-Reply-To: <CADHJ0h_9PNwznKHjZHxAqggjJeugBehMyz6-WXw5R=4JYyy_eg@mail.gmail.com>



> On Jul 16, 2018, at 11:09 PM, Zhao Chang <zhaochang206@gmail.com> wrote:
> 
> 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”.

change directory to cd .. then do ./tools/run.py -s default

I need to change the code to find the cfg directory, but we do not have a environment variable to the pktgen directory tree :-(

> 
> 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
>   ----               -----------
> 
> 
> 
> But in fact, the configuration file does exist in /pktgen-dpdk/cfg
> 
> 
> root@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!

Regards,
Keith


      reply	other threads:[~2018-07-17 14:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17  6:09 Zhao Chang
2018-07-17 14:18 ` Wiles, Keith [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9E87F716-B649-44DE-B665-BA6132077A0B@intel.com \
    --to=keith.wiles@intel.com \
    --cc=users@dpdk.org \
    --cc=zhaochang206@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).