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 02D2EA034C; Tue, 18 Aug 2020 14:39:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 548452BE3; Tue, 18 Aug 2020 14:39:58 +0200 (CEST) Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) by dpdk.org (Postfix) with ESMTP id C81112B91 for ; Tue, 18 Aug 2020 14:39:56 +0200 (CEST) Received: by mail-oi1-f181.google.com with SMTP id l204so17763811oib.3 for ; Tue, 18 Aug 2020 05:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emumba-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=kof+dUX+NWGKVdKPGRWa+wNmgGZqe6jUwaqAuGLwwok=; b=i8t+hI1qklM9kcF91YzjU4J8+MXwU67agjBYThBtZql1M3m5h/IOkppEAA35AItA53 L0VfBiUT3zb4JIBnso9OED2vsA1d0vAnxsVxLqTOnXj6cvjcVh7IthJtT9X53Glu7kk1 R9CRUe4+Vd969UKk6N84zM/jZ6G3Idn0Z7oS+pORi65TWxU2eq3GohrOX0CLLj3R9GXg zyG/SvGA1k+vVNOSs9A5V4fMwzfnI0XNOdxE2UwJ/RKqzVS74jghua3rgGpXeAc2XeLo UTSJJC4cYvoeZQTXx5t72tEDMblcCgnRLafYlpw0YYeHepeg7Jhy9HSHTgNuxiTPPElW D+iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=kof+dUX+NWGKVdKPGRWa+wNmgGZqe6jUwaqAuGLwwok=; b=WctW8Q8lzXIEF9KqOsS8cCMKaDfuO0Z+jeDkXni0wUooqob0hQBnnfXSeSXAIcGefa jHy3Z8roNixkQ4uYn/KPOmfRSIbdtXF9ZaCELtflEXo/pwPPdawn7ozOomEjmV8hOlZR wE1YuizBBLzQNXB8UtpGS+N6Cq0MIV72ZqHm8Grg40C9yXeHQA0t6/X6qn72r/wY8dj1 qvpbFaAm+2ztFlU4cJs7a8w94Zk3EnY4jXOOfSJo8FvlunveOsbNnk/C1hjEWWRJCw5d 7d9nNunTvNsul5obpafKHVx/df0EtXCoRw2PkG6Qa0Mt/HmsbegrWCfdhmMzTFO23uC1 2msg== X-Gm-Message-State: AOAM531823X23LThvP1y1/QSk2haMntfXCda8XkGqeQHGUQBXMg3veRh JVADqgGfufTu7e/krXHl/cJP132rLwgKjDwIULzlkbicgbSh6g== X-Google-Smtp-Source: ABdhPJw4MD2DfihN7Cb/65N1j8iRtAxpLw0J1PCM514kz1kfqdb8F2MlHeJLcHALwwc2a0oDhbOe76z1isn65mOescQ= X-Received: by 2002:a05:6808:c6:: with SMTP id t6mr12720385oic.49.1597754395799; Tue, 18 Aug 2020 05:39:55 -0700 (PDT) MIME-Version: 1.0 From: Sarosh Arif Date: Tue, 18 Aug 2020 17:39:19 +0500 Message-ID: To: dev@dpdk.org Cc: Stephen Hemminger , Thomas Monjalon Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: [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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 buil= d system for compilation. Here is a link containing suggested UI: https://drive.google.com/file/d/18ngGpO_e-8FYNKjkKqS1IKQSrDDcXSO6/view?usp= =3Dsharing The following options will be present in the Menu and Sub-Menu: 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 buil= d 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 In addition to this, the user will have the facility to provide any additional flags for compilation if he/she wishes to.