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 02684A04B7; Sun, 4 Oct 2020 04:00:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CF2DB1BF6D; Sun, 4 Oct 2020 03:59:59 +0200 (CEST) Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) by dpdk.org (Postfix) with ESMTP id EA1321BCE8; Sun, 4 Oct 2020 03:59:56 +0200 (CEST) Received: by mail-lj1-f194.google.com with SMTP id n25so4293335ljj.4; Sat, 03 Oct 2020 18:59:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yTqgJdMam8WdA3UkiANxTmTr4CMQXQvKZI1ZUUGt7fM=; b=iuZZHz1rBzweZXhJHlQ3TxzTgot6pxII/tqu6H2GJlJ3W8s/bwG2Z23AVEBRFVTYHT 5diA+o6deVqCYVUIFvoUE5Osd0KYqqljhnnwhIn7Tg8uriLCvw6NOyOAK91WE1fQUj/6 TbXpLN2FZNv/HHSwtdraz3gJRrFW09w224zcnTYTkOH17iVWY0S7JMkD7IMb/ynyBhk5 SYGibEBR6QNUGXjHNhE48fbcLiEZUwsOB5Xd5i5fILTSHlOGT4RdNqg6NvQIDjZWN2S7 12tCPmlYmAGW8BeAPsdtQ3UWbBINUBAPdhc/hyW+IqEOe9FC/fzKFUSzHClQsjpr6Cgy 6RAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yTqgJdMam8WdA3UkiANxTmTr4CMQXQvKZI1ZUUGt7fM=; b=HlKUrjvhuoNMYMK+wxlYjMsrH2fg+++bLsU2aMpMQJUKAMMwPAWh+R9aL1a38z2N1s NYdpnmFQTeiArE5+L4mVTFeE3s+sHjpBOCEmgfoEyN7OdscV4F6Ad9K+mBxUmuCrOdqV s84JCTt6nFSiFwhXOaMxgIRmWpshsottlArHxzs5JjT16fn18ayCwFKAZTYsXugsK1Fc jcTCE+nn/UyGgRh2+HRojbrU+DXf8WCHO+KKI4yoSWwFsSpExFkKgulm+Mvf/9gC/aDL 3wjqNAm+HFts1MZGUn9e0tOEMpU6aBLY812iRStDEuE0ChCGsiIBKO78DHcfccBuYxhJ XHEw== X-Gm-Message-State: AOAM533zXHNfVj2X5uCtGhvNbASvXgwpHLUuCNHJTwWu8kyeQWIvUTJ1 fRSVHLmBP/Q8fUSEzoQSSHV/MXeIpcOVZg== X-Google-Smtp-Source: ABdhPJykshbIbnp8aOurlWwh/Em+gfV/Bz8m1WZE/Q8nPVkE2U85JmNbF5wQ6MS8bPLMMnC7IDY6lg== X-Received: by 2002:a05:651c:1af:: with SMTP id c15mr2450139ljn.347.1601776795091; Sat, 03 Oct 2020 18:59:55 -0700 (PDT) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id n18sm2117708lfe.7.2020.10.03.18.59.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Oct 2020 18:59:54 -0700 (PDT) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: ci@dpdk.org, Stephen Hemminger , David Marchand , Thomas Monjalon , Dmitry Kozlyuk , Neil Horman Date: Sun, 4 Oct 2020 04:59:44 +0300 Message-Id: <20201004015947.9012-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200927214732.12783-1-dmitry.kozliuk@gmail.com> References: <20200927214732.12783-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v6 0/3] pmdinfogen: rewrite in Python 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" This patchset implements existing pmdinfogen logic in Python, replaces and removes the old code. The goals of rewriting are: * easier maintenance by using a more high-level language, * simpler build process without host application and libelf, * foundation for adding Windows support. Travis CI script is adjusted to install python3-pyelftools, but other CI systems may need similar tweaking. Particularly, testing on FreeBSD and big-endian targets is desired. Acked-by: Neil Horman --- Changes in v6: 1. Address yapf and pylint warnings (Stephen Hemminger). 2. Add myself as new implementation maintainer (Thomas Monjalon). Dmitry Kozlyuk (3): pmdinfogen: add Python implementation build: use Python pmdinfogen pmdinfogen: remove C implementation .travis.yml | 2 +- MAINTAINERS | 3 +- buildtools/gen-pmdinfo-cfile.sh | 6 +- buildtools/meson.build | 1 + buildtools/pmdinfogen.py | 189 ++++++++++++ buildtools/pmdinfogen/meson.build | 14 - buildtools/pmdinfogen/pmdinfogen.c | 456 ----------------------------- buildtools/pmdinfogen/pmdinfogen.h | 119 -------- doc/guides/linux_gsg/sys_reqs.rst | 6 + drivers/meson.build | 2 +- meson.build | 1 - 11 files changed, 203 insertions(+), 596 deletions(-) create mode 100755 buildtools/pmdinfogen.py delete mode 100644 buildtools/pmdinfogen/meson.build delete mode 100644 buildtools/pmdinfogen/pmdinfogen.c delete mode 100644 buildtools/pmdinfogen/pmdinfogen.h -- 2.28.0