From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 06728A0547; Fri, 12 Feb 2021 13:51:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91DE222A282; Fri, 12 Feb 2021 13:51:43 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id 251FB22A274 for ; Fri, 12 Feb 2021 13:51:42 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 70DAE92B; Fri, 12 Feb 2021 07:51:40 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 12 Feb 2021 07:51:41 -0500 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:content-type; s=fm3; bh= zpxcQCLrbd5mIBvsGCAHyGTL6LxfQkN6l7YPomc2plw=; b=pMdj40hwjaAZjDcP siaJxgp3lkxdE05/JKhzIS5pIAR518TD1ipQ2L1bdcPFRuPHHjI2ok3atX7W+7m6 mciHz6Di/Abyf9eEPyarvu5bmDUi9xUlPg1RgBakvpxW6+IXqXTKv8FbrjLGKzrs 3dRw1REQVSA5INDBROl6XeeLv0FdA3/1EDnSI9E22RGDJSLqFnfzsnKV9BdYjEuL tUliqYDQt9rJQ18ijwRbFOOve3kX5Mh17t76/wlYs/+z7E+GfOlaGAldItcoipCG NJCH287eiUoN3bJbOh10L10QLF0FPsEZq1N6HPu41UdU3eALwsyxudmnzbD2C/t5 rj2ZVg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :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=fm2; bh=zpxcQCLrbd5mIBvsGCAHyGTL6LxfQkN6l7YPomc2p lw=; b=VmMuiupYqgatuG1Gm66/ws0DcRXk0R4cW0gF/Je3OGx9Vvc09LmksjI2f pL/zVfSxdn9CxnH2ZcPQT90rx40XqGuYu0tItyU20mwC2pJS2chUdf6d5S3d5Bzl sXNuRgt1/92B3wtr/+Shz2Yn8XaESV5jG+zIFuJEuIFb6SsP/eETBbXK4wPu5V0+ yPInuAFicmWXIaOG0Lf3THxhKdSeccTSxJ++bRzWYZ8dXFQIK4Aa9c2yzptZHf3q FYuAfZoZMZEP92bEcss9QAAiLLzeEfiupLElADpOVIJ4IuolkgMzes0wV04pk3C4 y9Xcxyz1VbAGP/wlbpxOpq6TlNJlQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledriedugdeghecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 22F0C108005C; Fri, 12 Feb 2021 07:51:38 -0500 (EST) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org, Stephen Hemminger , Anoob Joseph , Ankur Dwivedi , Matan Azrad , Shahaf Shuler , Viacheslav Ovsiienko , Maxime Coquelin , Chenbo Xia Date: Fri, 12 Feb 2021 13:51:36 +0100 Message-ID: <2999521.QBpJZUq1JZ@thomas> In-Reply-To: <6d6b5f40-2145-38df-6749-f3f9f581de17@intel.com> References: <20210211181700.1273539-1-thomas@monjalon.net> <6d6b5f40-2145-38df-6749-f3f9f581de17@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] doc: replace hugepages commands with dedicated tool X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 12/02/2021 12:55, Ferruh Yigit: > On 2/11/2021 6:16 PM, Thomas Monjalon wrote: > > --- a/doc/guides/howto/lm_bond_virtio_sriov.rst > > +++ b/doc/guides/howto/lm_bond_virtio_sriov.rst > > @@ -581,9 +581,9 @@ Set up DPDK in the Virtual Machine > > # virtio port is 03 > > # vf port is 04 > > > > - cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages > > - echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages > > - cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages > > + /root/dpdk/usertools/dpdk-hugepages.py --show > > + /root/dpdk/usertools/dpdk-hugepages.py --setup 2G > > + /root/dpdk/usertools/dpdk-hugepages.py --show > > Wouldn't be better to use 'dpdk-hugepages.py' only, or perhaps > './usertools/dpdk-hugepages.py' but not full path. > The dpdk path, '/root/dpdk/', assumption can be missleading. Using this fixed path is consistent with the rest of this howto. Maybe you would prefer a rewrite of the howto?