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 69705A04DD; Tue, 20 Oct 2020 19:44:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D2B71A9F5; Tue, 20 Oct 2020 19:44:21 +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 A6E0DA9EE; Tue, 20 Oct 2020 19:44:19 +0200 (CEST) Received: by mail-lj1-f193.google.com with SMTP id a5so2929973ljj.11; Tue, 20 Oct 2020 10:44:19 -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=D445Ykyh+mgSqX9ttPpdwZZUU0QB529wDHgCz7gxFRA=; b=XubA5ZcWMsV6vuV2biBjr7+4pryxVaEJX7oBWSDUiGGh3n4FxO+CWW6U39Vz6yEASv tiWYksB66DjRiSqoFf514yA6xPPB0xiW7Uek42u1CPB8g3tjJHXjv1r9ALpbZoYGjoER Mc89pJ/cLAxKEo9ujqmbRA22oHoixULgs9aRKg+a96mC+Sn5TGerrFyTMog7whkRGl61 rlBERVNA+egEOXol2efdYHTH0PySg5KhV1zB3FJjKKj5aWQt74U3qlBGDpg3hi5uEVYO cNUtHSrvCGO3FdVxpCWPbMzuD95dWBONAtZRHY8L2EnVNemfwqS4CJMDtTwr8DQ6v4AI gMbw== 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=D445Ykyh+mgSqX9ttPpdwZZUU0QB529wDHgCz7gxFRA=; b=qPfOGM4rj6J7VVzbMxop4pDLxUGdrysNaTMaIlVqYg1lPEiiCQf3Q+Ohxbgg5s48G+ zpWK1xHjdZhGAh+2Eeji3PqzC6xOwQWnj4V8fORqSe0w+68xJRJF5sYqZo/GtuuChEu3 rzIrb/LdMqtywyBkrMmZgJwIyG7Zejo7BHHr96ll1zDdAv3OemNBvvjoLlZm2Gj+3nEh 5ZcK4GpljFLUOyhygKOYYw/cEvWAMNem2+yVRJ2n+4Pvlscfp73/7HnqlUBAzNt2tyM6 tpA6Uu5vAbY96HE8GmpxrqI86+HJla3XI11zWNaViqfqOM5JK6zctt4mHihqjoS250fi wIsg== X-Gm-Message-State: AOAM530m+fWeST/bCe7Qd+8GgMyKdKpSmNDNRLbdRDDbOXTX2bwS6MG1 TSOaAb4WcjC1QnVW9cKrxhR2MeaK3X+kyQ== X-Google-Smtp-Source: ABdhPJwzdXoqFp4ot2sLud5eL8mUUAtv6pHmK1WtJitKv+qwhPXSwC4XTCsWLKZtfpwygXEIPic1Cw== X-Received: by 2002:a2e:9bd2:: with SMTP id w18mr1639627ljj.186.1603215857672; Tue, 20 Oct 2020 10:44:17 -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 z11sm498729ljk.7.2020.10.20.10.44.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 10:44:16 -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: Tue, 20 Oct 2020 20:44:00 +0300 Message-Id: <20201020174404.28653-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201014183136.22239-1-dmitry.kozliuk@gmail.com> References: <20201014183136.22239-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v8 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 v8: * Fix syntax for meson 0.47.1 (CI). * Disable configure-time check for pyelftools for Windows (CI). 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