DPDK patches and discussions
 help / color / mirror / Atom feed
From: Christian Ehrhardt <christian.ehrhardt@canonical.com>
To: Ashwini Thaokar <thaokar.a@husky.neu.edu>
Cc: dev <dev@dpdk.org>
Subject: Re: [dpdk-dev] DPDK Installation
Date: Thu, 30 Mar 2017 07:58:30 +0200	[thread overview]
Message-ID: <CAATJJ0+15ucmkWAcx9CM9gtSDxUkc=L=9z2OfeG88FY8vaE5rQ@mail.gmail.com> (raw)
In-Reply-To: <CAFxnBGGWSUE7O52_e1fG=35kchekuCHOEMeYQQUhBWbh-rjBAA@mail.gmail.com>

On Wed, Mar 29, 2017 at 9:43 PM, Ashwini Thaokar <thaokar.a@husky.neu.edu>
wrote:

>
> You must put some 'source' URIs in your sources.list


Given the error message you likely want to user "apt build-dep" to
automatically get all dependencies to build a dpdk app by pulling in what
Ubuntu uses to build DPDK.
Since this is a common task a simple search would give you one of the many
short howtos where experienced users helped those who asked, like [1].


For the most basic check I'd say just install with "apt install dpdk" that
will give you the testpmd app already.
Of course you need to setup hugepages and assign devices, but the config of
the packages and [2] will help you.

If after this you want to build an own application what I usually do is
like:
# get dev libs and examples
$ apt-get install dpdk-doc dpdk-dev libdpdk-dev
# auto-get build dependencies (here you'll need the deb-src again)
$ apt-get build-dep dpdk
# get build env config
. /usr/share/dpdk/dpdk-sdk-env.sh
# build example
mkdir -p /tmp/l2fwd
make -C /usr/share/dpdk/examples/l2fwd "O=/tmp/l2fwd"


[1]:
http://askubuntu.com/questions/761357/how-to-automatically-update-etc-apt-sources-list-with-source-uris-on-ubuntu-16
[2]: https://help.ubuntu.com/16.04/serverguide/DPDK.html

-- 
Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd

  reply	other threads:[~2017-03-30  5:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-29 19:43 Ashwini Thaokar
2017-03-30  5:58 ` Christian Ehrhardt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-03-24 19:13 [dpdk-dev] DPDK installation Ashwini Thaokar
2017-03-24 19:22 ` De Lara Guarch, Pablo
2017-03-27  5:58   ` Christian Ehrhardt

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='CAATJJ0+15ucmkWAcx9CM9gtSDxUkc=L=9z2OfeG88FY8vaE5rQ@mail.gmail.com' \
    --to=christian.ehrhardt@canonical.com \
    --cc=dev@dpdk.org \
    --cc=thaokar.a@husky.neu.edu \
    /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).