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 5E8DBA04DB; Mon, 30 Nov 2020 17:46:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 29AFE4F9A; Mon, 30 Nov 2020 17:46:06 +0100 (CET) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by dpdk.org (Postfix) with ESMTP id 059B14C99 for ; Mon, 30 Nov 2020 17:46:05 +0100 (CET) Received: by mail-pl1-f195.google.com with SMTP id t18so6805179plo.0 for ; Mon, 30 Nov 2020 08:46:04 -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=Yz1JECEgSLnKCFi/ewzcYipBfuGZMIgla3f18XAUW4A=; b=Ql9oseWrpa2O1Ihj7WgXGXX8ve0ll6vSIHU4AoX7tFJzGuoScOrgAatjcPvLWPqzGX MNYBhSjs1vZHKvE5vMj/em40dXUC9szRP/4mhHk4n3bufbA8O3w/8BmVI+n96LK3khTQ CIHdyNqkIkZ4VO/W4OuouJD/xvOnNMmN2TzY/Kv/LrMbSN77lUaCKeIE3EifBzPGdQ1n MGNEbin2++In1qWKzHtcoQerNUi27z0gz9+d0b24GL/n1emLEMYDdlSVFwFP83XX/MnS BsiaAzbcU/IeJUajFx53MRk7q2TsJPZAHzxCFE/bBNA0G8HF6K/RibNYdpWTh+xwSCId HHsw== 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=Yz1JECEgSLnKCFi/ewzcYipBfuGZMIgla3f18XAUW4A=; b=NnIfKOIuG8Ge+dd1JGJPikuaIYWdvF4K+/HbLoLZ/sjcyrlcKJdQnvOCN8b3VVaAlF MCrLtCSGsr130Grz7ghx7xMrEl0sQKR3s8b7SIXsMcXXK46p7h+XTHyCQBvcRZ1atSLc UBNkKu2Tn+eTpYpaA/1cgjeV+mA+/oakiMmWW9q8NI+mBtk6R/juqoxoH11nfg//S/H7 7yNhI4yAsawhF66cUB1lF7ga+kdDOf8kOA9HVLhFpMOya5CwMSzADMv+tLRcDnfgliMT arXcnhUXi7ZUrQiRH72Xrc044o8BxN55KkjG0QVWsb4q8zmGSfS9Sj7/HPmbdruDLeXs QAgg== X-Gm-Message-State: AOAM533ilYv2PMiS8iRbDRagcpkTLTSweUR44SJmcwl5qPSi438ZzmUp hJNtwVpIH3+vq29EXibqSuuUTw== X-Google-Smtp-Source: ABdhPJyBn1VS3XGzBYSxDu5pXghZ2E/scxI8AbE0eI6abrSfiAMAZgm49Pi6mpz11N3PnyVS0gqjrA== X-Received: by 2002:a17:902:a9c7:b029:d9:d985:55b1 with SMTP id b7-20020a170902a9c7b02900d9d98555b1mr19373463plr.59.1606754763287; Mon, 30 Nov 2020 08:46:03 -0800 (PST) Received: from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id m9sm17129259pfh.94.2020.11.30.08.46.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 08:46:03 -0800 (PST) Date: Mon, 30 Nov 2020 08:46:00 -0800 From: Stephen Hemminger To: Sarosh Arif Cc: sthemmin@microsoft.com, dev@dpdk.org Message-ID: <20201130084600.15fcfe43@hermes.local> In-Reply-To: <20201130124719.23434-1-sarosh.arif@emumba.com> References: <20201130124719.23434-1-sarosh.arif@emumba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] usertools: show valid hugepage sizes if user requests an invalid hugepage size 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, 30 Nov 2020 17:47:19 +0500 Sarosh Arif wrote: > If user requests a hugepage size which is not supported by the system, > currently user gets an error message saying that the requested size > is not a valid system huge page size. In addition to this if we display > the valid hugepage sizes it will be convenient for the user to request > the right size next time. > > Signed-off-by: Sarosh Arif > --- > usertools/dpdk-hugepages.py | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) If the two patches depend on each other, they should be sent in one email thread with 1/2 2/2 in header. This patch introduces pylint warning usertools/dpdk-hugepages.py:52:0: C0116: Missing function or method docstring (missing-function-docstring)