From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id BA08FA0353;
	Tue, 18 Aug 2020 19:10:10 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 16EDA2BE3;
	Tue, 18 Aug 2020 19:10:10 +0200 (CEST)
Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com
 [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id A601C2BAA
 for <dev@dpdk.org>; Tue, 18 Aug 2020 19:10:08 +0200 (CEST)
Received: by mail-pf1-f193.google.com with SMTP id f193so10267568pfa.12
 for <dev@dpdk.org>; Tue, 18 Aug 2020 10:10:08 -0700 (PDT)
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=6ibM5iRHcvs9tAy0SUPdIwmPHMz/9pTvQN1fbcnz4dE=;
 b=hYiNYVJvvcLY1HjuBsctcqMZZr7k+tQEEcdyaIjwnE5aWcqtKUOggAIL9dds6bR4Wa
 tTGGaiBYhylV7O9fEVW7Rq3C/VNJ9oxuPD1dYDJL1Ieq+8UZRDrFv73l2grFqavQJ7Uh
 I8Yldiu9Surg6+KvHt7wF0GcCL7VEoSRUBFIwDWFJM5Ntk061eXD3qKzybo5PQEH16es
 3PoMF9jWUg8gy0BMr/iEyqx3FTTGW3r5BMq8iR+hVHTZcdIaMHPbEZmCXWJjTfBjt4sD
 kASAnflcvitiw1agx2O2P5uIzeRpHHaR8PzzZZ+aV8w8b3hwSjiOM9+xNktUrPQ+XOLI
 MGBA==
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=6ibM5iRHcvs9tAy0SUPdIwmPHMz/9pTvQN1fbcnz4dE=;
 b=FuwucdaZRhn21tgiN5jCzXQa/6muTpsAzfItuPd3NVVv4WZSg+KpYYJ40glbmiFgp+
 6CErNkA3wvcluq4y+YC2I+aD5k8CjS+xC+yh79yqP6tPC7I9ptekghQ0Kms2aiSfg8DE
 YhgNngG0OthsNEvbLZPhAXDzXxX3ryKDcwM8JPoR+WBYr4b0nfXzQw2OtImhM3itXqTR
 pKyzFoSc/4ImnZF4eAWQbeHQkL4O5B0yjmeM/ZXf2FG2OXjz3WJLPyEAVS5wteKNTuL+
 BZ7hbbtcQ30bU+608uTCDbi3kyOrzSKQnMqBfz/43kJiwYAzS99SHze9fRqfxiktJLHQ
 gj1A==
X-Gm-Message-State: AOAM530jYG7LcCRakxJaZfd++O3F4UsRxbI8kKMIU2z0Zf7fd5zxM3uM
 znXZx9jDjGZTvSJQShGiPgEQMg==
X-Google-Smtp-Source: ABdhPJyDB1AW+/1ra7sdg0Vs2ZS74zEPy9QaJqiCENstgAfCsezISJxvl6zvS0UrT/reaBodeWUfhw==
X-Received: by 2002:a62:178d:: with SMTP id 135mr16188415pfx.192.1597770607540; 
 Tue, 18 Aug 2020 10:10:07 -0700 (PDT)
Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])
 by smtp.gmail.com with ESMTPSA id h14sm25315783pfk.195.2020.08.18.10.10.06
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 18 Aug 2020 10:10:07 -0700 (PDT)
Date: Tue, 18 Aug 2020 10:09:59 -0700
From: Stephen Hemminger <stephen@networkplumber.org>
To: Sarosh Arif <sarosh.arif@emumba.com>
Cc: dev@dpdk.org, Thomas Monjalon <thomas@monjalon.net>
Message-ID: <20200818100959.00fa004e@hermes.lan>
In-Reply-To: <CABoZmYOPfcbw83zmYTT-ksETp-M+ebj4NG7-YE=5ZQzoOA4dRA@mail.gmail.com>
References: <CABoZmYOPfcbw83zmYTT-ksETp-M+ebj4NG7-YE=5ZQzoOA4dRA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [dpdk-dev] [RFC] usertools: Replace dpdk-setup with a python
 curses based script
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

On Tue, 18 Aug 2020 17:39:19 +0500
Sarosh Arif <sarosh.arif@emumba.com> wrote:

> dpdk-setup has been used for a long time in order to compile and
> configure dpdk along with running some basic applications. dpdk-setup
> uses the make build system to compile which is now deprecated. In addition
> to this it has been discussed on the mailing list a few times that
> dpdk-setup UI is quite old and it needs improvement along with
> addition of some other facilities. This had created a need for python
> curses based script that would provide similar functionality as
> dpdk-setup but with more options and better UI. The idea is almost similar
> to kernel's make menuconfig. The reason to select python curses is that it
> comes as a standard library with python. The script will use the meson bu=
ild
> system for compilation.
>=20
> Here is a link containing suggested UI:
> https://drive.google.com/file/d/18ngGpO_e-8FYNKjkKqS1IKQSrDDcXSO6/view?us=
p=3Dsharing
>=20
> The following options will be present in the Menu and Sub-Menu:
>=20
> Compile
>     Compile with gcc
>     Compile with icc
>     Compile with clang
>     Compile examples
> Cross compile
>     arm64_armada_linux_gcc
>     arm64_armv8_linux_gcc
>     arm64_bluefield_linux_gcc
>     arm64_dpaa_linux_gcc
>     arm64_emag_linux_gcc
>     arm64_n1sdp_linux_gcc
>     arm64_octeontx2_linux_gcc
>     arm64_stingray_linux_gcc
>     arm64_thunderx2_linux_gcc
>     Arm64_thunderx_linux_gcc
>     Ppc64le-power8-linux-gcc
>     cross-mingw
> Hugepages
>     Setup hugepage for non-NUMA
>     Setup hugepages for NUMA
>     Remove hugepage mappings
> Insert module
>     Setup VFIO permissions
>     VFIO
>     KNI
>     IBG UIO
> Remove module
>     VFIO
>     KNI
>     IBG UIO
> Bind and Unbind devices
>     Bind device to IGB UIO
>     Bind device to VFIO
>     Unbind devices from IGB UIO or VFIO driver
> Display
>     Hugepages info
>     Current device settings
> Run Applications
>     Test application =E2=86=92 prompt user to enter flags and possibly bu=
ild
> directory name. Also give a default options for flags
>     Testpmd application =E2=86=92 prompt user to enter flags and possibly
> build directory name. Also give a default options for flags
>=20
> In addition to this, the user will have the facility to provide any
> additional flags for compilation if he/she wishes to.

I would prefer a set of scripts that each do one thing.
Having a GUI is a lot of overhead to support.