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 6FCC6A0524; Sun, 6 Dec 2020 18:43:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9F10C295B; Sun, 6 Dec 2020 18:43:44 +0100 (CET) Received: from mail-pj1-f67.google.com (mail-pj1-f67.google.com [209.85.216.67]) by dpdk.org (Postfix) with ESMTP id 233122952 for ; Sun, 6 Dec 2020 18:43:42 +0100 (CET) Received: by mail-pj1-f67.google.com with SMTP id o7so6095100pjj.2 for ; Sun, 06 Dec 2020 09:43:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nB2aeeWhXNL45CMDgokFt/R4oUE2XLKiWtW8hfz/38k=; b=SllKhKdKJyWZ6BBcUTaJ0imso90Tan93jWBWQ6RmH6rKf9jqnNRqgtNl240fWjMJ5x BdBrwkC+PXY4Ar8HDnYg2w1n+vQ2JrVOhjwM0oEbEXDDHU1U4YGNm2CwNIRiIakjZBWl nibWXn7S+OeFG3pKWe/QEw864M043x8LiTzPBw99PpuAd/qcXddqrY2l73BMy/8OBJzA v+qQ5f5fbEkQmodZHJwakoi4aWO+1MGbrHfhW4m2vwR39kKaopeQk9Hl0xDrrnJywKyb 2vrcNq/0YW4sDa/+zivkE27CBHwrqhPWmkZFrEcx1MXaD0dIHN9AKFDVXMhIiFqCB2PF VVKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nB2aeeWhXNL45CMDgokFt/R4oUE2XLKiWtW8hfz/38k=; b=SXfHP9WgHm8d+QM5X3sFJuog23bbXbnBcqyMhZpbSsCRytEKmKMWyZOsGt58GWrsUG rKUqLKUoQKNOVGnlYcQztOR5KiK8UJh0ARc1LwqDdvEa6QKsQnB8Dx78GryIYdVNpvtU lNjjioWyQRVYr0Gi2Sgrsp3I/nH6LWD3yOFUBzz6JvXjN6wmKLvyPUYjCPuKatpoDZt0 C6NSg+6SzcJfsZdGuE7T1lclxpB4Eo0M4x40Cq7eb3xnIrDnEYNvZu9vkLrbdQezFMoy qLccPGTNvDuUYd741ZUxjtOqQuOuSf7JybJOrzKkQtyiQlUvBiUMZh6MR20dEWHdGaZ+ V1iA== X-Gm-Message-State: AOAM531QDHjE92TgfxU017OgRDcEzaiYV1XXusH6VrOp7aegcmT2OyVl qn8zBjtMYAgQsXp6g/8hKTJhDg== X-Google-Smtp-Source: ABdhPJwQBYIwUY+qNWfc6otujBalBTYAcAoC27AHay990+lXhhAthG0ZczM/5LGyEh/VPYZeH0nJcw== X-Received: by 2002:a17:90a:d3c2:: with SMTP id d2mr12965202pjw.221.1607276621246; Sun, 06 Dec 2020 09:43:41 -0800 (PST) Received: from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id s21sm9235982pgk.52.2020.12.06.09.43.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2020 09:43:40 -0800 (PST) Date: Sun, 6 Dec 2020 09:43:37 -0800 From: Stephen Hemminger To: walimisdev@gmail.com Cc: dpdk-dev Message-ID: <20201206094337.37cf321b@hermes.local> In-Reply-To: <20201206173114.3954124-1-walimisdev@gmail.com> References: <20201206173114.3954124-1-walimisdev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] doc: fix wrong hugepages setting path X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On Mon, 7 Dec 2020 01:31:14 +0800 walimisdev@gmail.com wrote: > From: Wang Liming > > Remove redundant "nr_hugepages" words from mlx4 and mlx5 doc. > > Signed-off-by: Wang Liming > --- > doc/guides/nics/mlx4.rst | 2 +- > doc/guides/nics/mlx5.rst | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/doc/guides/nics/mlx4.rst b/doc/guides/nics/mlx4.rst > index 354c2bb82..b40954e88 100644 > --- a/doc/guides/nics/mlx4.rst > +++ b/doc/guides/nics/mlx4.rst > @@ -405,7 +405,7 @@ devices managed by librte_net_mlx4. > > #. Request huge pages:: > > - echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages/nr_hugepages > + echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages > > #. Start testpmd with basic parameters:: > > diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst > index 3bda0f841..afefe6a3a 100644 > --- a/doc/guides/nics/mlx5.rst > +++ b/doc/guides/nics/mlx5.rst > @@ -1594,7 +1594,7 @@ ConnectX-4/ConnectX-5/ConnectX-6/BlueField devices managed by librte_net_mlx5. > > #. Request huge pages:: > > - echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages/nr_hugepages > + echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages > > #. Start testpmd with basic parameters:: > Could we change the drivers to refer to the existing hugepages script rather than doing "roll your own"