DPDK website maintenance
 help / color / Atom feed
* [dpdk-web] [PATCH] update quick start page
@ 2020-06-17 20:37 Thomas Monjalon
  2020-06-18  8:21 ` Richardson, Bruce
  2020-06-18 12:27 ` [dpdk-web] [PATCH v2] " Thomas Monjalon
  0 siblings, 2 replies; 9+ messages in thread
From: Thomas Monjalon @ 2020-06-17 20:37 UTC (permalink / raw)
  To: web

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

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 content/doc/quick-start.md | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

diff --git a/content/doc/quick-start.md b/content/doc/quick-start.md
index fdffa98..1ecc8b8 100644
--- a/content/doc/quick-start.md
+++ b/content/doc/quick-start.md
@@ -11,17 +11,11 @@ Extract sources
   cd dpdk
 ```
 
-Enable pcap (libpcap headers are required).
+Build libraries, tests and examples applications.
 
 ```
-  make config T=x86_64-native-linuxapp-gcc
-  sed -ri 's,(PMD_PCAP=).*,\1y,' build/.config
-```
-
-Build libraries and test application (Linux headers may be needed with default config).
-
-```
-  make
+  meson -Dexamples=all build
+  ninja -C build
 ```
 
 Reserve huge pages memory.
@@ -35,7 +29,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 +63,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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, back to index

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 20:37 [dpdk-web] [PATCH] update quick start page 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 ` [dpdk-web] [PATCH v2] " Thomas Monjalon
2020-06-18 12:33   ` Richardson, Bruce
2020-06-22 15:03     ` Thomas Monjalon

DPDK website maintenance

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/web/0 web/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 web web/ http://inbox.dpdk.org/web \
		web@dpdk.org
	public-inbox-index web


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.web


AGPL code for this site: git clone https://public-inbox.org/ public-inbox