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 DC53EA04A5 for ; Thu, 18 Jun 2020 14:27:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A03B11BF30; Thu, 18 Jun 2020 14:27:16 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by dpdk.org (Postfix) with ESMTP id 6E3B51BF26 for ; Thu, 18 Jun 2020 14:27:14 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 223B852A; Thu, 18 Jun 2020 08:27:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 18 Jun 2020 08:27:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=i8Mdx5jaynILC p/k1MCi7qG3rwbow9lj4zkbeQVCreo=; b=pcWcjOfJnZA5Cn7SnuLhF+BPx8jYN FktKpLL29WYPMYSHYkC62VSNuCbRmmDcQrhsgbJKBdSYs/u2NFmBcRNxsavhd+qi HKdmDX6CFiVxKMsruwEeRvvZVyCCYiotcydlIBsTIOMFEQe+v4cr47QXxfzMx7lC jFKAjEcUowBGfTsv8pJLfA5RBj2u6pEHDquE1NL45Y4zQ8t27k5yv2omEyQJh38u bE2mmOtPnZqlYAQmRDHY/DwtoFLjKznmu6dftHCozT2Q8Mpi3g7oyNSWG0a8i1Cb nFFJ/jCqWat3rRl15Sb7Zh5aRKqcg8SWyqxBHzKl6+gFe7E+pMThk3isQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=i8Mdx5jaynILCp/k1MCi7qG3rwbow9lj4zkbeQVCreo=; b=oyxTrS+T 2McZZ0E3Tgw3gxq/BIWiHGdyxzzzlmDV/t/cwqpFi1/so+UkLDZdD6ti6lI+Tmga BHHNBFnVPcxPO58dxCDfS3FORB71MVfiedO0r70qxEWDB5N3f9FSJe62oOgOSPhr i8O4Wke2I3GN8dGUPX7CL4oBdht3TpcHva64YSbNZoDadcPMSr3BogYJP/HvcMvz XSox8xRg331+16PysK9SFSrVY5W9d9V+yAt5z5A5sFr7xP45Gy7fmrrdh9rG7yBr cgxtoeCAzHXRbS4OpkGMz1qjpkedny8axZPgU2KRiqTfb/FxItrrAjF1ubX4HWSA Suf8JF7WUrtnug== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudejgedghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes mhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedvhefgiedvjeegtdevhe efhfetleefgfeivefgffevfeejgedtgfeutdehtdegveenucfkphepjeejrddufeegrddv tdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth 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 3A5DB3280059; Thu, 18 Jun 2020 08:27:12 -0400 (EDT) From: Thomas Monjalon To: web@dpdk.org Cc: bruce.richardson@intel.com Date: Thu, 18 Jun 2020 14:27:09 +0200 Message-Id: <20200618122709.347468-1-thomas@monjalon.net> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617203700.3576668-1-thomas@monjalon.net> References: <20200617203700.3576668-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-web] [PATCH v2] 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 --- 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