DPDK website maintenance
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: web@dpdk.org
Cc: bruce.richardson@intel.com
Subject: [dpdk-web] [PATCH v2] update quick start page
Date: Thu, 18 Jun 2020 14:27:09 +0200	[thread overview]
Message-ID: <20200618122709.347468-1-thomas@monjalon.net> (raw)
In-Reply-To: <20200617203700.3576668-1-thomas@monjalon.net>

Use meson instead of make.
Remove -n EAL option.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
v2: add separate build instructions for examples
---
 content/doc/quick-start.md | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

diff --git a/content/doc/quick-start.md b/content/doc/quick-start.md
index fdffa98..a1c2a6c 100644
--- a/content/doc/quick-start.md
+++ b/content/doc/quick-start.md
@@ -11,17 +11,18 @@ Extract sources
   cd dpdk
 ```
 
-Enable pcap (libpcap headers are required).
+Build libraries, drivers and test applications.
 
 ```
-  make config T=x86_64-native-linuxapp-gcc
-  sed -ri 's,(PMD_PCAP=).*,\1y,' build/.config
+  meson build
+  ninja -C build
 ```
 
-Build libraries and test application (Linux headers may be needed with default config).
+To include the examples as part of the build,
+replace the meson command with:
 
 ```
-  make
+  meson -Dexamples=all build
 ```
 
 Reserve huge pages memory.
@@ -35,7 +36,7 @@ Reserve huge pages memory.
 Run poll-mode driver test (with a cable between ports).
 
 ```
-  build/app/testpmd -c7 -n3 --vdev=net_pcap0,iface=eth0     --vdev=net_pcap1,iface=eth1 --
+  build/app/dpdk-testpmd -c7 --vdev=net_pcap0,iface=eth0 --vdev=net_pcap1,iface=eth1 --
                   -i --nb-cores=2 --nb-ports=2 --total-num-mbufs=2048
 
   testpmd> show port stats all
@@ -69,9 +70,3 @@ Run poll-mode driver test (with a cable between ports).
   TX-packets: 4384729        TX-dropped: 0             TX-total: 4384729
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ```
-
-Some sample applications can be tested after building them.
-
-```
-  make -C examples RTE_SDK=$(pwd) RTE_TARGET=build O=$(pwd)/build/examples
-```
-- 
2.26.2


  parent reply	other threads:[~2020-06-18 12:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-17 20:37 [dpdk-web] [PATCH] " Thomas Monjalon
2020-06-18  8:21 ` Richardson, Bruce
2020-06-18  8:50   ` Thomas Monjalon
2020-06-18  9:07     ` Richardson, Bruce
2020-06-18  9:59       ` Thomas Monjalon
2020-06-18 10:17         ` Richardson, Bruce
2020-06-18 12:27 ` Thomas Monjalon [this message]
2020-06-18 12:33   ` [dpdk-web] [PATCH v2] " Richardson, Bruce
2020-06-22 15:03     ` Thomas Monjalon

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=20200618122709.347468-1-thomas@monjalon.net \
    --to=thomas@monjalon.net \
    --cc=bruce.richardson@intel.com \
    --cc=web@dpdk.org \
    /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).