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 EA606A04DB; Wed, 14 Oct 2020 20:31:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7981A1DB13; Wed, 14 Oct 2020 20:31:47 +0200 (CEST) Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by dpdk.org (Postfix) with ESMTP id 948791BA6F; Wed, 14 Oct 2020 20:31:45 +0200 (CEST) Received: by mail-lj1-f193.google.com with SMTP id c21so525699ljj.0; Wed, 14 Oct 2020 11:31:45 -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=TcymtE/zVyi2Cg9htn56FwSPHT2uxeO8dPVM92Rsdjw=; b=YQHDP07lg9g605TX4zbTI4aMqI0Y3ZMz6vTRmbDg7EuUwwSA85rU2vghE1T8FYqzIw J7esBG33KtTTLHy0EWKObWglN7u0u+zUSNPfOMHJeSEZiNEB5IRF/Pko3qvQK19yujGb olBqCogNXRzdiuCeEgeAWUNjEfMpq67FmFN3a6K+A/Kpd5KQkESPZ/52dIay7MKjUvYV sS78qejXaOo4iJMONK5JkGx3GNLGGK8tWLikPRPvxtNCMtxE+qkL05BEbvQAjyjFkTOa mcbiKerbeC9IQ67cXFlgZhbZVgb7Zic8atONC7Zr8RyM/YwpuopmlKvOJLmaJpfpYRtz 81+A== 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=TcymtE/zVyi2Cg9htn56FwSPHT2uxeO8dPVM92Rsdjw=; b=T/U/jD+xaT8HtgXuLs9i4JiHEQZB2bnkITvvruKawLRF05ZkrNJq6xGehQWNeiwPWZ B2boqjjYx3AAD9Dpc1RdF1RBnNgd1XZGeXj29leZHqxAV3xKXDrdzXa7CcsnqsQAhqN7 FmXIeH6rByh8qVeXtv8CyViNMDjmsB6uFPHuyWjEiMzf2gW5wZF/PADuN2fjCaHanwY2 0IZx5iNw4rcz47ZBqU3ps/7LSW52gORn1VjhGn7aFctYsOQWLS4M3aHevb7XbyiYPv0J Q1Z2QQoe0pVGszN7Q+BRn7AyVTWj6qTLFGJCYUzFXK8VAQbanRNnlXYSsf/VK2hLpYXl YYJg== X-Gm-Message-State: AOAM533EwZwhgT7Mw5lPoNI1uMfhuDh2tN5wxP53mxBL0Unszofmut9P rQ8t5O9f0deQzStUWrEtWmi7FmXrnLvFbg== X-Google-Smtp-Source: ABdhPJyvfiwcpNOZH7X92Sw5nAuxcI1gQc0dsRB26m8SuDxVDiZK3PWf70jjdJw9D5/Uu+CItdJIXQ== X-Received: by 2002:a2e:b169:: with SMTP id a9mr18463ljm.84.1602700303725; Wed, 14 Oct 2020 11:31:43 -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 d21sm32942lfl.62.2020.10.14.11.31.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 11:31:43 -0700 (PDT) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: ci@dpdk.org, Stephen Hemminger , David Marchand , Thomas Monjalon , Maxime Coquelin , Dmitry Kozlyuk , Neil Horman Date: Wed, 14 Oct 2020 21:31:33 +0300 Message-Id: <20201014183136.22239-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201004015947.9012-1-dmitry.kozliuk@gmail.com> References: <20201004015947.9012-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v7 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 v7: Add configure-time check for elftools module (Maxime Coquelin). 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 | 15 + 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, 217 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