From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id B68612965; Thu, 25 Oct 2018 12:35:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2018 03:35:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,424,1534834800"; d="scan'208";a="84356464" Received: from dhunt5-mobl2.ger.corp.intel.com (HELO [10.237.221.115]) ([10.237.221.115]) by orsmga008.jf.intel.com with ESMTP; 25 Oct 2018 03:35:20 -0700 To: Thomas Monjalon Cc: web@dpdk.org, "dev@dpdk.org" , "Mcnamara, John" References: <20180803114114.45695-1-david.hunt@intel.com> <2437619.RhQcZ1ZtzN@xps> <5b312886-3bcb-2d7d-fe08-f543e17104ed@intel.com> <90623370.bXQ1XRRXSb@xps> From: "Hunt, David" Message-ID: Date: Thu, 25 Oct 2018 11:35:19 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <90623370.bXQ1XRRXSb@xps> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [dpdk-web] [PATCH v1] add dpdk-quickstart python script 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: , X-List-Received-Date: Thu, 25 Oct 2018 10:35:23 -0000 Hi Thomas, On 25/10/2018 11:30 AM, Thomas Monjalon wrote: > 25/10/2018 11:31, Hunt, David: >> Hi Thomas, >> >> >> On 25/10/2018 10:14 AM, Thomas Monjalon wrote: >>> 25/10/2018 11:09, Hunt, David: >>>> Hi, >>>> >>>> I'm just wondering if there is anything I can do to help move this >>>> website patch forward? Any suggestions? >>> The website has changed. >>> It is using Hugo now. >>> The update in doc/quick-start.html must be ported. >> Sure, I'll have a look at that. >> >>> About the python script, I don't understand why you want to have it >>> in the web repo? >> The script needs to be somewhere outside the DPDK repo, browser >> accessible (or wget, etc), so >> the website archive seemed the most sensible place for it. > Why outside of the repo? > We can download files from the repo: > wget http://git.dpdk.org/dpdk/plain/usertools/cpu_layout.py Excellent, that's a very good suggestion. I'll make the necessary changes. Also, the usertools directory seems to be a good place. Thanks, Dave. >> So the idea was that the user gets the script, then when it's run, it >> downloads DPDK, >> installs package dependencies, builds DPDK, builds testpmd, binds to >> NICs, and runs testpmd. >> >> Regards, >> Dave. >> >> >>>> On 3/8/2018 12:41 PM, david.hunt at intel.com (David Hunt) wrote: >>>>> This patch contains two section. >>>>> 1. Updates to the existing quick-start.html page giving >>>>> infomration on the new dpdk-quickstart.py script. >>>>> 2. The dpdk-quickstart.py script itself. >>>>> >>>>> 1. The Quick start section contains some instructions for >>>>> building DPDK and running TestPMD. >>>>> While this is still useful, automating these steps >>>>> through a script would provide a much faster and painless >>>>> way to have DPDK up and running. The new dpdk-quickstart.py >>>>> aims to address this. >>>>> >>>>> 2. This script performs the following: >>>>> - Gets the latest DPDK release >>>>> - Gets the necessary dependencies (if needed) >>>>> - Builds DPDK with the default target >>>>> - Sets up hugepages >>>>> - Helps the user to select the ports to use on DPDK >>>>> - Runs TestPMD, showing packet forwarding between two ports >>>>> >>>>> Signed-off-by: Pablo de Lara >>>>> Signed-off-by: Kirill Rybalchenko >>>>> Signed-off-by: David Hunt >>>>> --- >>>>> doc/quick-start.html | 25 + >>>>> scripts/dpdk-quickstart.py | 996 +++++++++++++++++++++++++++++++++++++ >>>>> 2 files changed, 1021 insertions(+) >>>>> create mode 100755 scripts/dpdk-quickstart.py >>> >>> >> > > > >