From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1FC62A04A5 for ; Wed, 17 Jun 2020 22:37:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D54551252; Wed, 17 Jun 2020 22:37:10 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 5063BFFA for ; Wed, 17 Jun 2020 22:37:09 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id AF5D55C00D6; Wed, 17 Jun 2020 16:37:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 17 Jun 2020 16:37:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=y8wUmEierYo+EzJEBD1XRAbdmc srxtea6IzC0UDgKfg=; b=OjdEjNM94xWZXOK/esI3xwTMOMquQOywwVMtOOdxsO yXFLiUYR4kE3CnL/hDoOwIXOanIBZeDsLcdwPH/I/JajYNLBRAE1kmkQjJqBBb9N jIN0rvaZUd+EpuCE3mKVuJH0zQHWG9smcpdBixB+aUlwuIzCyAfNJRfaFLMKtZY8 iRVGlRYvNTK9YCUdLataHWp8PsbKwho/Ivaq8cKw82ylNR7Xd5YWbyqoi0JCTjH6 lG7Y3XM0ZWF/M5Fn5R8BOyAnz5EMZ2pMGIdz0aIXiHau58NPF0x/BHXZ3JBuMEIU vxWHBiJzKmQWNRyjQL3XLPi/lre5a6Sd4R6nsieW6Sng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=y8wUmEierYo+EzJEB D1XRAbdmcsrxtea6IzC0UDgKfg=; b=MoQqsG62mhFFbx2uVjI/zd8KRjI+cZi8k Hkw1pY9+E+iLnjh7RoG5b4QXLaq4fF/6Jzoe4k4tD6N4ZcLMRtby1biu5OX0YKqD MfKANts399LnYCJ6tdPwkW7T/w6OLKyBiojITf/inFo/ueb27QAVhLbx0Tl/9nD3 60N9HzokeHoTkgRzylvkFVsLVybt2R8Dsxeoo22ZWWCEIFpeAiIPhnetPict0+2S WBy7j94+Mu/yWeJ9UYMhGh+c1F0nbeWkcamKrPQHF3u2TgZ/DJbkPi2rtqIIEKTc chgZWPfKUzfPGoTWgRT7rjawpiPAeynMC6trVXKA3qjr1N0FCuM9w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudejvddgudehtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehm ohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepvdelvdduhedvudduveeuvd evheegudelgeeigfejheduhedttdegudffjeeihffgnecukfhppeejjedrudefgedrvddt fedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id ECA1230618BF for ; Wed, 17 Jun 2020 16:37:07 -0400 (EDT) From: Thomas Monjalon To: web@dpdk.org Date: Wed, 17 Jun 2020 22:37:00 +0200 Message-Id: <20200617203700.3576668-1-thomas@monjalon.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-web] [PATCH] update quick start page X-BeenThere: web@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK website maintenance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: web-bounces@dpdk.org Sender: "web" Use meson instead of make. Remove -n EAL option. Signed-off-by: Thomas Monjalon --- 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