From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 8386B1B55E; Fri, 3 Aug 2018 15:02:34 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Aug 2018 06:02:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,438,1526367600"; d="scan'208";a="221510024" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.252.10.169]) ([10.252.10.169]) by orsmga004.jf.intel.com with ESMTP; 03 Aug 2018 06:02:03 -0700 To: David Hunt , web@dpdk.org Cc: dev@dpdk.org, thomas@monjalon.net, Pablo de Lara , Kirill Rybalchenko References: <20180803114114.45695-1-david.hunt@intel.com> From: "Burakov, Anatoly" Message-ID: <4062b86a-609d-83b8-528f-c0159c9ba427@intel.com> Date: Fri, 3 Aug 2018 14:02:02 +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: <20180803114114.45695-1-david.hunt@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [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: Fri, 03 Aug 2018 13:02:35 -0000 On 03-Aug-18 12:41 PM, 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 > --- Just a side note (and i'm being selfish here, because i want reviews!) - usages like this is exactly what i had in mind when i created the Python library RFC [1]. This has a lot of code duplication with the DPDK devbind etc., which could've been avoided if the code has been more modular. [1] http://patches.dpdk.org/project/dpdk/list/?series=225&state=* -- Thanks, Anatoly